Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 177.6 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008135/0.0008134, allocations: 85.48 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4412/0.4412, allocations: 43.56 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005424/0.0005423, allocations: 8 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1616, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002984/0.1647, allocations: 1.305 MB / 491.5 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.1657, allocations: 315.9 kB / 491.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.1658, allocations: 0 / 491.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.1666, allocations: 451.1 kB / 492.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.1671, allocations: 235.6 kB / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.1678, allocations: 143.7 kB / 492.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.1681, allocations: 135.7 kB / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1682, allocations: 16.16 kB / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1685, allocations: 99.78 kB / 492.9 MB, free: 8.297 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.1688, allocations: 171.7 kB / 493.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.1688, allocations: 0 / 493.1 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.169, allocations: 20 kB / 493.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1692, allocations: 91.67 kB / 493.2 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.1692, allocations: 65.52 kB / 493.2 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.1696, allocations: 175.8 kB / 493.4 MB, free: 7.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1696, allocations: 3.938 kB / 493.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1696, allocations: 4 kB / 493.4 MB, free: 7.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.1696, allocations: 3.938 kB / 493.4 MB, free: 7.766 MB / 378.7 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.001025/0.1707, allocations: 0.5989 MB / 494 MB, free: 7.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1707, allocations: 12.02 kB / 494 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.518e-05/0.1708, allocations: 43.48 kB / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.1712, allocations: 275.3 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1713, allocations: 4 kB / 494.4 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1713, allocations: 4 kB / 494.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.1715, allocations: 49.69 kB / 494.4 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1716, allocations: 3.984 kB / 494.4 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1716, allocations: 8 kB / 494.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1716, allocations: 4 kB / 494.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1718, allocations: 35.88 kB / 494.5 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.1726, allocations: 384.8 kB / 494.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.1729, allocations: 50.56 kB / 494.9 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.173, allocations: 16.94 kB / 494.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/0.1731, allocations: 4 kB / 494.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1731, allocations: 38.45 kB / 494.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.844e-06/0.1732, allocations: 0 / 494.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.00103/0.1742, allocations: 251.9 kB / 495.2 MB, free: 5.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.1743, allocations: 51.41 kB / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.1757, allocations: 0.8652 MB / 496.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1757, allocations: 29.7 kB / 496.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.176, allocations: 224.1 kB / 496.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.176, allocations: 15.75 kB / 496.4 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.176, allocations: 4 kB / 496.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1762, allocations: 358.8 kB / 496.7 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1764, allocations: 23.98 kB / 496.7 MB, free: 4.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1765, allocations: 27.98 kB / 496.8 MB, free: 4.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1767, allocations: 28.17 kB / 496.8 MB, free: 4.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1767, allocations: 0 / 496.8 MB, free: 4.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004363/0.1772, allocations: 137.1 kB / 496.9 MB, free: 4.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1772, allocations: 7.953 kB / 496.9 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1772, allocations: 0 / 496.9 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1773, allocations: 4 kB / 496.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1774, allocations: 15.92 kB / 497 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1774, allocations: 4 kB / 497 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1775, allocations: 4 kB / 497 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1776, allocations: 288 / 497 MB, free: 4.004 MB / 378.7 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.0002937/0.1779, allocations: 217.8 kB / 497.2 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.178, allocations: 39.53 kB / 497.2 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.1785, allocations: 153 kB / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1785, allocations: 0 / 497.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1785, allocations: 7.938 kB / 497.4 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1786, allocations: 4 kB / 497.4 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.1795, allocations: 474.3 kB / 497.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1795, allocations: 3.953 kB / 497.8 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1796, allocations: 16 kB / 497.9 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.1797, allocations: 4 kB / 497.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1797, allocations: 0 / 497.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1797, allocations: 0 / 497.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1797, allocations: 0 / 497.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.1802, allocations: 227.2 kB / 498.1 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1803, allocations: 124.5 kB / 498.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.1804, allocations: 0 / 498.2 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1805, allocations: 4 kB / 498.2 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1806, allocations: 7.984 kB / 498.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1806, allocations: 0 / 498.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.1817, allocations: 0.6511 MB / 498.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.1817, allocations: 0 / 498.9 MB, free: 1.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004508/0.1821, allocations: 35.94 kB / 498.9 MB, free: 1.957 MB / 378.7 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.001307/0.1835, allocations: 388.8 kB / 499.3 MB, free: 1.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.1839, allocations: 67.91 kB / 499.4 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1839, allocations: 0 / 499.4 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.184, allocations: 31.98 kB / 499.4 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.1846, allocations: 29.89 kB / 499.4 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1865, allocations: 0.8624 MB / 0.4886 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2627/0.4493, allocations: 0.8194 MB / 0.4894 GB, free: 42.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.211e-05/0.4494, allocations: 16.56 kB / 0.4894 GB, free: 42.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4494, allocations: 0 / 0.4894 GB, free: 42.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01345/0.4629, allocations: 3.66 MB / 0.4929 GB, free: 42.14 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches