Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 102.5 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.001182/0.001182, allocations: 181 kB / 17.19 MB, free: 5.727 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.654/1.654, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2481/0.2481, allocations: 43.51 MB / 313.9 MB, free: 0.5391 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.001638/0.001639, allocations: 74.28 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1634, allocations: 57.79 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003426/0.1669, allocations: 1.693 MB / 442.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1683, allocations: 0.7922 MB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.722e-05/0.1684, allocations: 0 / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1688, allocations: 43.83 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1691, allocations: 55.7 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1693, allocations: 83.75 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1695, allocations: 95.7 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1697, allocations: 8.5 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.1698, allocations: 39.8 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.1699, allocations: 35.83 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1699, allocations: 8 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.17, allocations: 43.92 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.1701, allocations: 19.92 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.1701, allocations: 27.8 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1704, allocations: 107.6 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1704, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1704, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1704, allocations: 0 / 443.6 MB, free: 3.824 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005823/0.171, allocations: 407 kB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.171, allocations: 15.89 kB / 444 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.1711, allocations: 8.844 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1713, allocations: 204.6 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1714, allocations: 11.94 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1714, allocations: 0 / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1716, allocations: 57.67 kB / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1716, allocations: 0 / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1716, allocations: 0 / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1716, allocations: 0 / 444.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.1717, allocations: 23.92 kB / 444.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.1721, allocations: 288.8 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1722, allocations: 50.69 kB / 444.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1723, allocations: 24.84 kB / 444.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1723, allocations: 4 kB / 444.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.1726, allocations: 67.33 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1726, allocations: 0 / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.00057/0.1731, allocations: 173.2 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1732, allocations: 59.28 kB / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1733, allocations: 159 kB / 445.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1734, allocations: 29.7 kB / 445.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.1734, allocations: 104.1 kB / 445.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1734, allocations: 19.66 kB / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1735, allocations: 29.7 kB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.1735, allocations: 322.8 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.1736, allocations: 16 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.1737, allocations: 37.7 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.1738, allocations: 61.64 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1738, allocations: 0 / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.1739, allocations: 101.6 kB / 445.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1739, allocations: 4 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.174, allocations: 3.984 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.174, allocations: 3.938 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.1741, allocations: 20.31 kB / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1741, allocations: 0 / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.1741, allocations: 0 / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1742, allocations: 12.03 kB / 445.8 MB, free: 1.312 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 (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 8.896e-05/0.1743, allocations: 133.3 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1743, allocations: 11.81 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.1743, allocations: 16.66 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1743, allocations: 3.984 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1744, allocations: 0 / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1744, allocations: 0 / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.1747, allocations: 391.3 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1747, allocations: 7.984 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.1747, allocations: 8 kB / 446.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1748, allocations: 3.938 kB / 446.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1748, allocations: 4.188 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1748, allocations: 0 / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1748, allocations: 11.88 kB / 446.4 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.175, allocations: 200.3 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.175, allocations: 85 kB / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.175, allocations: 8 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.1751, allocations: 0 / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.1751, allocations: 7.984 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1752, allocations: 4 kB / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.545e-05/0.1752, allocations: 127.9 kB / 446.8 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1753, allocations: 0 / 446.8 MB, free: 204 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1755, allocations: 16 kB / 446.9 MB, free: 188 kB / 318.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.001159/0.1767, allocations: 478.3 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1769, allocations: 59.92 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1769, allocations: 11.94 kB / 447.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.177, allocations: 23.98 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1773, allocations: 31.92 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.1778, allocations: 199.2 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1781, allocations: 0.704 MB / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.1781, allocations: 21.17 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1782, allocations: 15.44 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1782, allocations: 0 / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of Templates: time 0.005005/0.1832, allocations: 1.685 MB / 450.1 MB, free: 13.02 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches