Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 97.12 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.0009069/0.000907, allocations: 174.3 kB / 17.87 MB, free: 5.621 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.487/1.487, allocations: 223.2 MB / 241.8 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.23 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 15.94 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002228/0.1536, allocations: 1.406 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.155, allocations: 0.7957 MB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1551, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1555, allocations: 43.88 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1558, allocations: 51.81 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1561, allocations: 99.33 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1563, allocations: 75.83 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1565, allocations: 12 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1566, allocations: 43.83 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1567, allocations: 35.84 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1567, allocations: 4 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1569, allocations: 39.98 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.157, allocations: 27.89 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.361e-05/0.157, allocations: 41.64 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1573, allocations: 104 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1573, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1573, allocations: 4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1573, allocations: 0 / 474.2 MB, free: 10.96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008076/0.1581, allocations: 418.8 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/0.1582, allocations: 8.562 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1583, allocations: 19.84 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1587, allocations: 207.6 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1587, allocations: 8 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1587, allocations: 8 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.1589, allocations: 77.55 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.159, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.159, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.159, allocations: 0 / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1591, allocations: 39.97 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.1598, allocations: 324.7 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1601, allocations: 86.56 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1601, allocations: 4 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.1604, allocations: 75.38 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 5.871e-06/0.1604, allocations: 4 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009678/0.1614, allocations: 289.5 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.1615, allocations: 59.39 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1617, allocations: 179.6 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1617, allocations: 33.69 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.1618, allocations: 96.38 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.1619, allocations: 55.47 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.1619, allocations: 0 / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.162, allocations: 338.8 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.1621, allocations: 35.98 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.1622, allocations: 53.64 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.963e-05/0.1623, allocations: 47.98 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1623, allocations: 0 / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002756/0.1626, allocations: 145.5 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1626, allocations: 12.03 kB / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1626, allocations: 0 / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1627, allocations: 0 / 476.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1628, allocations: 27.92 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1628, allocations: 4 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.1629, allocations: 7.938 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1629, allocations: 7.984 kB / 476.8 MB, free: 8.109 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 (15): * Single equations (assignments): 15 * 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.0001466/0.163, allocations: 137.2 kB / 477 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.1631, allocations: 11.81 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.1631, allocations: 29.52 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1631, allocations: 4 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.1632, allocations: 0 / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1632, allocations: 3.938 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/0.1641, allocations: 472.1 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1641, allocations: 4 kB / 477.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.1642, allocations: 20.05 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1642, allocations: 4 kB / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1642, allocations: 0 / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1642, allocations: 8 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1642, allocations: 3.938 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1646, allocations: 291.4 kB / 477.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.1646, allocations: 92.91 kB / 477.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1647, allocations: 7.953 kB / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.1648, allocations: 4 kB / 477.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.1648, allocations: 11.98 kB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1648, allocations: 4 kB / 477.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.165, allocations: 140.9 kB / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.165, allocations: 0 / 478.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.1653, allocations: 32 kB / 478.1 MB, free: 6.738 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 (13): * Single equations (assignments): 11 * 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.001434/0.1668, allocations: 0.5172 MB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.167, allocations: 95.91 kB / 478.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.167, allocations: 0 / 478.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1671, allocations: 51.91 kB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1674, allocations: 36.27 kB / 478.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.168, allocations: 287.8 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1685, allocations: 0.7165 MB / 479.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.715e-05/0.1685, allocations: 29.41 kB / 479.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.1686, allocations: 23.42 kB / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1686, allocations: 0 / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of Templates: time 0.006321/0.1749, allocations: 1.972 MB / 481.8 MB, free: 3.191 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches