Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 98.97 kB / 17 MB, free: 6.105 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.001349/0.001349, allocations: 181.6 kB / 17.89 MB, free: 5.688 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.462/1.462, allocations: 223.3 MB / 241.9 MB, free: 300 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.2164/0.2164, allocations: 44.26 MB / 337.3 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003584, allocations: 8 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.0021/0.164, allocations: 1.27 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007311/0.1648, allocations: 403.6 kB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1648, allocations: 0 / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.1655, allocations: 439.2 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1658, allocations: 235.6 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1661, allocations: 151.2 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.1664, allocations: 127.7 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1665, allocations: 11.98 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1666, allocations: 111.7 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1668, allocations: 155.8 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1668, allocations: 0 / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.1669, allocations: 27.92 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.167, allocations: 83.73 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1671, allocations: 65.45 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1673, allocations: 171.8 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1673, allocations: 7.938 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1673, allocations: 0 / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1673, allocations: 0 / 474.8 MB, free: 10.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006284/0.1679, allocations: 0.5835 MB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.168, allocations: 8.031 kB / 475.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.168, allocations: 35.53 kB / 475.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1683, allocations: 279.3 kB / 475.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1683, allocations: 0 / 475.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.1683, allocations: 3.953 kB / 475.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1685, allocations: 61.67 kB / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1685, allocations: 0 / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1685, allocations: 0 / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1685, allocations: 0 / 475.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.238e-05/0.1686, allocations: 27.92 kB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.1691, allocations: 384.8 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.242e-05/0.1692, allocations: 34.56 kB / 476.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.1692, allocations: 16.92 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1693, allocations: 7.922 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.1693, allocations: 34.56 kB / 476.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1693, allocations: 3.938 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002537/0.1696, allocations: 109.1 kB / 476.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.1696, allocations: 51.41 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.1705, allocations: 0.8574 MB / 477.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1705, allocations: 25.83 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1707, allocations: 224.1 kB / 477.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1707, allocations: 3.906 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.1707, allocations: 4 kB / 477.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1709, allocations: 362.7 kB / 477.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.171, allocations: 8 kB / 477.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.171, allocations: 19.92 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.1711, allocations: 12.06 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1711, allocations: 0 / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001434/0.1712, allocations: 105.1 kB / 478 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1712, allocations: 4 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1713, allocations: 0 / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1713, allocations: 3.938 kB / 478 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.1713, allocations: 8 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1714, allocations: 8.031 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.1714, allocations: 3.984 kB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1714, allocations: 4 kB / 478.1 MB, free: 6.977 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 (2): * Single equations (assignments): 2 * 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.000197/0.1716, allocations: 210.3 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.1717, allocations: 35.53 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.1719, allocations: 124.5 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1719, allocations: 0 / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1719, allocations: 0 / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1719, allocations: 0 / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.1723, allocations: 285.5 kB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1723, allocations: 0 / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.1723, allocations: 4 kB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1723, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1723, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1723, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1723, allocations: 4 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1726, allocations: 198.9 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.1727, allocations: 116.4 kB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1728, allocations: 7.938 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1728, allocations: 3.984 kB / 479 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1729, allocations: 8.031 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1729, allocations: 4 kB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007224/0.1736, allocations: 0.6511 MB / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1736, allocations: 0 / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1739, allocations: 12 kB / 479.7 MB, free: 5.23 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 (2): * Single equations (assignments): 2 * 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.0009161/0.1748, allocations: 356.5 kB / 480.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.175, allocations: 23.98 kB / 480.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.175, allocations: 0 / 480.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.744e-05/0.175, allocations: 15.94 kB / 480.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1754, allocations: 26.08 kB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1764, allocations: 0.8056 MB / 480.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1769, allocations: 0.8223 MB / 481.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.071e-05/0.1769, allocations: 8.172 kB / 481.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.1769, allocations: 11.44 kB / 481.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1769, allocations: 3.938 kB / 481.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of Templates: time 0.004105/0.1811, allocations: 1.166 MB / 482.9 MB, free: 2.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches