Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 109.9 kB / 17.33 MB, free: 6 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.002239/0.002239, allocations: 189.4 kB / 18.25 MB, free: 5.094 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.403/1.403, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2156/0.2156, allocations: 44.17 MB / 336.2 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 66.11 kB / 407.9 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1568, allocations: 60.83 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004185/0.1611, allocations: 1.757 MB / 470.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1631, allocations: 0.8575 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.757e-05/0.1632, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.1636, allocations: 39.83 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.164, allocations: 51.83 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.1643, allocations: 91.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1646, allocations: 95.7 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1647, allocations: 12.22 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.1648, allocations: 47.72 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.1649, allocations: 27.86 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.165, allocations: 8 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1651, allocations: 43.97 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1652, allocations: 19.92 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.1653, allocations: 39.67 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.1655, allocations: 119.9 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1655, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1656, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1656, allocations: 0 / 471.9 MB, free: 11.49 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.0006741/0.1663, allocations: 407 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1663, allocations: 23.95 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.1664, allocations: 8.844 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1667, allocations: 208.8 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1667, allocations: 384 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.1668, allocations: 12.11 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.167, allocations: 61.61 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.167, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.167, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.167, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1671, allocations: 23.98 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.1676, allocations: 288.8 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.1679, allocations: 58.61 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.168, allocations: 24.84 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.168, allocations: 4 kB / 473 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000252/0.1683, allocations: 63.39 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.1683, allocations: 0 / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007485/0.169, allocations: 177.1 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.1691, allocations: 55.41 kB / 473.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.1694, allocations: 191.3 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.1695, allocations: 29.7 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.1696, allocations: 100.1 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1696, allocations: 27.7 kB / 473.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.1697, allocations: 33.7 kB / 473.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1699, allocations: 326.8 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.17, allocations: 27.92 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1701, allocations: 37.64 kB / 474.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1703, allocations: 57.72 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1703, allocations: 0 / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003159/0.1706, allocations: 101.5 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1707, allocations: 4 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1707, allocations: 4 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1707, allocations: 0 / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1709, allocations: 12 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.1709, allocations: 0 / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.171, allocations: 15.86 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.171, allocations: 4 kB / 474.3 MB, free: 8.906 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.0001573/0.1712, allocations: 132.5 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1712, allocations: 19.8 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.1713, allocations: 13.41 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.1713, allocations: 384 / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1713, allocations: 0 / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1713, allocations: 3.938 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.1719, allocations: 403.5 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.172, allocations: 3.984 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.172, allocations: 8 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.172, allocations: 0 / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1721, allocations: 7.938 kB / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1721, allocations: 0 / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1721, allocations: 0 / 474.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1724, allocations: 212.2 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.1725, allocations: 89 kB / 475.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1725, allocations: 7.938 kB / 475.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1727, allocations: 4 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1727, allocations: 7.984 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1727, allocations: 4 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1729, allocations: 152.9 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1729, allocations: 0 / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004667/0.1734, allocations: 24 kB / 475.3 MB, free: 7.734 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.001685/0.1751, allocations: 464.2 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1754, allocations: 63.89 kB / 475.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1754, allocations: 4.062 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.1756, allocations: 35.92 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.1762, allocations: 23.36 kB / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.1768, allocations: 267.1 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1772, allocations: 0.7002 MB / 476.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.218e-05/0.1773, allocations: 21.17 kB / 476.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.1773, allocations: 15.44 kB / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1773, allocations: 0 / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of Templates: time 0.006756/0.1841, allocations: 1.699 MB / 478.6 MB, free: 4.602 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches