Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 96 kB / 16.99 MB, free: 5.938 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.001399/0.001399, allocations: 177.9 kB / 17.87 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.555/1.555, allocations: 223.2 MB / 241.8 MB, free: 356 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.2488/0.2488, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.153, allocations: 61.93 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002323/0.1554, allocations: 1.542 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.1569, allocations: 0.8894 MB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.157, allocations: 7.938 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.1574, allocations: 147.6 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.1577, allocations: 111.8 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1581, allocations: 162.4 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1584, allocations: 147.7 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1585, allocations: 25.67 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.1586, allocations: 95.59 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1588, allocations: 91.66 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1588, allocations: 4 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1589, allocations: 43.92 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.159, allocations: 43.88 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.1591, allocations: 57.52 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1593, allocations: 159.9 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1593, allocations: 0 / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1593, allocations: 0 / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1593, allocations: 0 / 475 MB, free: 10.23 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.0007065/0.16, allocations: 0.4904 MB / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1601, allocations: 8.031 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.1601, allocations: 23.72 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.1605, allocations: 266.4 kB / 475.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1605, allocations: 8 kB / 475.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1605, allocations: 15.98 kB / 475.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1607, allocations: 111.3 kB / 475.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1608, allocations: 4 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1608, allocations: 0 / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1608, allocations: 0 / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1609, allocations: 47.91 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.1614, allocations: 468.8 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.1618, allocations: 121.2 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1618, allocations: 8 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.1621, allocations: 121 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.1621, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001237/0.1634, allocations: 492.4 kB / 477.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.1635, allocations: 81.06 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.1638, allocations: 351 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.1638, allocations: 33.7 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.1639, allocations: 140.5 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.164, allocations: 71.08 kB / 477.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.164, allocations: 4 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1641, allocations: 338.8 kB / 478.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.1642, allocations: 63.97 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1644, allocations: 91.28 kB / 478.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1645, allocations: 63.98 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1645, allocations: 4 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003481/0.1649, allocations: 229.3 kB / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1649, allocations: 7.938 kB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1649, allocations: 4 kB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.165, allocations: 3.984 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1651, allocations: 47.86 kB / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1651, allocations: 0 / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.1652, allocations: 15.95 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1652, allocations: 7.984 kB / 478.6 MB, free: 6.289 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.0001676/0.1654, allocations: 162.3 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.1655, allocations: 31.62 kB / 478.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.1655, allocations: 33.73 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1655, allocations: 4 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1656, allocations: 0 / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1656, allocations: 3.984 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000856/0.1664, allocations: 0.7193 MB / 479.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1664, allocations: 0 / 479.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.1665, allocations: 31.94 kB / 479.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1665, allocations: 4 kB / 479.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1666, allocations: 11.98 kB / 479.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1666, allocations: 7.938 kB / 479.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1666, allocations: 0 / 479.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.167, allocations: 475.6 kB / 480.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.1672, allocations: 108.7 kB / 480.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.1672, allocations: 19.88 kB / 480.2 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1674, allocations: 8 kB / 480.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.1674, allocations: 19.97 kB / 480.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.1675, allocations: 12 kB / 480.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.1677, allocations: 261.9 kB / 480.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1677, allocations: 0 / 480.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003351/0.1681, allocations: 51.98 kB / 480.6 MB, free: 4.195 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.00117/0.1692, allocations: 0.5159 MB / 481.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1696, allocations: 151.8 kB / 481.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1696, allocations: 8.062 kB / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.1698, allocations: 83.84 kB / 481.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1702, allocations: 48.84 kB / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.171, allocations: 0.5194 MB / 481.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1714, allocations: 0.7638 MB / 482.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.1715, allocations: 41.92 kB / 482.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.1716, allocations: 27.42 kB / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1716, allocations: 0 / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of Templates: time 0.007485/0.1791, allocations: 2.821 MB / 485.6 MB, free: 15.38 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches