Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 107.7 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4383/0.4383, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 55.86 kB / 429.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1454, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004027/0.1495, allocations: 1.76 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.151, allocations: 0.7885 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.1511, allocations: 0 / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1515, allocations: 39.83 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1518, allocations: 55.75 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1521, allocations: 79.84 kB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1523, allocations: 91.7 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1524, allocations: 8.219 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1525, allocations: 47.77 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.585e-05/0.1526, allocations: 23.86 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1526, allocations: 4 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1527, allocations: 47.91 kB / 490 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.1528, allocations: 23.92 kB / 490 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.1528, allocations: 35.73 kB / 490 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.153, allocations: 111.9 kB / 490.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1531, allocations: 0 / 490.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1531, allocations: 0 / 490.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1531, allocations: 0 / 490.1 MB, free: 9.402 MB / 378.7 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.0005587/0.1536, allocations: 414.9 kB / 490.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1537, allocations: 8.031 kB / 490.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.1538, allocations: 12.83 kB / 490.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.154, allocations: 212.6 kB / 490.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1541, allocations: 8.375 kB / 490.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1541, allocations: 8.125 kB / 490.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1543, allocations: 49.67 kB / 490.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1543, allocations: 3.984 kB / 490.8 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1543, allocations: 4 kB / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1543, allocations: 4 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.1544, allocations: 19.97 kB / 490.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1548, allocations: 288.9 kB / 491.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.155, allocations: 58.62 kB / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.155, allocations: 20.84 kB / 491.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1551, allocations: 0 / 491.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1553, allocations: 71.39 kB / 491.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1553, allocations: 0 / 491.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.1559, allocations: 173.1 kB / 491.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1559, allocations: 51.41 kB / 491.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1561, allocations: 197.5 kB / 491.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1561, allocations: 29.7 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.1562, allocations: 104.1 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.1562, allocations: 23.7 kB / 491.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.1563, allocations: 33.7 kB / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1564, allocations: 326.8 kB / 492.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.1565, allocations: 19.98 kB / 492.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1566, allocations: 38.03 kB / 492.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1567, allocations: 57.64 kB / 492.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1567, allocations: 0 / 492.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001896/0.1569, allocations: 117.4 kB / 492.4 MB, free: 6.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1569, allocations: 4 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1569, allocations: 0 / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1569, allocations: 0 / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.157, allocations: 19.94 kB / 492.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.157, allocations: 0 / 492.5 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.1571, allocations: 7.922 kB / 492.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1571, allocations: 4.156 kB / 492.5 MB, free: 6.828 MB / 378.7 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.0001069/0.1572, allocations: 133.8 kB / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1573, allocations: 11.89 kB / 492.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.1573, allocations: 17.39 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1573, allocations: 4 kB / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1573, allocations: 0 / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1573, allocations: 3.938 kB / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.1578, allocations: 395.2 kB / 493 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1578, allocations: 3.984 kB / 493 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.1578, allocations: 12.03 kB / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1579, allocations: 0 / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1579, allocations: 3.938 kB / 493 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1579, allocations: 4 kB / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1579, allocations: 0 / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.1585, allocations: 0.7871 MB / 493.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1585, allocations: 88.86 kB / 493.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1586, allocations: 11.98 kB / 493.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.1586, allocations: 0 / 493.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.1587, allocations: 4 kB / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1587, allocations: 7.984 kB / 493.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1588, allocations: 152.2 kB / 494.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1588, allocations: 0 / 494.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.1592, allocations: 27.98 kB / 494.1 MB, free: 5.027 MB / 378.7 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.0009691/0.1601, allocations: 473.3 kB / 494.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1603, allocations: 59.84 kB / 494.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1603, allocations: 4.062 kB / 494.6 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.1604, allocations: 28 kB / 494.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1607, allocations: 32.52 kB / 494.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.1613, allocations: 391.8 kB / 495.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1616, allocations: 0.7004 MB / 495.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.882e-05/0.1616, allocations: 25.16 kB / 495.8 MB, free: 3.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1617, allocations: 15.44 kB / 495.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1617, allocations: 8 kB / 495.8 MB, free: 3.293 MB / 378.7 MB Notification: Performance of Templates: time 0.004058/0.1657, allocations: 1.661 MB / 497.5 MB, free: 1.637 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches