Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 93.2 kB / 16.98 MB, free: 5.941 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.00144/0.00144, allocations: 181.1 kB / 17.88 MB, free: 5.609 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.479/1.479, allocations: 223.2 MB / 241.8 MB, free: 368 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.2634/0.2634, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003172/0.1556, allocations: 1.546 MB / 473 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1575, allocations: 0.8972 MB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1576, allocations: 0 / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.1583, allocations: 243.4 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.1586, allocations: 159.7 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.159, allocations: 163 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.1593, allocations: 171.6 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1595, allocations: 25.67 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.1596, allocations: 111.6 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.1599, allocations: 135.6 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1599, allocations: 4 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.16, allocations: 39.97 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.1601, allocations: 63.7 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.1602, allocations: 57.56 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1605, allocations: 179.9 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1605, allocations: 0 / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1605, allocations: 4 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1605, allocations: 0 / 475.2 MB, free: 9.953 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000906/0.1614, allocations: 0.529 MB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.1615, allocations: 8.031 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.1616, allocations: 35.61 kB / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.162, allocations: 267.1 kB / 476.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.162, allocations: 7.938 kB / 476.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.1621, allocations: 15.98 kB / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1623, allocations: 107.3 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1624, allocations: 0 / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.1624, allocations: 7.984 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1624, allocations: 0 / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1625, allocations: 47.91 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.1632, allocations: 484.8 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.1636, allocations: 121.2 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1636, allocations: 0 / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.1639, allocations: 129 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.1639, allocations: 0 / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00134/0.1653, allocations: 0.4968 MB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/0.1654, allocations: 89.06 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.1659, allocations: 481.6 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.166, allocations: 37.64 kB / 478.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1661, allocations: 164.5 kB / 478.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.1662, allocations: 67.08 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.1662, allocations: 4 kB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1664, allocations: 350.8 kB / 478.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1665, allocations: 51.98 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1666, allocations: 99.33 kB / 478.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1668, allocations: 63.94 kB / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1668, allocations: 0 / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000393/0.1672, allocations: 241.2 kB / 479.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1672, allocations: 8 kB / 479.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1672, allocations: 4.062 kB / 479.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1673, allocations: 0 / 479.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1674, allocations: 43.92 kB / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1674, allocations: 4 kB / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.499e-05/0.1675, allocations: 15.94 kB / 479.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.1676, allocations: 8 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002013/0.1678, allocations: 182.2 kB / 479.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.1678, allocations: 31.62 kB / 479.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.205e-05/0.1679, allocations: 50.8 kB / 479.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1679, allocations: 0 / 479.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.168, allocations: 4 kB / 479.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.168, allocations: 0 / 479.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009807/0.169, allocations: 0.7311 MB / 480.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.169, allocations: 0 / 480.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.1691, allocations: 35.94 kB / 480.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1691, allocations: 4 kB / 480.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1691, allocations: 4 kB / 480.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1691, allocations: 4 kB / 480.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1691, allocations: 3.938 kB / 480.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006076/0.1697, allocations: 489.5 kB / 480.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1698, allocations: 108.7 kB / 480.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.1699, allocations: 11.95 kB / 480.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.17, allocations: 8 kB / 480.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.1701, allocations: 23.91 kB / 480.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.1702, allocations: 12 kB / 480.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003955/0.1706, allocations: 355.1 kB / 481.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1706, allocations: 4 kB / 481.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.1709, allocations: 51.98 kB / 481.2 MB, free: 3.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001323/0.1723, allocations: 0.5097 MB / 481.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.1726, allocations: 155.8 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1726, allocations: 0 / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.1728, allocations: 80.16 kB / 482 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1733, allocations: 55.58 kB / 482 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1743, allocations: 0.6247 MB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.1748, allocations: 0.7911 MB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.1749, allocations: 45.91 kB / 483.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.175, allocations: 27.42 kB / 483.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.175, allocations: 3.938 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Templates: time 0.007247/0.1823, allocations: 2.879 MB / 486.4 MB, free: 14.53 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches