Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001618/0.001618, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002/0.002, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.552/1.552, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2522/0.2522, allocations: 46.92 MB / 357.8 MB, free: 10.28 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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.89 kB / 0.4921 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1552, allocations: 65.99 MB / 0.5565 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003822/0.159, allocations: 2.116 MB / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1613, allocations: 1.301 MB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1614, allocations: 4 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1616, allocations: 55.52 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.1621, allocations: 211 kB / 0.5601 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1631, allocations: 458.1 kB / 0.5606 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.1636, allocations: 331 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1637, allocations: 52.72 kB / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.164, allocations: 151.3 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1643, allocations: 223.1 kB / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.1643, allocations: 12 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1644, allocations: 67.98 kB / 0.5614 GB, free: 348 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1646, allocations: 135.6 kB / 0.5615 GB, free: 212 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.1648, allocations: 182.5 kB / 0.5617 GB, free: 28 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.1653, allocations: 413.9 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1653, allocations: 0 / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1653, allocations: 0 / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1653, allocations: 4 kB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001112/0.1664, allocations: 0.8257 MB / 0.5629 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1664, allocations: 9.109 kB / 0.5629 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.1669, allocations: 92.52 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.1676, allocations: 485 kB / 0.5634 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1676, allocations: 8.375 kB / 0.5634 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1676, allocations: 16.12 kB / 0.5634 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.1679, allocations: 139.3 kB / 0.5636 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.168, allocations: 11.88 kB / 0.5636 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.168, allocations: 4 kB / 0.5636 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.168, allocations: 4 kB / 0.5636 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.1683, allocations: 99.92 kB / 0.5637 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.1692, allocations: 0.6762 MB / 0.5644 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.1695, allocations: 117.2 kB / 0.5645 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1697, allocations: 53.81 kB / 0.5645 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1697, allocations: 4.219 kB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1697, allocations: 42.55 kB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1697, allocations: 3.938 kB / 0.5646 GB, free: 12.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002063/0.1718, allocations: 0.6984 MB / 0.5652 GB, free: 12.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.1719, allocations: 77.2 kB / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.1729, allocations: 0.9062 MB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1729, allocations: 29.7 kB / 0.5662 GB, free: 11.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.1732, allocations: 260.4 kB / 0.5665 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.889e-05/0.1732, allocations: 71.36 kB / 0.5666 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.1733, allocations: 37.7 kB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.1735, allocations: 382.7 kB / 0.567 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.1738, allocations: 83.94 kB / 0.567 GB, free: 10.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.1741, allocations: 113.6 kB / 0.5671 GB, free: 10.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.1746, allocations: 209.5 kB / 0.5673 GB, free: 9.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1746, allocations: 0 / 0.5673 GB, free: 9.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007076/0.1753, allocations: 305.1 kB / 0.5676 GB, free: 9.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1754, allocations: 4.094 kB / 0.5676 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.1754, allocations: 3.938 kB / 0.5676 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1754, allocations: 4 kB / 0.5676 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.1757, allocations: 55.89 kB / 0.5677 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1757, allocations: 4 kB / 0.5677 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.1759, allocations: 23.97 kB / 0.5677 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1759, allocations: 8 kB / 0.5677 GB, free: 9.531 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002263/0.1761, allocations: 211.9 kB / 0.5679 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1762, allocations: 63.58 kB / 0.568 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/0.177, allocations: 347 kB / 0.5683 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.177, allocations: 4 kB / 0.5683 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1771, allocations: 4 kB / 0.5683 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1771, allocations: 0 / 0.5683 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.1785, allocations: 0.8839 MB / 0.5692 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1785, allocations: 0 / 0.5692 GB, free: 7.957 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1787, allocations: 59.89 kB / 0.5693 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1787, allocations: 3.938 kB / 0.5693 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1787, allocations: 7.984 kB / 0.5693 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1787, allocations: 3.938 kB / 0.5693 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1787, allocations: 384 / 0.5693 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/0.1795, allocations: 487.3 kB / 0.5697 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1797, allocations: 144.7 kB / 0.5699 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.1797, allocations: 12 kB / 0.5699 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.18, allocations: 23.92 kB / 0.5699 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.18, allocations: 15.97 kB / 0.5699 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1801, allocations: 11.98 kB / 0.5699 GB, free: 7.168 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007319/0.1808, allocations: 0.6513 MB / 0.5706 GB, free: 6.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1808, allocations: 0 / 0.5706 GB, free: 6.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.1812, allocations: 67.92 kB / 0.5706 GB, free: 6.457 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001512/0.1827, allocations: 418.3 kB / 0.571 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.1833, allocations: 211.7 kB / 0.5712 GB, free: 5.992 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1833, allocations: 0 / 0.5712 GB, free: 5.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.1836, allocations: 115.9 kB / 0.5713 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.1842, allocations: 74 kB / 0.5714 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1858, allocations: 0.9828 MB / 0.5724 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.1863, allocations: 0.8686 MB / 0.5732 GB, free: 3.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.1864, allocations: 47.41 kB / 0.5733 GB, free: 3.844 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1864, allocations: 0 / 0.5733 GB, free: 3.844 MB / 430.1 MB Notification: Performance of Templates: time 0.009973/0.1964, allocations: 6.073 MB / 0.5792 GB, free: 13.79 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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: 8.35293085401645]