Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 105 kB / 17.21 MB, free: 6.273 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.00129/0.00129, 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.359/1.359, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.233/0.233, allocations: 44.18 MB / 336.1 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.44 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 60.84 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003472/0.157, allocations: 1.749 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1585, allocations: 0.8653 MB / 471.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.1586, allocations: 0 / 471.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.1589, allocations: 39.83 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1591, allocations: 47.83 kB / 471.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1594, allocations: 87.83 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1596, allocations: 103.6 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1597, allocations: 8.219 kB / 471.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.1598, allocations: 43.78 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.1599, allocations: 27.84 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1599, allocations: 0 / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.16, allocations: 39.98 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.1601, allocations: 19.92 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.1602, allocations: 35.69 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1604, allocations: 111.9 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.177e-05/0.1604, allocations: 4 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1604, allocations: 0 / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1604, allocations: 0 / 471.7 MB, free: 11.61 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.0006213/0.1611, allocations: 407.1 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1611, allocations: 12.03 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.1612, allocations: 8.844 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1614, allocations: 212 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1614, allocations: 384 / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1615, allocations: 12.12 kB / 472.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.1617, allocations: 61.55 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1617, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.1617, allocations: 4 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1617, allocations: 3.938 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.1618, allocations: 19.98 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.1622, allocations: 284.9 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1624, allocations: 62.61 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.1625, allocations: 20.86 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1625, allocations: 3.984 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.1627, allocations: 67.39 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1627, allocations: 0 / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005661/0.1633, allocations: 177.4 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.1634, allocations: 55.39 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1636, allocations: 182.2 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1636, allocations: 29.7 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.1637, allocations: 100.1 kB / 473.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1637, allocations: 23.66 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-05/0.1637, allocations: 29.7 kB / 473.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1639, allocations: 322.8 kB / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.1639, allocations: 23.98 kB / 473.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.164, allocations: 37.66 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1642, allocations: 57.7 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1642, allocations: 0 / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001844/0.1644, allocations: 105.4 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1644, allocations: 10.5 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1644, allocations: 4.031 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.1644, allocations: 0 / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.73e-05/0.1645, allocations: 16 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1645, allocations: 0 / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.1646, allocations: 7.922 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1646, allocations: 4 kB / 474 MB, free: 9.055 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.0001198/0.1647, allocations: 129 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1648, allocations: 11.91 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.1648, allocations: 20.7 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1648, allocations: 0 / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1648, allocations: 0 / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1649, allocations: 7.875 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.1653, allocations: 395.5 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1653, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1654, allocations: 12.17 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1654, allocations: 0 / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1654, allocations: 11.91 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1654, allocations: 4 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1654, allocations: 3.984 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1657, allocations: 208.1 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.1657, allocations: 85.02 kB / 474.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1658, allocations: 7.922 kB / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1659, allocations: 4 kB / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1659, allocations: 12 kB / 474.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1659, allocations: 3.984 kB / 474.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.166, allocations: 143.2 kB / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1661, allocations: 0 / 475.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1663, allocations: 27.98 kB / 475.1 MB, free: 7.883 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.001099/0.1674, allocations: 467.7 kB / 475.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1676, allocations: 55.92 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1676, allocations: 0 / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1677, allocations: 35.92 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1681, allocations: 27.62 kB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.1686, allocations: 237.1 kB / 475.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1689, allocations: 0.7122 MB / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.169, allocations: 17.17 kB / 476.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.169, allocations: 15.44 kB / 476.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.169, allocations: 0 / 476.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004636/0.1737, allocations: 1.635 MB / 478.3 MB, free: 4.832 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches