Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 94.31 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.001255/0.001255, allocations: 181.7 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.446/1.446, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2949/0.2949, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 9.938 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1542, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002581/0.1568, allocations: 1.314 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009474/0.1578, allocations: 0.6408 MB / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.1578, allocations: 0 / 473.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.158, allocations: 19.91 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1582, allocations: 27.91 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.717e-06/0.1582, allocations: 0 / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1584, allocations: 23.97 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.979e-05/0.1584, allocations: 4 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/0.1585, allocations: 11.92 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.1585, allocations: 15.92 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1586, allocations: 0 / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.1586, allocations: 8 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.1587, allocations: 15.92 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.1587, allocations: 33.7 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.1588, allocations: 40.22 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1588, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1588, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1588, allocations: 4 kB / 473.6 MB, free: 11.55 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004448/0.1593, allocations: 359.2 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1593, allocations: 15.91 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1594, allocations: 7.906 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.1596, allocations: 178.8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1596, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1596, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1598, allocations: 126.7 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1598, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1598, allocations: 7.984 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.1599, allocations: 23.98 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.16, allocations: 43.84 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.1607, allocations: 0.8868 MB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.139e-05/0.1608, allocations: 173.1 kB / 475.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.1608, allocations: 79.31 kB / 475.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.1608, allocations: 113.8 kB / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.1609, allocations: 0 / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.536e-05/0.1609, allocations: 37.55 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.161, allocations: 126.7 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1612, allocations: 186.1 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1613, allocations: 25.7 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1614, allocations: 151.1 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.1614, allocations: 4 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.1614, allocations: 0 / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1616, allocations: 322.8 kB / 476.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.1616, allocations: 31.98 kB / 476.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1617, allocations: 155.3 kB / 476.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.416e-05/0.1618, allocations: 71.91 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1618, allocations: 0 / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002989/0.1621, allocations: 193.5 kB / 476.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1622, allocations: 8 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1622, allocations: 7.984 kB / 476.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1622, allocations: 8 kB / 476.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1623, allocations: 39.92 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1624, allocations: 7.938 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.1624, allocations: 19.78 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1625, allocations: 16 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000136/0.1626, allocations: 221.8 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.1627, allocations: 112.8 kB / 477.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.1628, allocations: 120.8 kB / 477.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.799e-05/0.1628, allocations: 180.3 kB / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.733e-05/0.1629, allocations: 176.3 kB / 477.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.888e-05/0.163, allocations: 184.2 kB / 478 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.1632, allocations: 425.2 kB / 478.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/0.1633, allocations: 104.9 kB / 478.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.1634, allocations: 108.9 kB / 478.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-05/0.1634, allocations: 176.3 kB / 478.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.1635, allocations: 188.2 kB / 478.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.687e-05/0.1636, allocations: 184.3 kB / 479.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.236e-05/0.1636, allocations: 188.2 kB / 479.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.1638, allocations: 307.7 kB / 479.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.1639, allocations: 197.8 kB / 479.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.164, allocations: 180.3 kB / 480 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.1641, allocations: 108.9 kB / 480.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.1641, allocations: 176.3 kB / 480.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.1642, allocations: 109 kB / 480.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.996e-05/0.1643, allocations: 132.1 kB / 480.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.597e-06/0.1643, allocations: 0 / 480.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1646, allocations: 15.94 kB / 480.5 MB, free: 4.113 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 (0): * Single equations (assignments): 0 * 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.0005235/0.1651, allocations: 271.2 kB / 480.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1653, allocations: 71.78 kB / 480.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1653, allocations: 1.25 kB / 480.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.1653, allocations: 0 / 480.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1657, allocations: 0.5405 MB / 481.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.1661, allocations: 270.8 kB / 481.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1664, allocations: 0.7009 MB / 482.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.1666, allocations: 53.02 kB / 482.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.1667, allocations: 11.44 kB / 482.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1667, allocations: 0 / 482.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Templates: time 0.002942/0.1696, allocations: 0.6512 MB / 483.1 MB, free: 1.547 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches