Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 179.4 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.618/1.618, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.000804/0.0008037, allocations: 94.58 kB / 270.9 MB, free: 8.359 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.4259/0.4259, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.000466, allocations: 12 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002211/0.1648, allocations: 1.271 MB / 491.5 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1662, allocations: 0.8752 MB / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.1662, allocations: 0 / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1665, allocations: 27.91 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1666, allocations: 27.92 kB / 492.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1669, allocations: 67.84 kB / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.167, allocations: 55.84 kB / 492.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1671, allocations: 24.16 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.1672, allocations: 15.92 kB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1673, allocations: 31.78 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1674, allocations: 0 / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.1675, allocations: 43.98 kB / 492.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.1675, allocations: 11.92 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1675, allocations: 33.64 kB / 492.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1677, allocations: 63.89 kB / 492.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1677, allocations: 7.938 kB / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1677, allocations: 0 / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1677, allocations: 0 / 492.8 MB, free: 8.418 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005203/0.1683, allocations: 379.4 kB / 493.2 MB, free: 8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1683, allocations: 12.02 kB / 493.2 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1684, allocations: 11.86 kB / 493.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1686, allocations: 194.9 kB / 493.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1686, allocations: 4 kB / 493.4 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.1686, allocations: 4 kB / 493.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.1688, allocations: 79.33 kB / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1688, allocations: 0 / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1689, allocations: 0 / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1689, allocations: 0 / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.169, allocations: 47.91 kB / 493.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.1694, allocations: 288.8 kB / 493.8 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1695, allocations: 54.48 kB / 493.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.1696, allocations: 24.97 kB / 493.9 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1696, allocations: 0 / 493.9 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1697, allocations: 42.56 kB / 493.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.1697, allocations: 0 / 493.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006619/0.1703, allocations: 197.3 kB / 494.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.1704, allocations: 77.11 kB / 494.2 MB, free: 6.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1706, allocations: 141.7 kB / 494.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1706, allocations: 29.7 kB / 494.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.1707, allocations: 92.12 kB / 494.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1707, allocations: 23.66 kB / 494.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.1707, allocations: 0 / 494.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1709, allocations: 326.8 kB / 494.8 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.171, allocations: 23.98 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.1711, allocations: 45.64 kB / 494.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.388e-05/0.1712, allocations: 36.02 kB / 494.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1712, allocations: 0 / 494.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002218/0.1714, allocations: 109.9 kB / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1714, allocations: 4 kB / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1715, allocations: 0 / 495 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1715, allocations: 4 kB / 495 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1716, allocations: 27.92 kB / 495 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1716, allocations: 4 kB / 495 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1717, allocations: 8 kB / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1717, allocations: 0 / 495 MB, free: 5.938 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 (8): * Single equations (assignments): 8 * 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.0001107/0.1718, allocations: 125.8 kB / 495.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.1718, allocations: 11.86 kB / 495.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.1722, allocations: 121.9 kB / 495.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1722, allocations: 0 / 495.3 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1722, allocations: 4 kB / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1722, allocations: 0 / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.1727, allocations: 390.4 kB / 495.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1727, allocations: 0 / 495.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.1728, allocations: 23.98 kB / 495.7 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1728, allocations: 4 kB / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1728, allocations: 0 / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1728, allocations: 0 / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1728, allocations: 480 / 495.7 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.1731, allocations: 207.3 kB / 495.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.1732, allocations: 92.95 kB / 496 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1732, allocations: 4 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.1733, allocations: 12 kB / 496 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.1734, allocations: 7.922 kB / 496 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1734, allocations: 4 kB / 496 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1735, allocations: 107.3 kB / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1735, allocations: 0 / 496.1 MB, free: 4.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.1738, allocations: 27.98 kB / 496.1 MB, free: 4.715 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 (8): * Single equations (assignments): 8 * 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.001176/0.175, allocations: 441.4 kB / 496.6 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1752, allocations: 67.91 kB / 496.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1753, allocations: 0 / 496.6 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/0.1754, allocations: 43.97 kB / 496.7 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1757, allocations: 15.94 kB / 496.7 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.1762, allocations: 230.7 kB / 496.9 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1766, allocations: 0.7081 MB / 497.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.1766, allocations: 19.42 kB / 497.7 MB, free: 3.184 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1766, allocations: 0 / 497.7 MB, free: 3.184 MB / 378.7 MB Notification: Performance of Templates: time 0.004181/0.1808, allocations: 1.7 MB / 499.4 MB, free: 1.484 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches