Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 104.5 kB / 16.27 MB, free: 5.949 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.001178/0.001179, allocations: 189 kB / 17.19 MB, free: 5.59 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.844/1.844, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.264/0.264, allocations: 43.52 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.001553/0.001553, allocations: 67.14 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1657, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003197/0.1689, allocations: 1.697 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1702, allocations: 0.7922 MB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.1703, allocations: 4 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.1707, allocations: 39.84 kB / 443.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1709, allocations: 55.69 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1712, allocations: 83.77 kB / 443.2 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.1714, allocations: 95.69 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1715, allocations: 12.5 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.1716, allocations: 39.8 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.1717, allocations: 27.86 kB / 443.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1717, allocations: 7.984 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1718, allocations: 47.92 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.1719, allocations: 19.92 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.172, allocations: 31.75 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1721, allocations: 111.6 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1722, allocations: 4 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1722, allocations: 0 / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1722, allocations: 0 / 443.6 MB, free: 3.832 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.0005253/0.1727, allocations: 410.9 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1728, allocations: 11.89 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.1728, allocations: 8.844 kB / 444 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.173, allocations: 217.1 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.173, allocations: 384 / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1731, allocations: 8.125 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1732, allocations: 53.67 kB / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1732, allocations: 0 / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1733, allocations: 0 / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1733, allocations: 11.98 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.772e-05/0.1733, allocations: 19.98 kB / 444.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.1737, allocations: 292.7 kB / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.1738, allocations: 50.67 kB / 444.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.1739, allocations: 24.86 kB / 444.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1739, allocations: 4 kB / 444.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1741, allocations: 71.31 kB / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.1741, allocations: 0 / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004905/0.1746, allocations: 181.1 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.1746, allocations: 55.41 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1748, allocations: 190 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1748, allocations: 33.7 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.1748, allocations: 104.1 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1749, allocations: 19.72 kB / 445.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1749, allocations: 21.7 kB / 445.3 MB, free: 1.871 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.175, allocations: 330.8 kB / 445.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.175, allocations: 19.98 kB / 445.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.1751, allocations: 29.72 kB / 445.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/0.1752, allocations: 65.7 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1752, allocations: 0 / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001436/0.1753, allocations: 97.52 kB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1754, allocations: 4 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1754, allocations: 4 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1754, allocations: 0 / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-05/0.1755, allocations: 15.94 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1755, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.1755, allocations: 19.95 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1756, allocations: 4 kB / 445.9 MB, free: 1.266 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 7.821e-05/0.1756, allocations: 125.3 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.1757, allocations: 15.81 kB / 446.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.1757, allocations: 16.7 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1757, allocations: 4 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1757, allocations: 0 / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1757, allocations: 3.938 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.1761, allocations: 395.4 kB / 446.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1761, allocations: 4 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.1761, allocations: 7.984 kB / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1761, allocations: 4 kB / 446.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1761, allocations: 8.312 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1761, allocations: 0 / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1762, allocations: 4 kB / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.1763, allocations: 208.2 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.1764, allocations: 88.95 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1764, allocations: 11.92 kB / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.216e-05/0.1765, allocations: 192 / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1765, allocations: 4 kB / 446.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1765, allocations: 11.94 kB / 446.8 MB, free: 268 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.1766, allocations: 139.2 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1766, allocations: 4 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1769, allocations: 27.91 kB / 447 MB, free: 96 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.001128/0.178, allocations: 463.9 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1782, allocations: 59.98 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1782, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.1783, allocations: 31.92 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1787, allocations: 27.97 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.1792, allocations: 219.5 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1795, allocations: 0.7079 MB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.1796, allocations: 21.16 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1796, allocations: 19.44 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.234e-06/0.1796, allocations: 0 / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Templates: time 0.005524/0.1851, allocations: 1.685 MB / 450.2 MB, free: 12.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches