Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008695/0.0008695, allocations: 101.4 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009631/0.0009641, allocations: 178.8 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4556/0.4556, allocations: 43.58 MB / 315 MB, free: 8.988 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.0005705/0.0005704, allocations: 23.98 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1543, allocations: 58.88 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002689/0.1571, allocations: 1.41 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1585, allocations: 0.773 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.1586, allocations: 4 kB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.159, allocations: 39.81 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1592, allocations: 55.81 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1594, allocations: 75.84 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1596, allocations: 91.7 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1597, allocations: 20.2 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1598, allocations: 39.78 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.1599, allocations: 27.86 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1599, allocations: 0 / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.16, allocations: 39.92 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1601, allocations: 27.89 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.1602, allocations: 65.33 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1604, allocations: 119.9 kB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1604, allocations: 0 / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1604, allocations: 4 kB / 446.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1604, allocations: 0 / 446.2 MB, free: 10.1 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.000553/0.161, allocations: 403 kB / 446.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.161, allocations: 12.03 kB / 446.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1611, allocations: 12.75 kB / 446.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1613, allocations: 220 kB / 446.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1614, allocations: 384 / 446.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1614, allocations: 16.03 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1616, allocations: 53.67 kB / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1616, allocations: 0 / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1616, allocations: 0 / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1616, allocations: 4 kB / 447 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.1617, allocations: 15.98 kB / 447 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.1622, allocations: 296.8 kB / 447.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1624, allocations: 58.67 kB / 447.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.1625, allocations: 20.86 kB / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1625, allocations: 0 / 447.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1627, allocations: 75.38 kB / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1627, allocations: 0 / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005565/0.1633, allocations: 173.1 kB / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1634, allocations: 55.41 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1636, allocations: 218.7 kB / 447.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1637, allocations: 29.64 kB / 447.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.1638, allocations: 112.1 kB / 448 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1638, allocations: 31.62 kB / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1639, allocations: 9.719 kB / 448 MB, free: 8.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.164, allocations: 334.8 kB / 448.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-05/0.1641, allocations: 19.98 kB / 448.4 MB, free: 7.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.1643, allocations: 33.7 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1644, allocations: 57.72 kB / 448.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1645, allocations: 0 / 448.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003086/0.1648, allocations: 97.52 kB / 448.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1648, allocations: 8.031 kB / 448.6 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1648, allocations: 8.172 kB / 448.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1648, allocations: 0 / 448.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.165, allocations: 31.8 kB / 448.6 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.165, allocations: 4 kB / 448.6 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.1651, allocations: 3.938 kB / 448.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1651, allocations: 4 kB / 448.6 MB, free: 7.488 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.000134/0.1652, allocations: 133.8 kB / 448.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1653, allocations: 15.81 kB / 448.8 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.1654, allocations: 17.41 kB / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1654, allocations: 0 / 448.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1654, allocations: 3.984 kB / 448.8 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.1654, allocations: 7.938 kB / 448.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.1661, allocations: 391.3 kB / 449.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1661, allocations: 0 / 449.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.1661, allocations: 8 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1661, allocations: 0 / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1662, allocations: 19.95 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1662, allocations: 0 / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1662, allocations: 0 / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1666, allocations: 208.3 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1666, allocations: 92.92 kB / 449.5 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.1667, allocations: 11.92 kB / 449.5 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.1668, allocations: 4.375 kB / 449.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1669, allocations: 4 kB / 449.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.1669, allocations: 11.98 kB / 449.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002259/0.1672, allocations: 172.3 kB / 449.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1672, allocations: 0 / 449.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.1676, allocations: 20 kB / 449.7 MB, free: 6.281 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.00166/0.1693, allocations: 468.9 kB / 450.2 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1695, allocations: 55.91 kB / 450.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1695, allocations: 0 / 450.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.1696, allocations: 31.92 kB / 450.3 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.1702, allocations: 32.05 kB / 450.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.1709, allocations: 282 kB / 450.6 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.1714, allocations: 0.716 MB / 451.3 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.773e-05/0.1714, allocations: 13.19 kB / 451.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.1715, allocations: 15.44 kB / 451.3 MB, free: 4.664 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1715, allocations: 0 / 451.3 MB, free: 4.664 MB / 382.1 MB Notification: Performance of Templates: time 0.006397/0.1779, allocations: 1.627 MB / 452.9 MB, free: 3.039 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches