Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 90.72 kB / 17 MB, free: 6.84 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.001265/0.001265, allocations: 186.5 kB / 17.89 MB, free: 6.055 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.571/1.571, allocations: 223.3 MB / 241.9 MB, free: 360 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.2387/0.2387, allocations: 44.25 MB / 337.3 MB, free: 2.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00238/0.1531, allocations: 1.558 MB / 473.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1545, allocations: 0.9128 MB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.1546, allocations: 3.938 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.1551, allocations: 215.5 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1554, allocations: 143.6 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.1558, allocations: 151.1 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.1561, allocations: 207.3 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1563, allocations: 29.61 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1564, allocations: 99.59 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1566, allocations: 127.5 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1566, allocations: 4 kB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1567, allocations: 51.98 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.1568, allocations: 59.75 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.1569, allocations: 53.58 kB / 475.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1571, allocations: 164 kB / 475.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1571, allocations: 4 kB / 475.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1572, allocations: 4 kB / 475.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1572, allocations: 0 / 475.4 MB, free: 9.914 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.0007461/0.1579, allocations: 0.5136 MB / 475.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.158, allocations: 8.031 kB / 475.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.158, allocations: 23.72 kB / 475.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1584, allocations: 267.1 kB / 476.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1584, allocations: 8 kB / 476.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1585, allocations: 11.91 kB / 476.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1587, allocations: 115.2 kB / 476.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1588, allocations: 7.938 kB / 476.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1588, allocations: 4 kB / 476.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1588, allocations: 0 / 476.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1589, allocations: 47.95 kB / 476.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.1595, allocations: 480.7 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.1599, allocations: 117.2 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.16, allocations: 49.8 kB / 477 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1601, allocations: 8 kB / 477 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.1603, allocations: 117.1 kB / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1603, allocations: 0 / 477.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001274/0.1616, allocations: 0.4929 MB / 477.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1617, allocations: 81.06 kB / 477.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.1621, allocations: 428.5 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1621, allocations: 29.7 kB / 478.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1623, allocations: 156.5 kB / 478.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.1623, allocations: 71.08 kB / 478.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1623, allocations: 8 kB / 478.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1625, allocations: 342.8 kB / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1626, allocations: 55.97 kB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1628, allocations: 91.34 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1629, allocations: 72.08 kB / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1629, allocations: 0 / 478.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003785/0.1633, allocations: 233.1 kB / 479.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1633, allocations: 8 kB / 479.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1633, allocations: 3.984 kB / 479.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1634, allocations: 0 / 479.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.1635, allocations: 43.92 kB / 479.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1635, allocations: 3.953 kB / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.1636, allocations: 15.94 kB / 479.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1636, allocations: 8.219 kB / 479.2 MB, free: 5.777 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.0001782/0.1638, allocations: 174.3 kB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.1639, allocations: 35.61 kB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.164, allocations: 42.61 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.164, allocations: 4 kB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.164, allocations: 0 / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.164, allocations: 3.953 kB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008356/0.1648, allocations: 0.7155 MB / 480.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1648, allocations: 7.953 kB / 480.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.1649, allocations: 35.92 kB / 480.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1649, allocations: 0 / 480.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.165, allocations: 7.984 kB / 480.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.165, allocations: 4 kB / 480.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.165, allocations: 128 / 480.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.1654, allocations: 430.1 kB / 480.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.1655, allocations: 104.8 kB / 480.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.1655, allocations: 15.98 kB / 480.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1657, allocations: 8 kB / 480.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.1657, allocations: 23.91 kB / 480.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.1658, allocations: 12 kB / 480.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.1661, allocations: 319 kB / 481.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1661, allocations: 3.938 kB / 481.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.1665, allocations: 51.91 kB / 481.2 MB, free: 3.684 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.001242/0.1677, allocations: 0.5039 MB / 481.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.1681, allocations: 156 kB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1681, allocations: 4 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1683, allocations: 83.83 kB / 481.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1688, allocations: 65.53 kB / 482 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.1697, allocations: 0.5821 MB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.1701, allocations: 0.7716 MB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.1702, allocations: 45.91 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.1703, allocations: 27.42 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1703, allocations: 3.938 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Templates: time 0.006397/0.1767, allocations: 2.85 MB / 486.3 MB, free: 14.76 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches