Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009747/0.000975, allocations: 88.19 kB / 15.7 MB, free: 460 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.001318/0.001318, allocations: 174.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 1.977/1.977, allocations: 205.4 MB / 222.8 MB, free: 5.883 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.4601/0.4601, allocations: 43.58 MB / 314.6 MB, free: 8.938 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.0005737/0.0005738, allocations: 16 kB / 384 MB, free: 8.246 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1621, allocations: 58.88 MB / 442.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002416/0.1646, allocations: 1.383 MB / 444.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.166, allocations: 0.7461 MB / 445 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.1661, allocations: 7.938 kB / 445 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.1665, allocations: 79.83 kB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1668, allocations: 63.8 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.167, allocations: 75.78 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1672, allocations: 87.69 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1674, allocations: 16.2 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.843e-05/0.1675, allocations: 51.77 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.1676, allocations: 47.83 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1676, allocations: 0 / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1677, allocations: 35.98 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.1678, allocations: 15.92 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.1678, allocations: 41.64 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.168, allocations: 92.02 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.168, allocations: 4 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.168, allocations: 0 / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.168, allocations: 0 / 445.6 MB, free: 10.51 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.0006533/0.1687, allocations: 402.8 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1688, allocations: 12.03 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.1688, allocations: 11.81 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1691, allocations: 215.5 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.1692, allocations: 0 / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1692, allocations: 4 kB / 446.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.1694, allocations: 53.67 kB / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1694, allocations: 0 / 446.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1695, allocations: 4 kB / 446.3 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1695, allocations: 7.891 kB / 446.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.289e-05/0.1696, allocations: 23.97 kB / 446.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.17, allocations: 281 kB / 446.6 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1702, allocations: 58.61 kB / 446.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.1703, allocations: 24.84 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1703, allocations: 4 kB / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.1706, allocations: 71.34 kB / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.807e-06/0.1706, allocations: 0 / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006302/0.1712, allocations: 185 kB / 446.9 MB, free: 9.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.1713, allocations: 55.41 kB / 446.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1715, allocations: 210.4 kB / 447.2 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.1715, allocations: 25.7 kB / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.1716, allocations: 104.1 kB / 447.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.1717, allocations: 31.62 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.1717, allocations: 0 / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1718, allocations: 322.8 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.1719, allocations: 23.94 kB / 447.6 MB, free: 8.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.1719, allocations: 33.7 kB / 447.7 MB, free: 8.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.172, allocations: 27.98 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.172, allocations: 0 / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001731/0.1722, allocations: 105.5 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1722, allocations: 4 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1722, allocations: 0 / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1723, allocations: 4 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.1724, allocations: 15.98 kB / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1724, allocations: 0 / 447.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.1724, allocations: 11.94 kB / 447.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1725, allocations: 0 / 447.8 MB, free: 7.996 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.0001398/0.1726, allocations: 133.8 kB / 448 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.1726, allocations: 19.8 kB / 448 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.1727, allocations: 17.39 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1727, allocations: 0 / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1727, allocations: 0 / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1727, allocations: 4 kB / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.1733, allocations: 399.4 kB / 448.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1733, allocations: 4 kB / 448.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1733, allocations: 8.188 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1733, allocations: 0 / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1733, allocations: 11.92 kB / 448.4 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1733, allocations: 4 kB / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1734, allocations: 0 / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1736, allocations: 200.2 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.1737, allocations: 92.97 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1737, allocations: 3.984 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1738, allocations: 11.88 kB / 448.7 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1738, allocations: 4.375 kB / 448.7 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1739, allocations: 7.984 kB / 448.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.174, allocations: 156.2 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.174, allocations: 0 / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1743, allocations: 28 kB / 448.9 MB, free: 6.805 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.001141/0.1754, allocations: 454.4 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1756, allocations: 67.89 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1757, allocations: 4 kB / 449.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.1757, allocations: 23.98 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1761, allocations: 31.83 kB / 449.5 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.1767, allocations: 262.1 kB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.177, allocations: 0.7083 MB / 450.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.1771, allocations: 17.17 kB / 450.5 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.1771, allocations: 19.44 kB / 450.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1771, allocations: 0 / 450.5 MB, free: 5.215 MB / 382.1 MB Notification: Performance of Templates: time 0.004758/0.1819, allocations: 1.598 MB / 452.1 MB, free: 3.617 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches