Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009122/0.009122, allocations: 101 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 193.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4239/0.4239, allocations: 43.49 MB / 313.5 MB, free: 8.262 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.89 kB / 382 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1616, allocations: 57.78 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003786/0.1654, allocations: 1.756 MB / 441.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.1679, allocations: 1.375 MB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.168, allocations: 3.938 kB / 443 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.1684, allocations: 35.89 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1687, allocations: 47.84 kB / 443 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.169, allocations: 71.84 kB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1693, allocations: 99.69 kB / 443.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1694, allocations: 8.219 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1695, allocations: 35.8 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1698, allocations: 47.77 kB / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1698, allocations: 0 / 443.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.17, allocations: 63.95 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/0.1701, allocations: 4 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.1701, allocations: 31.8 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1705, allocations: 123.8 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1705, allocations: 7.984 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.039e-05/0.1705, allocations: 4 kB / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1705, allocations: 0 / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007537/0.1713, allocations: 395.1 kB / 443.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.1713, allocations: 12.03 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1714, allocations: 8.844 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1717, allocations: 212.1 kB / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1718, allocations: 384 / 444.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1718, allocations: 16.06 kB / 444.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.172, allocations: 75.33 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1721, allocations: 0 / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.1721, allocations: 3.984 kB / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1721, allocations: 0 / 444.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.1722, allocations: 19.98 kB / 444.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.1727, allocations: 280.8 kB / 444.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1729, allocations: 58.61 kB / 444.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.1729, allocations: 28.84 kB / 444.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.173, allocations: 0 / 444.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.1732, allocations: 63.39 kB / 444.7 MB, free: 9.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1732, allocations: 4 kB / 444.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006205/0.1738, allocations: 173.2 kB / 444.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.1739, allocations: 81.11 kB / 444.9 MB, free: 9.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1741, allocations: 141.8 kB / 445.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1741, allocations: 33.7 kB / 445.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.1742, allocations: 92.12 kB / 445.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1742, allocations: 31.62 kB / 445.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.1743, allocations: 21.72 kB / 445.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1744, allocations: 330.8 kB / 445.6 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.1745, allocations: 20 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.1746, allocations: 46.48 kB / 445.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1747, allocations: 57.72 kB / 445.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1747, allocations: 0 / 445.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001745/0.1749, allocations: 101.5 kB / 445.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1749, allocations: 4 kB / 445.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1749, allocations: 4 kB / 445.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1749, allocations: 0 / 445.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.175, allocations: 15.98 kB / 445.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1751, allocations: 7.922 kB / 445.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.1751, allocations: 12.31 kB / 445.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1751, allocations: 4.156 kB / 445.8 MB, free: 8.312 MB / 382.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001127/0.1753, allocations: 117.8 kB / 446 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1753, allocations: 15.81 kB / 446 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.1753, allocations: 20.69 kB / 446 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1753, allocations: 4 kB / 446 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1754, allocations: 4.188 kB / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1754, allocations: 3.938 kB / 446 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1758, allocations: 391.3 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1759, allocations: 0 / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.1759, allocations: 16.02 kB / 446.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1759, allocations: 0 / 446.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1759, allocations: 3.938 kB / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1759, allocations: 4 kB / 446.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1759, allocations: 0 / 446.4 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1762, allocations: 204.2 kB / 446.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.1763, allocations: 81.02 kB / 446.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.1763, allocations: 15.92 kB / 446.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.1764, allocations: 4 kB / 446.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1764, allocations: 4 kB / 446.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1765, allocations: 7.984 kB / 446.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.1766, allocations: 114.5 kB / 446.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1766, allocations: 0 / 446.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1769, allocations: 35.98 kB / 446.9 MB, free: 7.188 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001222/0.1781, allocations: 0.4965 MB / 447.4 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1783, allocations: 59.91 kB / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1783, allocations: 0 / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.635e-05/0.1784, allocations: 36.08 kB / 447.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1788, allocations: 32.11 kB / 447.5 MB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.1792, allocations: 212.8 kB / 447.7 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1795, allocations: 0.6965 MB / 448.4 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.1796, allocations: 12.88 kB / 448.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.1796, allocations: 19.42 kB / 448.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1797, allocations: 8 kB / 448.4 MB, free: 5.598 MB / 382.1 MB Notification: Performance of Templates: time 0.005085/0.1847, allocations: 1.881 MB / 450.3 MB, free: 3.719 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches