Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001751/0.001751, allocations: 115 kB / 18.46 MB, free: 4.621 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.002079/0.002079, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.523/1.523, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2488/0.2488, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 0.4921 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.004106/0.1639, allocations: 1.68 MB / 0.5582 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1653, allocations: 0.5883 MB / 0.5588 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1654, allocations: 4 kB / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1658, allocations: 47.8 kB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.1662, allocations: 87.61 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.1668, allocations: 187 kB / 0.5591 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.167, allocations: 79.83 kB / 0.5591 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1672, allocations: 20.16 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.956e-05/0.1673, allocations: 35.84 kB / 0.5592 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1674, allocations: 47.77 kB / 0.5592 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1674, allocations: 4 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1676, allocations: 51.97 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.1677, allocations: 27.92 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.1677, allocations: 35.73 kB / 0.5594 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.168, allocations: 111.5 kB / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.168, allocations: 0 / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.168, allocations: 0 / 0.5595 GB, free: 2.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.168, allocations: 0 / 0.5595 GB, free: 2.316 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006993/0.1687, allocations: 418.7 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1688, allocations: 8.031 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.1688, allocations: 8.891 kB / 0.5599 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.1691, allocations: 203.4 kB / 0.5601 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1691, allocations: 8.375 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.1691, allocations: 4.375 kB / 0.5601 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1693, allocations: 73.67 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1694, allocations: 0 / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1694, allocations: 0 / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1694, allocations: 4 kB / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1695, allocations: 43.95 kB / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.1701, allocations: 328.6 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1704, allocations: 58.55 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.1705, allocations: 24.97 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1705, allocations: 0 / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.1706, allocations: 46.55 kB / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1706, allocations: 0 / 0.5606 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001659/0.1722, allocations: 421 kB / 0.561 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.1723, allocations: 59.34 kB / 0.5611 GB, free: 476 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1725, allocations: 178.2 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1725, allocations: 29.7 kB / 0.5613 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.1726, allocations: 104 kB / 0.5614 GB, free: 140 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.1727, allocations: 39.69 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.1727, allocations: 25.7 kB / 0.5615 GB, free: 68 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1729, allocations: 322.8 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.173, allocations: 55.95 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1732, allocations: 56.02 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.1735, allocations: 128.7 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1735, allocations: 0 / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003759/0.1738, allocations: 165.5 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.1739, allocations: 10.03 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1739, allocations: 0 / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.1739, allocations: 0 / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.174, allocations: 31.91 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1741, allocations: 4 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.1741, allocations: 7.984 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.1741, allocations: 11.92 kB / 0.5622 GB, free: 15.27 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 (11): * Single equations (assignments): 11 * 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.0001502/0.1743, allocations: 128 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.1743, allocations: 19.91 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.1748, allocations: 182.9 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1748, allocations: 7.938 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1748, allocations: 0 / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1749, allocations: 0 / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008397/0.1757, allocations: 0.5077 MB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1757, allocations: 0 / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1758, allocations: 27.97 kB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1758, allocations: 4 kB / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1758, allocations: 0 / 0.5631 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.1758, allocations: 7.938 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1758, allocations: 64 / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.1763, allocations: 277 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/0.1764, allocations: 89.02 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1764, allocations: 4 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.1765, allocations: 15.98 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.1765, allocations: 7.984 kB / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.1766, allocations: 4 kB / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1767, allocations: 138.4 kB / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1767, allocations: 0 / 0.5636 GB, free: 13.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000288/0.177, allocations: 31.92 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001888/0.1789, allocations: 461.4 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.1793, allocations: 123.8 kB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1793, allocations: 4 kB / 0.5642 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1794, allocations: 67.83 kB / 0.5642 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1798, allocations: 24.86 kB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006895/0.1805, allocations: 329.8 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1809, allocations: 0.7196 MB / 0.5653 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.1809, allocations: 19.42 kB / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1809, allocations: 0 / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of Templates: time 0.004537/0.1854, allocations: 2.041 MB / 0.5673 GB, free: 10.07 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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: 7.8910475189914]