Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001649, allocations: 95.48 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.002448/0.002448, 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.436/1.436, allocations: 223.2 MB / 241.8 MB, free: 380 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.2196/0.2196, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004187, allocations: 10.03 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002737/0.1518, allocations: 1.306 MB / 472.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008693/0.1527, allocations: 379.5 kB / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.1527, allocations: 0 / 473.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.1534, allocations: 431.2 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003508/0.1538, allocations: 239.5 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1541, allocations: 111.2 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1543, allocations: 111.8 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1544, allocations: 12.17 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1546, allocations: 103.7 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1548, allocations: 151.7 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1548, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.1549, allocations: 15.98 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.155, allocations: 87.69 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.155, allocations: 61.52 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1553, allocations: 184 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1553, allocations: 0 / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1553, allocations: 0 / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1553, allocations: 4 kB / 474.6 MB, free: 10.58 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.0008196/0.1561, allocations: 0.6026 MB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1562, allocations: 8.562 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.1563, allocations: 47.42 kB / 475.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.1566, allocations: 267.4 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1566, allocations: 4 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1566, allocations: 4 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1568, allocations: 61.62 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1568, allocations: 0 / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1568, allocations: 0 / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1568, allocations: 0 / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.157, allocations: 39.91 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1575, allocations: 380.7 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1577, allocations: 46.56 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1578, allocations: 3.938 kB / 476.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1578, allocations: 30.56 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1578, allocations: 0 / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006934/0.1585, allocations: 248 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1586, allocations: 55.39 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008352/0.1594, allocations: 0.8613 MB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1595, allocations: 29.7 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.1596, allocations: 220.1 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1597, allocations: 27.58 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.1597, allocations: 0 / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1598, allocations: 362.8 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.1599, allocations: 19.98 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.16, allocations: 27.98 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.1601, allocations: 23.98 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1601, allocations: 0 / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002119/0.1603, allocations: 117.2 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1603, allocations: 8 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1603, allocations: 3.938 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1603, allocations: 4.25 kB / 478.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.1604, allocations: 11.98 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1604, allocations: 8 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.1605, allocations: 4 kB / 478.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1605, allocations: 3.938 kB / 478.1 MB, free: 6.871 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 (5): * Single equations (assignments): 5 * 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.0001995/0.1607, allocations: 221.7 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1608, allocations: 43.44 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.1611, allocations: 141 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.1611, allocations: 0 / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1611, allocations: 3.938 kB / 478.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1611, allocations: 8 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.1617, allocations: 466.5 kB / 479 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1617, allocations: 0 / 479 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.1617, allocations: 15.98 kB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1618, allocations: 4 kB / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1618, allocations: 4 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1618, allocations: 0 / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1618, allocations: 0 / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.162, allocations: 222.9 kB / 479.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.1621, allocations: 116.5 kB / 479.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.1622, allocations: 4 kB / 479.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.1623, allocations: 12.27 kB / 479.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1623, allocations: 0 / 479.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.1623, allocations: 0 / 479.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006146/0.1629, allocations: 0.655 MB / 480 MB, free: 4.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.163, allocations: 0 / 480 MB, free: 4.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1632, allocations: 20 kB / 480 MB, free: 4.852 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 (5): * Single equations (assignments): 5 * 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.0008927/0.1641, allocations: 413.2 kB / 480.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.1643, allocations: 55.91 kB / 480.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1643, allocations: 0 / 480.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.1644, allocations: 31.98 kB / 480.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1647, allocations: 25.91 kB / 480.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.1657, allocations: 0.8178 MB / 481.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.1662, allocations: 0.8301 MB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.1663, allocations: 15.95 kB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.1663, allocations: 11.44 kB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1663, allocations: 0 / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Templates: time 0.004341/0.1707, allocations: 1.373 MB / 483.6 MB, free: 1.391 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches