Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 107.7 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.001614/0.001614, 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.511/1.511, allocations: 222.9 MB / 241.8 MB, free: 13.84 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.217/0.217, allocations: 44.16 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001926, allocations: 64.69 kB / 407.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1547, allocations: 60.83 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003574/0.1584, allocations: 1.759 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.16, allocations: 0.8576 MB / 471.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1602, allocations: 8 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1605, allocations: 27.89 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1608, allocations: 55.7 kB / 471.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.1612, allocations: 91.83 kB / 471.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.1615, allocations: 87.7 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1616, allocations: 12.22 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1617, allocations: 39.78 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.1618, allocations: 35.8 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1619, allocations: 0 / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.162, allocations: 43.97 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.1621, allocations: 19.92 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.1622, allocations: 27.75 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.1624, allocations: 104 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1624, allocations: 4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1624, allocations: 0 / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1625, allocations: 0 / 471.7 MB, free: 11.62 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006602/0.1631, allocations: 418.9 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1632, allocations: 8.031 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.1632, allocations: 8.844 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.1635, allocations: 203.8 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1635, allocations: 8.359 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1635, allocations: 12.11 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1637, allocations: 53.67 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1637, allocations: 0 / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1637, allocations: 0 / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1637, allocations: 0 / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.1638, allocations: 27.92 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1642, allocations: 288.8 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1644, allocations: 54.69 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1644, allocations: 20.84 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1645, allocations: 4 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.1647, allocations: 75.33 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1647, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005639/0.1652, allocations: 169.2 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1653, allocations: 51.41 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.1655, allocations: 166.2 kB / 473.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1655, allocations: 29.7 kB / 473.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.1656, allocations: 104.1 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.1656, allocations: 27.64 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.1657, allocations: 25.64 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1658, allocations: 330.8 kB / 473.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.1659, allocations: 16 kB / 473.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.166, allocations: 37.64 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1661, allocations: 69.64 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1661, allocations: 0 / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.1663, allocations: 97.48 kB / 473.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1664, allocations: 4 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1664, allocations: 4 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1664, allocations: 3.938 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1665, allocations: 16 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1665, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.1666, allocations: 11.95 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1666, allocations: 8 kB / 474 MB, free: 9.082 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 (10): * Single equations (assignments): 10 * 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.0001072/0.1667, allocations: 121.8 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1667, allocations: 7.906 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.1668, allocations: 16.7 kB / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1668, allocations: 0 / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1668, allocations: 0 / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1668, allocations: 3.938 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1673, allocations: 391.3 kB / 474.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1673, allocations: 0 / 474.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.1673, allocations: 11.94 kB / 474.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1673, allocations: 0 / 474.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1673, allocations: 11.92 kB / 474.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1673, allocations: 4.375 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1674, allocations: 0 / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1676, allocations: 200.2 kB / 474.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.1676, allocations: 85.02 kB / 474.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1677, allocations: 11.94 kB / 474.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1678, allocations: 3.984 kB / 474.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.1678, allocations: 4 kB / 474.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1678, allocations: 4 kB / 474.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1679, allocations: 140.9 kB / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.1679, allocations: 0 / 475 MB, free: 7.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1682, allocations: 27.94 kB / 475 MB, free: 7.949 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 (8): * Single equations (assignments): 6 * 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.001032/0.1692, allocations: 474.1 kB / 475.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1694, allocations: 67.95 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1694, allocations: 0 / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.1695, allocations: 31.92 kB / 475.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1699, allocations: 19.98 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.1703, allocations: 236.6 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.1706, allocations: 0.7004 MB / 476.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.1707, allocations: 16.81 kB / 476.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.1707, allocations: 15.44 kB / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1707, allocations: 4 kB / 476.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of Templates: time 0.004217/0.1749, allocations: 1.626 MB / 478.2 MB, free: 4.91 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches