Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001421/0.001421, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 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.001586/0.001586, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.634/1.634, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.256/0.256, allocations: 46.92 MB / 357.1 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.91 kB / 0.4914 GB, free: 7.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1612, allocations: 66 MB / 0.5559 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003531/0.1647, allocations: 1.616 MB / 0.5574 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1659, allocations: 0.5705 MB / 0.558 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.1659, allocations: 4 kB / 0.558 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.1666, allocations: 455.1 kB / 0.5584 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.1671, allocations: 299.3 kB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.1676, allocations: 166.7 kB / 0.5589 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.1678, allocations: 175.6 kB / 0.5591 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1679, allocations: 12 kB / 0.5591 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1681, allocations: 115.7 kB / 0.5592 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.1684, allocations: 251.5 kB / 0.5594 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1684, allocations: 4 kB / 0.5594 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.1685, allocations: 23.98 kB / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.1686, allocations: 83.69 kB / 0.5595 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1687, allocations: 103 kB / 0.5596 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.169, allocations: 254.6 kB / 0.5599 GB, free: 1.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.169, allocations: 0 / 0.5599 GB, free: 1.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.169, allocations: 0 / 0.5599 GB, free: 1.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1691, allocations: 4 kB / 0.5599 GB, free: 1.305 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009245/0.17, allocations: 0.6569 MB / 0.5605 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.17, allocations: 12.03 kB / 0.5605 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/0.1701, allocations: 44.61 kB / 0.5606 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.1704, allocations: 300.6 kB / 0.5608 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1704, allocations: 4.312 kB / 0.5609 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.1705, allocations: 4.375 kB / 0.5609 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1707, allocations: 57.8 kB / 0.5609 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1707, allocations: 3.938 kB / 0.5609 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1707, allocations: 3.984 kB / 0.5609 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1707, allocations: 7.938 kB / 0.5609 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1708, allocations: 35.97 kB / 0.561 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.1714, allocations: 388.8 kB / 0.5613 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1716, allocations: 42.56 kB / 0.5614 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.1716, allocations: 28.92 kB / 0.5614 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1717, allocations: 11.92 kB / 0.5614 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1717, allocations: 34.56 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1717, allocations: 0 / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003799/0.1721, allocations: 125.4 kB / 0.5616 GB, free: 15.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1721, allocations: 55.41 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.173, allocations: 0.8653 MB / 0.5625 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.173, allocations: 25.7 kB / 0.5625 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1732, allocations: 216.1 kB / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.1732, allocations: 11.91 kB / 0.5627 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.1733, allocations: 13.72 kB / 0.5627 GB, free: 14.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1734, allocations: 370.7 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.1735, allocations: 15.98 kB / 0.5631 GB, free: 13.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.1736, allocations: 23.92 kB / 0.5631 GB, free: 13.76 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1737, allocations: 44.83 kB / 0.5632 GB, free: 13.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1737, allocations: 0 / 0.5632 GB, free: 13.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002248/0.174, allocations: 113.4 kB / 0.5633 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.174, allocations: 4 kB / 0.5633 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.174, allocations: 4 kB / 0.5633 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.174, allocations: 0 / 0.5633 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.1741, allocations: 7.984 kB / 0.5633 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1741, allocations: 8 kB / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.1741, allocations: 0 / 0.5633 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1741, allocations: 4 kB / 0.5633 GB, free: 13.57 MB / 430.1 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 (3): * Single equations (assignments): 3 * 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 0.0002038/0.1744, allocations: 223.8 kB / 0.5635 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.1744, allocations: 39.72 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.1747, allocations: 125 kB / 0.5637 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1747, allocations: 7.938 kB / 0.5637 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1747, allocations: 0 / 0.5637 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1747, allocations: 0 / 0.5637 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.175, allocations: 297.4 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.175, allocations: 0 / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.1751, allocations: 8 kB / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1751, allocations: 0 / 0.564 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1751, allocations: 7.984 kB / 0.564 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1751, allocations: 0 / 0.564 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1751, allocations: 0 / 0.564 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.1755, allocations: 223.1 kB / 0.5642 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.1756, allocations: 113.2 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1756, allocations: 0 / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.1757, allocations: 4 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.1757, allocations: 3.984 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1757, allocations: 4 kB / 0.5643 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.1764, allocations: 0.6511 MB / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1764, allocations: 4 kB / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1766, allocations: 16 kB / 0.5649 GB, free: 11.76 MB / 430.1 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 (3): * Single equations (assignments): 3 * 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.001341/0.178, allocations: 359.2 kB / 0.5653 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1782, allocations: 55.83 kB / 0.5653 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1782, allocations: 3.938 kB / 0.5653 GB, free: 11.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.1783, allocations: 19.98 kB / 0.5654 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1786, allocations: 27.41 kB / 0.5654 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1799, allocations: 0.7945 MB / 0.5662 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.1804, allocations: 0.8322 MB / 0.567 GB, free: 9.758 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.511e-05/0.1805, allocations: 15.73 kB / 0.567 GB, free: 9.742 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1805, allocations: 11.44 kB / 0.567 GB, free: 9.73 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1805, allocations: 0 / 0.567 GB, free: 9.73 MB / 430.1 MB Notification: Performance of Templates: time 0.005264/0.1857, allocations: 1.307 MB / 0.5683 GB, free: 8.426 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.443000823259354]