Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 109.4 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 241.8 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 44.17 MB / 336.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.86 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1487, allocations: 60.82 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004215/0.153, allocations: 1.756 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.156, allocations: 1.448 MB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.1562, allocations: 15.88 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1565, allocations: 35.89 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1567, allocations: 43.83 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1571, allocations: 95.72 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1573, allocations: 99.73 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.1574, allocations: 8.234 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.457e-05/0.1575, allocations: 39.78 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.1577, allocations: 43.83 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1577, allocations: 4 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1579, allocations: 55.92 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.158, allocations: 23.91 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.519e-05/0.158, allocations: 35.73 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1583, allocations: 120 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1583, allocations: 0 / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1583, allocations: 0 / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1584, allocations: 0 / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006018/0.159, allocations: 419 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.159, allocations: 12.03 kB / 472.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.1591, allocations: 8.844 kB / 472.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1594, allocations: 212.6 kB / 473 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1594, allocations: 7.938 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1594, allocations: 4 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1596, allocations: 75.38 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1597, allocations: 0 / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1597, allocations: 0 / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1597, allocations: 4 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.1598, allocations: 35.91 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.1603, allocations: 296.8 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.1606, allocations: 66.67 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.1607, allocations: 32.78 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1607, allocations: 4 kB / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.161, allocations: 75.31 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.161, allocations: 0 / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007901/0.1618, allocations: 197.2 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.1619, allocations: 85.05 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.1622, allocations: 155.5 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1622, allocations: 33.7 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.1623, allocations: 96.14 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1623, allocations: 31.8 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.1624, allocations: 25.66 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1626, allocations: 318.8 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1627, allocations: 31.98 kB / 474.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1628, allocations: 46.56 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.1631, allocations: 77.67 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1631, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003205/0.1634, allocations: 109.5 kB / 474.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1634, allocations: 6.5 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1634, allocations: 0 / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1635, allocations: 7.938 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1636, allocations: 19.92 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1636, allocations: 8.031 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.1637, allocations: 4 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1637, allocations: 4 kB / 474.8 MB, free: 8.273 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001313/0.1639, allocations: 122.4 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1639, allocations: 15.8 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.164, allocations: 20.66 kB / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.164, allocations: 0 / 475 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.164, allocations: 4 kB / 475 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.164, allocations: 3.938 kB / 475 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/0.1647, allocations: 415.2 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1647, allocations: 0 / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.1648, allocations: 12 kB / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1648, allocations: 0 / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1648, allocations: 0 / 475.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1649, allocations: 4 kB / 475.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1649, allocations: 4.031 kB / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.1653, allocations: 224.2 kB / 475.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1653, allocations: 81.02 kB / 475.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.1654, allocations: 4 kB / 475.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1655, allocations: 3.938 kB / 475.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.1656, allocations: 11.98 kB / 475.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1656, allocations: 4 kB / 475.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1657, allocations: 125.3 kB / 475.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1658, allocations: 0 / 475.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004696/0.1662, allocations: 35.98 kB / 475.9 MB, free: 7.098 MB / 350.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 (9): * Single equations (assignments): 7 * 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.001656/0.1679, allocations: 0.496 MB / 476.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.1682, allocations: 71.84 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1682, allocations: 0 / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.1684, allocations: 35.92 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.1689, allocations: 35.77 kB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.1695, allocations: 228.5 kB / 476.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1698, allocations: 0.7002 MB / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1699, allocations: 20.62 kB / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.17, allocations: 27.42 kB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.17, allocations: 0 / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of Templates: time 0.006694/0.1767, allocations: 1.978 MB / 479.4 MB, free: 3.668 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches