Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01155/0.01155, allocations: 99.86 kB / 15.87 MB, free: 6.309 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.001818/0.001818, allocations: 194.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4173/0.4173, allocations: 43.5 MB / 313.5 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.91 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1515, allocations: 57.78 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003523/0.1551, allocations: 1.749 MB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1566, allocations: 0.7924 MB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.1567, allocations: 7.875 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1571, allocations: 31.89 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.1574, allocations: 47.83 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1577, allocations: 83.84 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1579, allocations: 87.7 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.158, allocations: 16.2 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.273e-05/0.1581, allocations: 39.78 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.1582, allocations: 31.8 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1582, allocations: 4 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1583, allocations: 35.98 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.1584, allocations: 19.91 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.1585, allocations: 31.8 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1587, allocations: 111.9 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1587, allocations: 0 / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1587, allocations: 0 / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1587, allocations: 0 / 442.9 MB, free: 11.72 MB / 382.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.0006453/0.1594, allocations: 418.8 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1594, allocations: 16.03 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.1595, allocations: 8.844 kB / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1598, allocations: 204 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1598, allocations: 8.375 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1598, allocations: 4.125 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.16, allocations: 53.67 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.16, allocations: 4 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.16, allocations: 0 / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.16, allocations: 0 / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/0.1601, allocations: 19.92 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.1605, allocations: 292.9 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1607, allocations: 58.67 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.1608, allocations: 20.84 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1608, allocations: 0 / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.161, allocations: 83.23 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.161, allocations: 0 / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005588/0.1616, allocations: 165.3 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1616, allocations: 51.41 kB / 444.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1618, allocations: 182.2 kB / 444.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1618, allocations: 29.7 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.1619, allocations: 112.1 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.1619, allocations: 23.7 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.162, allocations: 17.72 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1621, allocations: 326.8 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.1622, allocations: 27.92 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.1623, allocations: 37.64 kB / 445 MB, free: 9.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1624, allocations: 69.7 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1624, allocations: 0 / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.1626, allocations: 101.5 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1626, allocations: 8 kB / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1626, allocations: 0 / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1627, allocations: 0 / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.1628, allocations: 15.98 kB / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.1628, allocations: 4 kB / 445.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.1628, allocations: 3.938 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1628, allocations: 8.031 kB / 445.2 MB, free: 9.156 MB / 382.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.0001165/0.163, allocations: 125.8 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.163, allocations: 11.89 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.163, allocations: 16.72 kB / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1631, allocations: 0 / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1631, allocations: 0 / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1631, allocations: 3.938 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.1637, allocations: 399.2 kB / 445.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1637, allocations: 3.984 kB / 445.8 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.1637, allocations: 11.94 kB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1637, allocations: 0 / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1637, allocations: 3.938 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1637, allocations: 4 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1637, allocations: 0 / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.164, allocations: 200.3 kB / 446 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.164, allocations: 89 kB / 446.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1641, allocations: 4.312 kB / 446.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.1641, allocations: 8 kB / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1642, allocations: 3.984 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1642, allocations: 11.94 kB / 446.1 MB, free: 8.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1643, allocations: 144.1 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1643, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1646, allocations: 23.98 kB / 446.3 MB, free: 8.012 MB / 382.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.001054/0.1656, allocations: 486.3 kB / 446.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1658, allocations: 59.89 kB / 446.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1658, allocations: 4.062 kB / 446.8 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.1659, allocations: 24 kB / 446.8 MB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1662, allocations: 27.97 kB / 446.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.1668, allocations: 253.1 kB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1672, allocations: 0.7004 MB / 447.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.447e-05/0.1673, allocations: 16.88 kB / 447.8 MB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1673, allocations: 15.44 kB / 447.8 MB, free: 6.422 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1674, allocations: 0 / 447.8 MB, free: 6.422 MB / 382.1 MB Notification: Performance of Templates: time 0.004604/0.172, allocations: 1.635 MB / 449.5 MB, free: 4.789 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches