Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009939, allocations: 96.94 kB / 16.02 MB, free: 84 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.001455/0.001455, allocations: 183.8 kB / 16.92 MB, free: 6.934 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.006/2.006, allocations: 205.4 MB / 223.1 MB, free: 5.73 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.449/0.449, allocations: 43.57 MB / 315 MB, free: 8.93 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.0006288/0.000629, allocations: 19.98 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1554, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002423/0.1579, allocations: 1.425 MB / 444.9 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1597, allocations: 0.7885 MB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1599, allocations: 3.938 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.1604, allocations: 95.8 kB / 445.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.1608, allocations: 79.78 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.1612, allocations: 79.83 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.1615, allocations: 119.7 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1617, allocations: 15.98 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1618, allocations: 51.72 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.162, allocations: 67.73 kB / 446.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.162, allocations: 4 kB / 446.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1622, allocations: 47.97 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.1623, allocations: 19.92 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1624, allocations: 69.38 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1627, allocations: 139.8 kB / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1628, allocations: 0 / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.1628, allocations: 0 / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1628, allocations: 3.938 kB / 446.4 MB, free: 9.906 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007264/0.1635, allocations: 422.8 kB / 446.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1636, allocations: 12.03 kB / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.192e-05/0.1637, allocations: 16.75 kB / 446.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.164, allocations: 231.7 kB / 447.1 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.164, allocations: 384 / 447.1 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.1641, allocations: 12.12 kB / 447.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.1643, allocations: 69.53 kB / 447.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1643, allocations: 0 / 447.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1643, allocations: 4 kB / 447.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1643, allocations: 0 / 447.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.906e-05/0.1644, allocations: 27.98 kB / 447.2 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.165, allocations: 328.6 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1652, allocations: 70.73 kB / 447.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.1653, allocations: 28.84 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.1653, allocations: 4 kB / 447.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.1656, allocations: 79.41 kB / 447.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.1656, allocations: 0 / 447.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006962/0.1663, allocations: 225 kB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.1664, allocations: 59.39 kB / 448 MB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.1667, allocations: 246.5 kB / 448.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1667, allocations: 25.7 kB / 448.3 MB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.1668, allocations: 120 kB / 448.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.1669, allocations: 35.55 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1669, allocations: 13.72 kB / 448.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1671, allocations: 330.8 kB / 448.8 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.1672, allocations: 31.98 kB / 448.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.1673, allocations: 49.7 kB / 448.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1675, allocations: 89.69 kB / 448.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1675, allocations: 0 / 448.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002665/0.1677, allocations: 133.4 kB / 449.1 MB, free: 7.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1678, allocations: 4 kB / 449.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1678, allocations: 4.469 kB / 449.1 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1678, allocations: 0 / 449.1 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1679, allocations: 19.94 kB / 449.1 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.168, allocations: 11.92 kB / 449.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.168, allocations: 0 / 449.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.168, allocations: 12.03 kB / 449.1 MB, free: 7.004 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 (13): * Single equations (assignments): 13 * 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.0001556/0.1682, allocations: 137.8 kB / 449.2 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1682, allocations: 15.81 kB / 449.3 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.1683, allocations: 25.38 kB / 449.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1683, allocations: 0 / 449.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.1683, allocations: 3.938 kB / 449.3 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1683, allocations: 3.984 kB / 449.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.169, allocations: 459.2 kB / 449.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.169, allocations: 0 / 449.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.169, allocations: 15.94 kB / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.169, allocations: 0 / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1691, allocations: 11.98 kB / 449.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1691, allocations: 0 / 449.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1691, allocations: 0 / 449.8 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1693, allocations: 232.1 kB / 450 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1694, allocations: 100.8 kB / 450.1 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1695, allocations: 4 kB / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1695, allocations: 0 / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.1696, allocations: 11.98 kB / 450.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1696, allocations: 4 kB / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1698, allocations: 188.2 kB / 450.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1698, allocations: 0 / 450.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.17, allocations: 35.98 kB / 450.3 MB, free: 5.672 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 (11): * Single equations (assignments): 9 * 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.001175/0.1712, allocations: 473.3 kB / 450.8 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1714, allocations: 87.91 kB / 450.9 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1714, allocations: 0 / 450.9 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1716, allocations: 39.92 kB / 450.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1719, allocations: 31.92 kB / 450.9 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.1725, allocations: 334.9 kB / 451.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1728, allocations: 0.7281 MB / 452 MB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.958e-05/0.1729, allocations: 21.08 kB / 452 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.1729, allocations: 19.42 kB / 452 MB, free: 3.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1729, allocations: 0 / 452 MB, free: 3.926 MB / 382.1 MB Notification: Performance of Templates: time 0.004689/0.1776, allocations: 1.802 MB / 453.8 MB, free: 2.129 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches