Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.001101/0.001101, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.612/1.612, allocations: 223.3 MB / 242.3 MB, free: 240 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.2432/0.2432, allocations: 44.26 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003989, allocations: 8.234 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002513/0.1566, allocations: 1.374 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1583, allocations: 0.8265 MB / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.365e-05/0.1583, allocations: 4 kB / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.1588, allocations: 47.86 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.159, allocations: 55.81 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1592, allocations: 95.77 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1594, allocations: 91.69 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.032e-05/0.1595, allocations: 4 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.1596, allocations: 35.84 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1597, allocations: 39.78 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1598, allocations: 0 / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.1599, allocations: 31.92 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.16, allocations: 23.92 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.1601, allocations: 65.42 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1603, allocations: 115.8 kB / 475.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.1603, allocations: 3.938 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1603, allocations: 0 / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1603, allocations: 0 / 475.1 MB, free: 10.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007946/0.1611, allocations: 417.1 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.1612, allocations: 12.03 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.1613, allocations: 8.844 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.1617, allocations: 219.9 kB / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.1617, allocations: 4.375 kB / 475.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1617, allocations: 4.125 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1619, allocations: 49.67 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.162, allocations: 4 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.162, allocations: 0 / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.162, allocations: 4 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.1621, allocations: 19.98 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.1624, allocations: 181.7 kB / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1626, allocations: 58.55 kB / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.1627, allocations: 20.8 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1628, allocations: 4 kB / 476 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.1631, allocations: 71.28 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.1631, allocations: 0 / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003458/0.1634, allocations: 97.52 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1635, allocations: 55.41 kB / 476.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.1639, allocations: 262.9 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.1639, allocations: 25.7 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.164, allocations: 112.1 kB / 476.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.1641, allocations: 15.81 kB / 476.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1641, allocations: 13.72 kB / 476.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002883/0.1644, allocations: 322.8 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.193e-05/0.1645, allocations: 19.97 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.1646, allocations: 33.7 kB / 477.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1647, allocations: 41.66 kB / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1647, allocations: 7.938 kB / 477.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.1649, allocations: 89.42 kB / 477.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.1649, allocations: 6.656 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1649, allocations: 0 / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.1649, allocations: 4 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.165, allocations: 11.94 kB / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.1651, allocations: 0 / 477.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.773e-05/0.1651, allocations: 11.92 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.1651, allocations: 0 / 477.2 MB, free: 8.145 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 (7): * Single equations (assignments): 7 * 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.0001288/0.1653, allocations: 144.9 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1653, allocations: 15.81 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.1655, allocations: 16.94 kB / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1655, allocations: 0 / 477.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1655, allocations: 4 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1655, allocations: 3.984 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1657, allocations: 193.6 kB / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1657, allocations: 320 / 477.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.1657, allocations: 7.984 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1658, allocations: 4 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1658, allocations: 4 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1658, allocations: 0 / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1658, allocations: 0 / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.166, allocations: 120.8 kB / 477.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.166, allocations: 89.02 kB / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1661, allocations: 0 / 477.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.105e-05/0.1661, allocations: 7.984 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1661, allocations: 4 kB / 477.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1662, allocations: 4 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.1663, allocations: 200.2 kB / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1663, allocations: 0 / 478 MB, free: 7.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.1666, allocations: 19.98 kB / 478 MB, free: 7.227 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009448/0.1675, allocations: 408 kB / 478.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1677, allocations: 39.92 kB / 478.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1677, allocations: 4.062 kB / 478.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.503e-05/0.1678, allocations: 23.98 kB / 478.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1681, allocations: 27.91 kB / 478.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.1687, allocations: 277.8 kB / 478.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.1693, allocations: 0.7199 MB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.641e-05/0.1693, allocations: 12.41 kB / 479.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.1694, allocations: 15.44 kB / 479.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1694, allocations: 0 / 479.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of Templates: time 0.004619/0.174, allocations: 1.442 MB / 481 MB, free: 4.383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches