Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 104.1 kB / 15.88 MB, free: 4 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.001346/0.001346, allocations: 188.5 kB / 16.78 MB, free: 6.816 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.836/1.836, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.4215/0.4215, allocations: 43.49 MB / 313.5 MB, free: 8.52 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.001444/0.001445, allocations: 74.55 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.162, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003371/0.1654, allocations: 1.846 MB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1669, allocations: 0.8664 MB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.167, allocations: 0 / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.1674, allocations: 303.3 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.1678, allocations: 199.5 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1681, allocations: 127.8 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1683, allocations: 235.4 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.1684, allocations: 25.45 kB / 443.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1686, allocations: 115.5 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1688, allocations: 187.6 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1688, allocations: 0 / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.967e-05/0.1689, allocations: 47.97 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.169, allocations: 135.5 kB / 443.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.1692, allocations: 142.8 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1695, allocations: 355 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1696, allocations: 0 / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1696, allocations: 4 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1696, allocations: 0 / 444.4 MB, free: 10.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001001/0.1706, allocations: 0.7384 MB / 445.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1706, allocations: 12.03 kB / 445.1 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.182e-05/0.1707, allocations: 44.38 kB / 445.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.1712, allocations: 451.8 kB / 445.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1713, allocations: 384 / 445.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1713, allocations: 8.125 kB / 445.6 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1715, allocations: 87.36 kB / 445.7 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1715, allocations: 0 / 445.7 MB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1715, allocations: 3.938 kB / 445.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1715, allocations: 0 / 445.7 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1717, allocations: 27.98 kB / 445.7 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.172, allocations: 374.4 kB / 446.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.1723, allocations: 109.2 kB / 446.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.1724, allocations: 45.62 kB / 446.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.1724, allocations: 0 / 446.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.1727, allocations: 109 kB / 446.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.1727, allocations: 0 / 446.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004655/0.1732, allocations: 200.9 kB / 446.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.1732, allocations: 81.11 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.1743, allocations: 1.034 MB / 447.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1743, allocations: 29.7 kB / 447.7 MB, free: 6.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1745, allocations: 236 kB / 447.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1745, allocations: 27.64 kB / 448 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1746, allocations: 29.7 kB / 448 MB, free: 6.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1747, allocations: 366.8 kB / 448.3 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.1748, allocations: 27.98 kB / 448.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.1749, allocations: 63.42 kB / 448.4 MB, free: 5.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.1751, allocations: 91.84 kB / 448.5 MB, free: 5.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1751, allocations: 0 / 448.5 MB, free: 5.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002816/0.1754, allocations: 172.8 kB / 448.7 MB, free: 5.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1754, allocations: 8.062 kB / 448.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1754, allocations: 3.938 kB / 448.7 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1754, allocations: 4 kB / 448.7 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1756, allocations: 19.98 kB / 448.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1756, allocations: 4 kB / 448.7 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.1757, allocations: 15.92 kB / 448.7 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1757, allocations: 7.938 kB / 448.8 MB, free: 5.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002067/0.1759, allocations: 237.5 kB / 449 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.176, allocations: 51.33 kB / 449 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.1761, allocations: 64 kB / 449.1 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1761, allocations: 0 / 449.1 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1761, allocations: 0 / 449.1 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1761, allocations: 4 kB / 449.1 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.1764, allocations: 341.4 kB / 449.4 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1764, allocations: 4 kB / 449.4 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.1765, allocations: 4 kB / 449.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1765, allocations: 0 / 449.4 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1765, allocations: 4 kB / 449.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1765, allocations: 0 / 449.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1765, allocations: 4 kB / 449.4 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.1768, allocations: 209.2 kB / 449.7 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.177, allocations: 140.4 kB / 449.8 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.177, allocations: 4.125 kB / 449.8 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.1771, allocations: 4 kB / 449.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1771, allocations: 11.98 kB / 449.8 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1772, allocations: 11.98 kB / 449.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007622/0.1779, allocations: 0.7682 MB / 450.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1779, allocations: 0 / 450.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1782, allocations: 40 kB / 450.6 MB, free: 3.621 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009164/0.1791, allocations: 426.5 kB / 451 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1794, allocations: 75.91 kB / 451.1 MB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1794, allocations: 4.125 kB / 451.1 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1795, allocations: 44.17 kB / 451.2 MB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.1799, allocations: 81.38 kB / 451.2 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.181, allocations: 0.9465 MB / 452.2 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1814, allocations: 0.8429 MB / 453 MB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1816, allocations: 58.95 kB / 453.1 MB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.1816, allocations: 27.42 kB / 453.1 MB, free: 1.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1817, allocations: 7.938 kB / 453.1 MB, free: 1.09 MB / 382.1 MB Notification: Performance of Templates: time 0.2487/0.4304, allocations: 3.548 MB / 456.7 MB, free: 48.56 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches