Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 95.19 kB / 17.35 MB, free: 6.371 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.0008318/0.0008319, allocations: 176.2 kB / 18.26 MB, free: 5.52 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.399/1.399, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004927, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.152, allocations: 61.91 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.00261/0.1547, allocations: 1.417 MB / 473.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1567, allocations: 0.846 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.1568, allocations: 0 / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003926/0.1572, allocations: 47.86 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1574, allocations: 51.83 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.1578, allocations: 99.75 kB / 474.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.158, allocations: 91.7 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1582, allocations: 12.2 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1583, allocations: 39.8 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1584, allocations: 31.84 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1584, allocations: 0 / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1586, allocations: 43.92 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.1587, allocations: 23.92 kB / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.029e-05/0.1588, allocations: 69.42 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.159, allocations: 115.8 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.159, allocations: 0 / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.159, allocations: 0 / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.159, allocations: 0 / 475.1 MB, free: 10.47 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.0007465/0.1598, allocations: 403.1 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.1598, allocations: 12.02 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.1599, allocations: 12.84 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.1602, allocations: 220.5 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1602, allocations: 8.312 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.1602, allocations: 16.05 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1604, allocations: 53.67 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1604, allocations: 0 / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1604, allocations: 0 / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1604, allocations: 0 / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.705e-05/0.1605, allocations: 19.98 kB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.161, allocations: 304.8 kB / 476.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1612, allocations: 54.67 kB / 476.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1612, allocations: 16.86 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1612, allocations: 0 / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.1615, allocations: 75.33 kB / 476.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1615, allocations: 4 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005642/0.1621, allocations: 173.2 kB / 476.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.1622, allocations: 55.34 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1624, allocations: 222.7 kB / 476.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1624, allocations: 29.7 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.1625, allocations: 104.1 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.1626, allocations: 27.64 kB / 476.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.1626, allocations: 21.72 kB / 476.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1627, allocations: 330.8 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.1628, allocations: 19.98 kB / 477.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.1629, allocations: 33.7 kB / 477.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.163, allocations: 61.77 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.163, allocations: 3.938 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.1632, allocations: 105.5 kB / 477.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1632, allocations: 4 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1632, allocations: 0 / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1632, allocations: 4 kB / 477.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.1633, allocations: 15.94 kB / 477.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1634, allocations: 3.984 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1634, allocations: 11.94 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1634, allocations: 4 kB / 477.5 MB, free: 7.844 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.0001176/0.1636, allocations: 133.9 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1636, allocations: 11.81 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.1636, allocations: 17.41 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1637, allocations: 3.938 kB / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1637, allocations: 192 / 477.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.1637, allocations: 7.922 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.1642, allocations: 399.6 kB / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1642, allocations: 0 / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.1643, allocations: 16.03 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1643, allocations: 3.984 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1643, allocations: 3.938 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.1643, allocations: 7.984 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1643, allocations: 0 / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1646, allocations: 204.1 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.1647, allocations: 85.02 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.1647, allocations: 11.94 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1648, allocations: 7.984 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.1648, allocations: 4 kB / 478.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.1648, allocations: 4 kB / 478.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.165, allocations: 172.3 kB / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.165, allocations: 0 / 478.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1653, allocations: 20 kB / 478.6 MB, free: 6.648 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.001178/0.1664, allocations: 475.2 kB / 479.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1666, allocations: 59.95 kB / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1667, allocations: 0 / 479.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.1667, allocations: 40.03 kB / 479.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1671, allocations: 23.98 kB / 479.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.1677, allocations: 290.2 kB / 479.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1681, allocations: 0.716 MB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.005e-05/0.1681, allocations: 12.83 kB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.1682, allocations: 19.42 kB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1682, allocations: 0 / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of Templates: time 0.005139/0.1733, allocations: 1.631 MB / 481.8 MB, free: 3.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches