Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000881/0.000881, allocations: 96.7 kB / 15.7 MB, free: 468 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.0009107/0.0009107, allocations: 172.7 kB / 16.58 MB, free: 6.844 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.001/2.001, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.4355/0.4355, allocations: 43.57 MB / 314.6 MB, free: 8.816 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.0005367/0.0005367, allocations: 20 kB / 384 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1514, allocations: 58.85 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00224/0.1537, allocations: 1.394 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.155, allocations: 0.7422 MB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/0.1551, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1555, allocations: 99.72 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1557, allocations: 79.78 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.156, allocations: 67.86 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1562, allocations: 99.66 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1563, allocations: 12.2 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.994e-05/0.1564, allocations: 47.83 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.1565, allocations: 51.77 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1565, allocations: 4 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.1567, allocations: 43.97 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.1567, allocations: 19.92 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.1568, allocations: 37.64 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.157, allocations: 96.08 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.157, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.157, allocations: 0 / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.157, allocations: 0 / 445.6 MB, free: 10.21 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.0007776/0.1578, allocations: 422.6 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.1579, allocations: 12.03 kB / 446 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.1579, allocations: 11.91 kB / 446 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1582, allocations: 223.4 kB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1583, allocations: 4 kB / 446.3 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1583, allocations: 4 kB / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1585, allocations: 53.67 kB / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1585, allocations: 4 kB / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1586, allocations: 0 / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1586, allocations: 3.953 kB / 446.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.1587, allocations: 15.98 kB / 446.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1591, allocations: 293 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1593, allocations: 54.61 kB / 446.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.1594, allocations: 28.84 kB / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1594, allocations: 0 / 446.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1596, allocations: 71.34 kB / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1596, allocations: 0 / 446.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.1602, allocations: 181.1 kB / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1603, allocations: 51.41 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1605, allocations: 238.2 kB / 447.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1605, allocations: 29.7 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.1606, allocations: 116 kB / 447.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.1607, allocations: 27.73 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.1607, allocations: 0 / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1608, allocations: 330.8 kB / 447.7 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1609, allocations: 15.98 kB / 447.7 MB, free: 7.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.161, allocations: 37.7 kB / 447.8 MB, free: 7.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.161, allocations: 23.98 kB / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.161, allocations: 0 / 447.8 MB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.1612, allocations: 109.4 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1613, allocations: 8 kB / 447.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1613, allocations: 7.922 kB / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1613, allocations: 0 / 447.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.1614, allocations: 12 kB / 447.9 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.1614, allocations: 4 kB / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.1615, allocations: 0 / 447.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1615, allocations: 11.98 kB / 448 MB, free: 7.625 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.1616, allocations: 133.8 kB / 448.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1617, allocations: 23.75 kB / 448.1 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.1617, allocations: 21.59 kB / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1618, allocations: 0 / 448.1 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1618, allocations: 3.938 kB / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1618, allocations: 0 / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.1623, allocations: 403.3 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1623, allocations: 416 / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.1624, allocations: 12 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1624, allocations: 4 kB / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1624, allocations: 0 / 448.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1624, allocations: 4 kB / 448.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1624, allocations: 0 / 448.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.1627, allocations: 208.1 kB / 448.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.1628, allocations: 100.9 kB / 448.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1628, allocations: 4 kB / 448.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.1629, allocations: 7.984 kB / 448.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.163, allocations: 4 kB / 448.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.163, allocations: 4 kB / 448.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.1632, allocations: 184.3 kB / 449.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1632, allocations: 0 / 449.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1635, allocations: 27.98 kB / 449.1 MB, free: 6.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.1648, allocations: 460.9 kB / 449.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.165, allocations: 59.91 kB / 449.6 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.165, allocations: 0 / 449.6 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.1651, allocations: 40.03 kB / 449.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1655, allocations: 24.16 kB / 449.7 MB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.1662, allocations: 294.5 kB / 449.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1666, allocations: 0.7082 MB / 450.6 MB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.1667, allocations: 12.88 kB / 450.7 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.1667, allocations: 19.44 kB / 450.7 MB, free: 4.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1667, allocations: 0 / 450.7 MB, free: 4.766 MB / 382.1 MB Notification: Performance of Templates: time 0.004406/0.1712, allocations: 1.607 MB / 452.3 MB, free: 3.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches