Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009032, allocations: 95.19 kB / 17 MB, free: 6.402 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.0009648/0.0009648, allocations: 179.2 kB / 17.89 MB, free: 5.945 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.488/1.488, allocations: 223.2 MB / 241.9 MB, free: 320 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.2324/0.2324, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003157, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002422/0.1573, allocations: 1.386 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1588, allocations: 0.8036 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.159, allocations: 0 / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.1593, allocations: 35.84 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1596, allocations: 43.83 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.16, allocations: 95.52 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1603, allocations: 91.69 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1604, allocations: 8.219 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1605, allocations: 35.8 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.1606, allocations: 31.84 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1606, allocations: 0 / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1608, allocations: 31.98 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.1608, allocations: 15.92 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.1609, allocations: 37.64 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1611, allocations: 88.09 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.1611, allocations: 0 / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1611, allocations: 3.938 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1611, allocations: 0 / 474.3 MB, free: 10.96 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.0006224/0.1617, allocations: 394.9 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1618, allocations: 8.031 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.1619, allocations: 7.906 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1621, allocations: 198.9 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1621, allocations: 0 / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1622, allocations: 8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1624, allocations: 61.56 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1624, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1624, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1624, allocations: 0 / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1625, allocations: 19.98 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.163, allocations: 292.7 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1632, allocations: 70.61 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.1632, allocations: 16.86 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1633, allocations: 0 / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.1635, allocations: 71.38 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1635, allocations: 4 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006041/0.1641, allocations: 161.3 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.1642, allocations: 55.41 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1644, allocations: 172.5 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1644, allocations: 29.7 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1645, allocations: 96.05 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.1645, allocations: 23.73 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.1645, allocations: 4 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1647, allocations: 330.8 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.1648, allocations: 23.98 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.1649, allocations: 37.64 kB / 476.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.1649, allocations: 23.94 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1649, allocations: 0 / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.1651, allocations: 101.4 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1652, allocations: 8 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1652, allocations: 4.016 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1652, allocations: 4 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1653, allocations: 16 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1653, allocations: 4.188 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.1654, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1654, allocations: 7.938 kB / 476.5 MB, free: 8.531 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.1655, allocations: 130.3 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1656, allocations: 11.91 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.1656, allocations: 16.86 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1656, allocations: 8 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1656, allocations: 0 / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1656, allocations: 0 / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.1661, allocations: 391.3 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1661, allocations: 0 / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.1662, allocations: 11.94 kB / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1662, allocations: 0 / 477.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1662, allocations: 8 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1662, allocations: 4.031 kB / 477.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.1662, allocations: 3.984 kB / 477.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1665, allocations: 200.2 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.1666, allocations: 89.02 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1666, allocations: 0 / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.1667, allocations: 7.984 kB / 477.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1667, allocations: 12.31 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.1667, allocations: 8 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1669, allocations: 134.8 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1669, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1672, allocations: 28 kB / 477.6 MB, free: 7.383 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.1684, allocations: 470 kB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1686, allocations: 59.91 kB / 478.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1686, allocations: 0 / 478.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.1687, allocations: 31.92 kB / 478.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.169, allocations: 23.94 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.1696, allocations: 237.9 kB / 478.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1699, allocations: 0.7043 MB / 479.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.185e-05/0.17, allocations: 17.17 kB / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.17, allocations: 19.38 kB / 479.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.17, allocations: 0 / 479.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of Templates: time 0.004927/0.175, allocations: 1.584 MB / 480.7 MB, free: 4.387 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches