Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, 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.001648/0.001648, allocations: 172.9 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.668/1.668, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3392/0.3392, allocations: 43.58 MB / 314.6 MB, free: 9.027 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.0005003/0.0005004, allocations: 20 kB / 384 MB, free: 8.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 58.86 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002404/0.1559, allocations: 1.387 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1572, allocations: 0.7461 MB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1573, allocations: 4 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1577, allocations: 39.81 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.1579, allocations: 47.83 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1581, allocations: 71.84 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.1583, allocations: 87.69 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1584, allocations: 8.219 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.1585, allocations: 39.83 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.1586, allocations: 31.8 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1586, allocations: 0 / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1587, allocations: 32 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.1588, allocations: 27.89 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1589, allocations: 41.64 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.159, allocations: 88.05 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.159, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.159, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1591, allocations: 0 / 445.5 MB, free: 10.59 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.0006719/0.1597, allocations: 402.8 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1598, allocations: 8.031 kB / 445.9 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.1598, allocations: 11.89 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1601, allocations: 207.6 kB / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1601, allocations: 0 / 446.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1602, allocations: 8 kB / 446.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1603, allocations: 53.61 kB / 446.1 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1604, allocations: 3.906 kB / 446.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1604, allocations: 7.984 kB / 446.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1604, allocations: 3.953 kB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.078e-05/0.1605, allocations: 19.98 kB / 446.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.1609, allocations: 285 kB / 446.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1611, allocations: 54.62 kB / 446.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.1611, allocations: 20.84 kB / 446.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1612, allocations: 4 kB / 446.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1614, allocations: 75.28 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1614, allocations: 0 / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005547/0.1619, allocations: 185 kB / 446.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.162, allocations: 51.41 kB / 446.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1622, allocations: 199.3 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1622, allocations: 25.7 kB / 447.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.1623, allocations: 100.1 kB / 447.2 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1623, allocations: 19.72 kB / 447.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.1623, allocations: 4 kB / 447.2 MB, free: 8.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1625, allocations: 330.8 kB / 447.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.1625, allocations: 20 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.058e-05/0.1626, allocations: 37.64 kB / 447.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.1627, allocations: 20 kB / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1627, allocations: 0 / 447.6 MB, free: 8.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.1629, allocations: 105.4 kB / 447.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1629, allocations: 11.97 kB / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1629, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1629, allocations: 0 / 447.7 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.163, allocations: 23.98 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.163, allocations: 384 / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1631, allocations: 4 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1631, allocations: 0 / 447.7 MB, free: 8.105 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.0001255/0.1632, allocations: 137.8 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1633, allocations: 15.86 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.1633, allocations: 17.41 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1633, allocations: 4 kB / 447.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1633, allocations: 0 / 447.9 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1634, allocations: 3.984 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.1639, allocations: 399.2 kB / 448.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1639, allocations: 0 / 448.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.1639, allocations: 11.94 kB / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1639, allocations: 0 / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1639, allocations: 4.031 kB / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1639, allocations: 4 kB / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1639, allocations: 0 / 448.3 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1642, allocations: 204.3 kB / 448.5 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.1643, allocations: 92.91 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1643, allocations: 4 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.1644, allocations: 8.188 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1644, allocations: 7.984 kB / 448.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1644, allocations: 3.938 kB / 448.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1646, allocations: 160.8 kB / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1646, allocations: 0 / 448.8 MB, free: 6.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1649, allocations: 31.89 kB / 448.8 MB, free: 6.91 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.0012/0.1661, allocations: 457 kB / 449.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1663, allocations: 59.91 kB / 449.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1663, allocations: 0 / 449.3 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.175e-05/0.1664, allocations: 27.98 kB / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.1667, allocations: 32.09 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.1673, allocations: 242.3 kB / 449.6 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1677, allocations: 0.7121 MB / 450.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.521e-05/0.1677, allocations: 16.88 kB / 450.3 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1678, allocations: 19.44 kB / 450.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1678, allocations: 0 / 450.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of Templates: time 0.004472/0.1723, allocations: 1.592 MB / 452 MB, free: 3.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches