Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 93.52 kB / 16.98 MB, free: 6.398 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.001667/0.001667, allocations: 183.5 kB / 17.87 MB, free: 5.957 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.439/1.439, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2227/0.2227, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003364, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002044/0.1578, allocations: 1.31 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1592, allocations: 0.9609 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.1593, allocations: 3.938 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1595, allocations: 19.92 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.1597, allocations: 43.81 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1601, allocations: 150.7 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1602, allocations: 35.95 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1603, allocations: 23.97 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.1604, allocations: 19.86 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1605, allocations: 19.92 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1605, allocations: 0 / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-05/0.1606, allocations: 43.84 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.1607, allocations: 8 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1607, allocations: 33.64 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1609, allocations: 84.08 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1609, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1609, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1609, allocations: 3.938 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005608/0.1615, allocations: 391.1 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1616, allocations: 8.562 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.1616, allocations: 7.906 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1619, allocations: 194.8 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1619, allocations: 4 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1619, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.1621, allocations: 87.33 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1621, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1622, allocations: 4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1622, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1623, allocations: 47.97 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.1628, allocations: 312.8 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1629, allocations: 50.55 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1629, allocations: 4 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.163, allocations: 34.56 kB / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.163, allocations: 0 / 475.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007992/0.1638, allocations: 253.5 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1638, allocations: 77.11 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.164, allocations: 145.9 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.164, allocations: 25.7 kB / 475.8 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1641, allocations: 104 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1641, allocations: 19.72 kB / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1641, allocations: 0 / 475.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1642, allocations: 326.8 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1644, allocations: 43.97 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1645, allocations: 69.61 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1647, allocations: 48.05 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1647, allocations: 0 / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002947/0.165, allocations: 141.5 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.165, allocations: 7.984 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.165, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.165, allocations: 8.031 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1652, allocations: 27.98 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1652, allocations: 320 / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.1652, allocations: 15.98 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1653, allocations: 3.938 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.421e-05/0.1654, allocations: 121.8 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1654, allocations: 7.906 kB / 476.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.1657, allocations: 154.3 kB / 476.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1658, allocations: 4 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1658, allocations: 8 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1658, allocations: 3.938 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.1663, allocations: 434.3 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1663, allocations: 0 / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.298e-05/0.1664, allocations: 27.98 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1665, allocations: 0 / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1665, allocations: 0 / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1665, allocations: 0 / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1665, allocations: 0 / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.1668, allocations: 243.3 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.1669, allocations: 93 kB / 477.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1669, allocations: 4 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.167, allocations: 15.98 kB / 477.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1671, allocations: 0 / 477.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.1671, allocations: 4 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1672, allocations: 113.3 kB / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1672, allocations: 0 / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1675, allocations: 27.98 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009742/0.1685, allocations: 447.9 kB / 478.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1688, allocations: 107.9 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1688, allocations: 0 / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1689, allocations: 64.09 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1692, allocations: 15.94 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.1697, allocations: 217.2 kB / 478.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.17, allocations: 0.7083 MB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.21e-05/0.1701, allocations: 20.59 kB / 479.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.1702, allocations: 23.36 kB / 479.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1702, allocations: 0 / 479.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of Templates: time 0.004168/0.1744, allocations: 1.459 MB / 480.9 MB, free: 4.051 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches