Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.002459/0.002459, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.962/1.962, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2613/0.2613, allocations: 43.52 MB / 314.7 MB, free: 468 kB / 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.001666/0.001667, allocations: 69.25 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.152, allocations: 57.8 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.0034/0.1555, allocations: 1.693 MB / 443.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1573, allocations: 1.398 MB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.055e-05/0.1574, allocations: 4 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1578, allocations: 43.77 kB / 445.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.158, allocations: 55.75 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1583, allocations: 87.7 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1585, allocations: 103.7 kB / 445.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1586, allocations: 4.234 kB / 445.4 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.1587, allocations: 43.78 kB / 445.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1589, allocations: 39.84 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1589, allocations: 4 kB / 445.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.159, allocations: 63.97 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.1591, allocations: 15.92 kB / 445.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.1591, allocations: 35.73 kB / 445.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1593, allocations: 119.6 kB / 445.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1594, allocations: 3.984 kB / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1594, allocations: 0 / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.84e-06/0.1594, allocations: 0 / 445.7 MB, free: 2.391 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.0005475/0.1599, allocations: 403 kB / 446.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.16, allocations: 15.89 kB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.16, allocations: 8.844 kB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.1604, allocations: 197.4 kB / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1604, allocations: 4.375 kB / 446.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1604, allocations: 8.125 kB / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1606, allocations: 75.31 kB / 446.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1607, allocations: 7.891 kB / 446.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1607, allocations: 4 kB / 446.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1607, allocations: 4 kB / 446.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.1608, allocations: 15.98 kB / 446.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1611, allocations: 288.8 kB / 446.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.1613, allocations: 58.62 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.1614, allocations: 32.72 kB / 446.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1614, allocations: 0 / 446.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1616, allocations: 67.39 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1616, allocations: 0 / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005463/0.1621, allocations: 165.3 kB / 447 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.1622, allocations: 77.11 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1623, allocations: 156.9 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1623, allocations: 33.69 kB / 447.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.1624, allocations: 92.14 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1624, allocations: 27.64 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1624, allocations: 21.72 kB / 447.4 MB, free: 456 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.1625, allocations: 326.8 kB / 447.7 MB, free: 120 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.1626, allocations: 27.92 kB / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.1626, allocations: 46.56 kB / 447.8 MB, free: 36 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1628, allocations: 57.75 kB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1628, allocations: 0 / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1629, allocations: 97.47 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.163, allocations: 9.25 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.163, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.163, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.1631, allocations: 15.98 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1631, allocations: 8.062 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.1632, allocations: 11.84 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1632, allocations: 7.938 kB / 448 MB, free: 15.82 MB / 334.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.0001277/0.1633, allocations: 121.8 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1634, allocations: 7.906 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.1634, allocations: 16.7 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-06/0.1634, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1634, allocations: 0 / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1635, allocations: 3.938 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.164, allocations: 395.5 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.164, allocations: 0 / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.164, allocations: 12.36 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.164, allocations: 0 / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.164, allocations: 7.938 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1641, allocations: 7.938 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1641, allocations: 192 / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1643, allocations: 204.3 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.1644, allocations: 88.95 kB / 448.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.1644, allocations: 11.92 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.1645, allocations: 4 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.1645, allocations: 4 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1645, allocations: 7.984 kB / 448.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.755e-05/0.1646, allocations: 111.3 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1646, allocations: 4 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1649, allocations: 31.98 kB / 449 MB, free: 14.69 MB / 334.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.001185/0.1661, allocations: 0.4964 MB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1663, allocations: 59.91 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1664, allocations: 0 / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.736e-05/0.1664, allocations: 31.92 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1668, allocations: 32.28 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.1672, allocations: 199 kB / 449.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1676, allocations: 0.6963 MB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.965e-05/0.1676, allocations: 12.88 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1677, allocations: 23.42 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1677, allocations: 4 kB / 450.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Templates: time 0.005779/0.1735, allocations: 1.942 MB / 452.5 MB, free: 11.24 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches