Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001517, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001148/0.001148, allocations: 90.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2872/0.2872, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004542, allocations: 15.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.002566/0.1558, allocations: 1.276 MB / 491.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1577, allocations: 0.8714 MB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.1579, allocations: 4 kB / 492.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1581, allocations: 19.91 kB / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1584, allocations: 35.84 kB / 492.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.1588, allocations: 79.83 kB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.159, allocations: 39.89 kB / 492.5 MB, free: 7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1591, allocations: 24.11 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.1592, allocations: 23.91 kB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1593, allocations: 19.88 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1594, allocations: 7.938 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1595, allocations: 27.98 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.1596, allocations: 15.97 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1596, allocations: 37.64 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1599, allocations: 71.83 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1599, allocations: 0 / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1599, allocations: 0 / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1599, allocations: 0 / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005596/0.1605, allocations: 379.4 kB / 493.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1605, allocations: 12.02 kB / 493.1 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.1606, allocations: 7.906 kB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1608, allocations: 198.9 kB / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1609, allocations: 0 / 493.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.1609, allocations: 7.984 kB / 493.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1612, allocations: 88.23 kB / 493.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1612, allocations: 0 / 493.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1612, allocations: 3.938 kB / 493.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1613, allocations: 4 kB / 493.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1614, allocations: 39.97 kB / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.1622, allocations: 389 kB / 493.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.1626, allocations: 89.16 kB / 494 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.1627, allocations: 4 kB / 494 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1627, allocations: 38.5 kB / 494 MB, free: 5.352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 4.669e-06/0.1627, allocations: 0 / 494 MB, free: 5.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.00118/0.1639, allocations: 241.1 kB / 494.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.164, allocations: 110.8 kB / 494.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1642, allocations: 144.8 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1643, allocations: 25.7 kB / 494.5 MB, free: 4.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/0.1644, allocations: 158.6 kB / 494.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.1645, allocations: 39.47 kB / 494.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.1645, allocations: 8 kB / 494.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1646, allocations: 310.8 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.1648, allocations: 35.97 kB / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.165, allocations: 62.48 kB / 495.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1652, allocations: 44.02 kB / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1652, allocations: 0 / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004638/0.1657, allocations: 125.7 kB / 495.3 MB, free: 4.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1657, allocations: 6.656 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1658, allocations: 8 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.1658, allocations: 7.953 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.166, allocations: 19.98 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.166, allocations: 0 / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.1661, allocations: 12 kB / 495.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1661, allocations: 7.984 kB / 495.3 MB, free: 3.945 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001376/0.1663, allocations: 117.8 kB / 495.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.1664, allocations: 15.91 kB / 495.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.1669, allocations: 145.5 kB / 495.6 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1669, allocations: 3.953 kB / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.167, allocations: 0 / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.167, allocations: 0 / 495.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.168, allocations: 0.503 MB / 496.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.168, allocations: 0 / 496.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1682, allocations: 31.88 kB / 496.1 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.1682, allocations: 4.031 kB / 496.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1682, allocations: 0 / 496.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.1683, allocations: 4 kB / 496.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1683, allocations: 192 / 496.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.1688, allocations: 338.9 kB / 496.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.1689, allocations: 89.02 kB / 496.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.169, allocations: 3.984 kB / 496.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1691, allocations: 11.94 kB / 496.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.1692, allocations: 11.98 kB / 496.6 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1692, allocations: 8 kB / 496.6 MB, free: 2.547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1694, allocations: 103.3 kB / 496.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1694, allocations: 0 / 496.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004637/0.1698, allocations: 27.98 kB / 496.7 MB, free: 2.418 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001381/0.1712, allocations: 451 kB / 497.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.1717, allocations: 83.95 kB / 497.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1718, allocations: 0 / 497.3 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.172, allocations: 47.97 kB / 497.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.1724, allocations: 27.53 kB / 497.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.1731, allocations: 264.5 kB / 497.6 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1735, allocations: 0.7043 MB / 498.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.1736, allocations: 23.42 kB / 498.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1736, allocations: 0 / 498.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of Templates: time 0.005864/0.1795, allocations: 1.844 MB / 0.4884 GB, free: 14.97 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches