Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009811, allocations: 100.2 kB / 16.99 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.001069/0.001069, allocations: 182.3 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.424/1.424, allocations: 223.2 MB / 241.8 MB, free: 376 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.2188/0.2188, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002331/0.1504, allocations: 1.402 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1518, allocations: 0.8074 MB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.1519, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.1523, allocations: 95.78 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.1525, allocations: 79.77 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1528, allocations: 91.7 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1529, allocations: 75.83 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1531, allocations: 15.98 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.455e-05/0.1532, allocations: 47.83 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1533, allocations: 55.81 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1533, allocations: 4 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.1534, allocations: 32 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.1535, allocations: 31.89 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.1535, allocations: 41.64 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1537, allocations: 112 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1537, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1537, allocations: 3.938 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1537, allocations: 4 kB / 474.3 MB, free: 10.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006744/0.1544, allocations: 426.7 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1545, allocations: 12.55 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.1545, allocations: 11.91 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1548, allocations: 222.6 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1549, allocations: 0 / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1549, allocations: 8 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1551, allocations: 69.55 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1551, allocations: 0 / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1551, allocations: 4 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1552, allocations: 7.984 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.1553, allocations: 31.97 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.1558, allocations: 320.7 kB / 475.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.1561, allocations: 70.55 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1561, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.1564, allocations: 83.38 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.1564, allocations: 0 / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008639/0.1572, allocations: 269.1 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1573, allocations: 59.33 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.1576, allocations: 242.6 kB / 476.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1576, allocations: 29.7 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.1577, allocations: 112.1 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.1577, allocations: 39.45 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.1578, allocations: 4 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1579, allocations: 338.8 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.158, allocations: 31.92 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.1581, allocations: 49.7 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.619e-05/0.1581, allocations: 36 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1582, allocations: 0 / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002269/0.1584, allocations: 145.5 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1584, allocations: 4 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.1584, allocations: 0 / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1584, allocations: 3.984 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.1585, allocations: 24 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1586, allocations: 0 / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1586, allocations: 7.984 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1586, allocations: 4 kB / 477 MB, free: 8 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001294/0.1588, allocations: 153.7 kB / 477.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1588, allocations: 15.81 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.1588, allocations: 17.41 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1589, allocations: 3.984 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1589, allocations: 0 / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1589, allocations: 0 / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.1594, allocations: 480 kB / 477.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.1594, allocations: 7.984 kB / 477.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.1595, allocations: 16 kB / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1595, allocations: 4 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1595, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1595, allocations: 4 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1595, allocations: 0 / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1598, allocations: 268.4 kB / 477.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1599, allocations: 96.91 kB / 478 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1599, allocations: 11.98 kB / 478 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.16, allocations: 11.94 kB / 478 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.16, allocations: 7.984 kB / 478 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1601, allocations: 4 kB / 478 MB, free: 6.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1602, allocations: 191 kB / 478.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1602, allocations: 0 / 478.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1605, allocations: 31.98 kB / 478.3 MB, free: 6.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001114/0.1616, allocations: 0.5175 MB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1618, allocations: 91.83 kB / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1619, allocations: 0 / 478.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.1619, allocations: 51.98 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1622, allocations: 20.17 kB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.1628, allocations: 328 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1632, allocations: 0.7281 MB / 480 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.393e-05/0.1633, allocations: 29 kB / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.1633, allocations: 23.44 kB / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1633, allocations: 0 / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of Templates: time 0.004814/0.1681, allocations: 1.92 MB / 481.9 MB, free: 3.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches