Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001713/0.001713, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002112/0.002112, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.612/1.612, allocations: 230.6 MB / 254.1 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.2658/0.2658, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 63.91 kB / 0.4915 GB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1682, allocations: 66 MB / 0.556 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004059/0.1723, allocations: 1.924 MB / 0.5578 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1746, allocations: 1.132 MB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1747, allocations: 7.938 kB / 0.5589 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.1753, allocations: 163.5 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.1758, allocations: 187.3 kB / 0.5593 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.1762, allocations: 111.6 kB / 0.5594 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.1766, allocations: 247.3 kB / 0.5596 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.1767, allocations: 21.67 kB / 0.5596 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.177, allocations: 119.5 kB / 0.5598 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.1772, allocations: 143.5 kB / 0.5599 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.1772, allocations: 8 kB / 0.5599 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1774, allocations: 67.91 kB / 0.56 GB, free: 1.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1775, allocations: 51.77 kB / 0.56 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1776, allocations: 91.34 kB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.178, allocations: 223 kB / 0.5603 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.178, allocations: 0 / 0.5603 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.178, allocations: 0 / 0.5603 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.178, allocations: 0 / 0.5603 GB, free: 0.7383 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001012/0.179, allocations: 0.5523 MB / 0.5609 GB, free: 140 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.179, allocations: 8.031 kB / 0.5609 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.1791, allocations: 28.75 kB / 0.5609 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.1796, allocations: 275.8 kB / 0.5612 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1796, allocations: 8.375 kB / 0.5612 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.1796, allocations: 16 kB / 0.5612 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.1799, allocations: 107.3 kB / 0.5613 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1799, allocations: 8 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.18, allocations: 4 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.18, allocations: 0 / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1801, allocations: 51.95 kB / 0.5613 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.1808, allocations: 472.7 kB / 0.5618 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.1812, allocations: 113.2 kB / 0.5619 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1813, allocations: 45.81 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1814, allocations: 4 kB / 0.5619 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.1817, allocations: 121 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.1817, allocations: 0 / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001462/0.1832, allocations: 0.4899 MB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.982e-05/0.1833, allocations: 77.11 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.1838, allocations: 375.3 kB / 0.563 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.1838, allocations: 33.7 kB / 0.563 GB, free: 13.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1839, allocations: 144.5 kB / 0.5631 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.184, allocations: 79.38 kB / 0.5632 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.1841, allocations: 41.7 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.1843, allocations: 342.8 kB / 0.5636 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.1844, allocations: 55.98 kB / 0.5636 GB, free: 13.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1846, allocations: 105.5 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1849, allocations: 155.5 kB / 0.5639 GB, free: 12.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1849, allocations: 0 / 0.5639 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004389/0.1853, allocations: 229.3 kB / 0.5641 GB, free: 12.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1854, allocations: 7.938 kB / 0.5641 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1854, allocations: 8.062 kB / 0.5641 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1854, allocations: 0 / 0.5641 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1855, allocations: 51.86 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1856, allocations: 0 / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.1856, allocations: 7.984 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.1857, allocations: 12 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002454/0.1859, allocations: 161.7 kB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.186, allocations: 39.73 kB / 0.5644 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.1861, allocations: 41.83 kB / 0.5644 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1861, allocations: 4 kB / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1861, allocations: 0 / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1861, allocations: 0 / 0.5644 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1872, allocations: 0.7118 MB / 0.5651 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1872, allocations: 4.031 kB / 0.5651 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.1873, allocations: 35.92 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1873, allocations: 4 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1873, allocations: 7.984 kB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1873, allocations: 4.234 kB / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1873, allocations: 0 / 0.5652 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.1879, allocations: 423.9 kB / 0.5656 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.188, allocations: 104.9 kB / 0.5657 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.1881, allocations: 4 kB / 0.5657 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1882, allocations: 11.98 kB / 0.5657 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.1883, allocations: 31.86 kB / 0.5657 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.1883, allocations: 8 kB / 0.5657 GB, free: 10.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000324/0.1886, allocations: 277.9 kB / 0.566 GB, free: 10.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1886, allocations: 0 / 0.566 GB, free: 10.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003644/0.189, allocations: 47.94 kB / 0.566 GB, free: 10.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002097/0.1911, allocations: 0.5192 MB / 0.5665 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004277/0.1915, allocations: 152 kB / 0.5667 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1915, allocations: 3.938 kB / 0.5667 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.1917, allocations: 71.84 kB / 0.5668 GB, free: 9.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.1923, allocations: 62.28 kB / 0.5668 GB, free: 9.863 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.1933, allocations: 0.5122 MB / 0.5673 GB, free: 9.309 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.1939, allocations: 0.7597 MB / 0.5681 GB, free: 8.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.194, allocations: 41.92 kB / 0.5681 GB, free: 8.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.1941, allocations: 31.42 kB / 0.5681 GB, free: 8.449 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1941, allocations: 0 / 0.5681 GB, free: 8.449 MB / 430.1 MB Notification: Performance of Templates: time 0.008262/0.2023, allocations: 3.169 MB / 0.5712 GB, free: 5.312 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.48120254650712]