Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 102.2 kB / 16.27 MB, free: 6.102 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.001407/0.001407, allocations: 185.9 kB / 17.19 MB, free: 5.723 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.712/1.712, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2743/0.2743, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001554/0.001555, allocations: 72.5 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1664, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004504/0.171, allocations: 1.652 MB / 442.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1727, allocations: 0.7789 MB / 443 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1728, allocations: 0 / 443 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004381/0.1733, allocations: 63.75 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.1737, allocations: 51.75 kB / 443.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.174, allocations: 83.75 kB / 443.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1743, allocations: 91.7 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/0.1743, allocations: 8 kB / 443.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1744, allocations: 31.86 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1746, allocations: 35.72 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1746, allocations: 4 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1747, allocations: 35.98 kB / 443.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.1748, allocations: 23.92 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.1749, allocations: 39.67 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.1752, allocations: 107.9 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1752, allocations: 0 / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1752, allocations: 0 / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.1752, allocations: 4 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007597/0.176, allocations: 442.5 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.176, allocations: 11.89 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.1761, allocations: 12.84 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.1764, allocations: 219.5 kB / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1764, allocations: 384 / 444.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1765, allocations: 8.125 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1766, allocations: 45.67 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1766, allocations: 4 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1767, allocations: 0 / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1767, allocations: 0 / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.287e-05/0.1768, allocations: 15.98 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.177, allocations: 197.6 kB / 444.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1772, allocations: 50.61 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.1773, allocations: 28.78 kB / 444.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.1773, allocations: 0 / 444.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1775, allocations: 71.28 kB / 444.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1775, allocations: 4 kB / 444.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003068/0.1778, allocations: 97.45 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1779, allocations: 55.41 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.1781, allocations: 259.7 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1782, allocations: 25.7 kB / 445 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.1782, allocations: 108.1 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.1783, allocations: 23.73 kB / 445.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.1783, allocations: 17.72 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.1784, allocations: 326.8 kB / 445.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.116e-05/0.1785, allocations: 11.98 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.1785, allocations: 37.64 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.126e-05/0.1786, allocations: 53.89 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1786, allocations: 0 / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.1788, allocations: 85.44 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.1788, allocations: 11.94 kB / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1789, allocations: 0 / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1789, allocations: 0 / 445.7 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.179, allocations: 11.98 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.179, allocations: 4.031 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.1791, allocations: 4 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1791, allocations: 4 kB / 445.7 MB, free: 1.449 MB / 318.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 (7): * Single equations (assignments): 7 * 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.0001053/0.1792, allocations: 137.7 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1792, allocations: 15.81 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.1793, allocations: 20.98 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1793, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1793, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1793, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.1795, allocations: 197.6 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1795, allocations: 0 / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.1795, allocations: 8 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1795, allocations: 0 / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1795, allocations: 4 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1795, allocations: 3.938 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1795, allocations: 3.984 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.1797, allocations: 104.9 kB / 446.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.1798, allocations: 93 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1798, allocations: 4 kB / 446.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.1798, allocations: 8.125 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.1799, allocations: 0 / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1799, allocations: 7.984 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.1801, allocations: 199.3 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.1801, allocations: 0 / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1803, allocations: 16 kB / 446.5 MB, free: 0.5469 MB / 318.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001013/0.1814, allocations: 422 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1815, allocations: 39.92 kB / 447 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1816, allocations: 0 / 447 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.1816, allocations: 19.98 kB / 447 MB, free: 156 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1819, allocations: 40.05 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.1825, allocations: 262.7 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1828, allocations: 0.7157 MB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.071e-05/0.1829, allocations: 20.53 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.183, allocations: 11.44 kB / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.183, allocations: 0 / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Templates: time 0.004853/0.1878, allocations: 1.505 MB / 449.6 MB, free: 13.57 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches