Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9207/0.9207, allocations: 158.6 MB / 186 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1741/0.1741, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.189e-05, allocations: 8.219 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.005322/0.005344, allocations: 1.626 MB / 349.8 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005209/0.005864, allocations: 331.3 kB / 350.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.005918, allocations: 0 / 350.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.006378, allocations: 447.1 kB / 350.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.006663, allocations: 251.4 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.00691, allocations: 111.7 kB / 350.9 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.007111, allocations: 159.6 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.00722, allocations: 20.16 kB / 351.1 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.007351, allocations: 111.8 kB / 351.2 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.007562, allocations: 239.6 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.007583, allocations: 4 kB / 351.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.007663, allocations: 31.98 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003114/0.01078, allocations: 75.72 kB / 351.5 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.01082, allocations: 39.73 kB / 351.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.01104, allocations: 195.1 kB / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01104, allocations: 0 / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01105, allocations: 0 / 351.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.01105, allocations: 3.938 kB / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004752/0.01152, allocations: 0.6815 MB / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.01156, allocations: 8.031 kB / 352.4 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.01161, allocations: 52.66 kB / 352.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.01178, allocations: 248.8 kB / 352.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.01179, allocations: 384 / 352.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.01181, allocations: 4.375 kB / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.0119, allocations: 54.95 kB / 352.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.01191, allocations: 192 / 352.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.01191, allocations: 3.938 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.01192, allocations: 3.938 kB / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.01194, allocations: 11.98 kB / 352.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.01224, allocations: 332.3 kB / 353.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.01237, allocations: 50.97 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.01239, allocations: 15.62 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.0124, allocations: 0 / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.01242, allocations: 41.39 kB / 353.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.01242, allocations: 0 / 353.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002959/0.01272, allocations: 125.3 kB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.01274, allocations: 51.41 kB / 353.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.01311, allocations: 0.5962 MB / 354 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.01311, allocations: 25.7 kB / 354 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01325, allocations: 298.7 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.01327, allocations: 23.84 kB / 354.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.0133, allocations: 19.38 kB / 354.4 MB, free: 2.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.0134, allocations: 0.5586 MB / 354.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.01341, allocations: 4 kB / 354.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.01343, allocations: 4 kB / 354.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.01346, allocations: 19.69 kB / 355 MB, free: 2.133 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01346, allocations: 7.875 kB / 355 MB, free: 2.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.078e-05/0.01355, allocations: 89.41 kB / 355 MB, free: 2.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.01356, allocations: 4 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01357, allocations: 0 / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01358, allocations: 0 / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.01363, allocations: 19.98 kB / 355.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.01364, allocations: 0 / 355.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.01367, allocations: 0 / 355.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.01368, allocations: 4 kB / 355.1 MB, free: 2.004 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.01374, allocations: 160.5 kB / 355.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.01378, allocations: 43.72 kB / 355.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.01391, allocations: 97.05 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01391, allocations: 0 / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.01392, allocations: 320 / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01392, allocations: 4 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.0142, allocations: 389.9 kB / 355.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0142, allocations: 3.938 kB / 355.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.01423, allocations: 8 kB / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01423, allocations: 0 / 355.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.01424, allocations: 7.984 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01424, allocations: 4 kB / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01424, allocations: 0 / 355.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.01434, allocations: 235.6 kB / 356 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.01437, allocations: 31.77 kB / 356 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01439, allocations: 0 / 356 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.626e-05/0.01444, allocations: 7.938 kB / 356 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.01447, allocations: 11.98 kB / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.01448, allocations: 0 / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.01467, allocations: 386.7 kB / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01467, allocations: 3.938 kB / 356.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.0149, allocations: 23.94 kB / 356.5 MB, free: 0.5469 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008515/0.01575, allocations: 385 kB / 356.8 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.189e-05/0.01582, allocations: 27.67 kB / 356.9 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01582, allocations: 0 / 356.9 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.01585, allocations: 23.61 kB / 356.9 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.01614, allocations: 31.11 kB / 356.9 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.01983, allocations: 0.5668 MB / 357.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.01993, allocations: 119.3 kB / 357.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.953e-05/0.01997, allocations: 15.98 kB / 357.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.02003, allocations: 74.2 kB / 357.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02003, allocations: 0 / 357.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of Templates: time 0.004667/0.0247, allocations: 1.463 MB / 359.2 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0844411770813167]