Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 178.8 kB / 16.41 MB, free: 5.703 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.661/1.661, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008484/0.0008483, allocations: 97.11 kB / 270.9 MB, free: 8.344 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.4441/0.4441, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004995, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.161, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002463/0.1636, allocations: 1.255 MB / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000675/0.1643, allocations: 295.8 kB / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.1643, allocations: 0 / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1647, allocations: 75.77 kB / 491.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1649, allocations: 51.88 kB / 491.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.1652, allocations: 67.86 kB / 492 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1654, allocations: 55.83 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1655, allocations: 15.97 kB / 492 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.1656, allocations: 27.91 kB / 492.1 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1657, allocations: 43.83 kB / 492.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1658, allocations: 0 / 492.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.584e-05/0.1658, allocations: 19.98 kB / 492.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.1659, allocations: 23.92 kB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.166, allocations: 37.7 kB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1661, allocations: 67.89 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1662, allocations: 0 / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1662, allocations: 0 / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1662, allocations: 0 / 492.3 MB, free: 9.168 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005861/0.1668, allocations: 395 kB / 492.6 MB, free: 8.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1668, allocations: 12.02 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.1669, allocations: 11.86 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1671, allocations: 194.9 kB / 492.9 MB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1671, allocations: 4 kB / 492.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.1672, allocations: 4 kB / 492.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1674, allocations: 45.69 kB / 492.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1674, allocations: 4 kB / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1674, allocations: 0 / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1674, allocations: 0 / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1675, allocations: 31.88 kB / 492.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.168, allocations: 277 kB / 493.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1683, allocations: 46.55 kB / 493.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.1684, allocations: 12.86 kB / 493.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1684, allocations: 4 kB / 493.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.1685, allocations: 38.5 kB / 493.3 MB, free: 7.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1685, allocations: 4 kB / 493.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006534/0.1692, allocations: 165.2 kB / 493.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1692, allocations: 55.41 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1694, allocations: 198.2 kB / 493.7 MB, free: 7.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1695, allocations: 29.7 kB / 493.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.1695, allocations: 104.1 kB / 493.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1696, allocations: 15.7 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1696, allocations: 4 kB / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1697, allocations: 326.8 kB / 494.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.1698, allocations: 19.98 kB / 494.2 MB, free: 6.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.1699, allocations: 19.98 kB / 494.2 MB, free: 6.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.17, allocations: 32.11 kB / 494.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.17, allocations: 0 / 494.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000207/0.1702, allocations: 93.58 kB / 494.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1702, allocations: 7.953 kB / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1703, allocations: 0 / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1703, allocations: 0 / 494.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.1704, allocations: 23.92 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1704, allocations: 3.938 kB / 494.4 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1704, allocations: 8 kB / 494.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1704, allocations: 0 / 494.4 MB, free: 6.801 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.0001118/0.1706, allocations: 121.8 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1706, allocations: 7.906 kB / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.1709, allocations: 109.9 kB / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1709, allocations: 0 / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1709, allocations: 0 / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1709, allocations: 0 / 494.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.1714, allocations: 362.5 kB / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1714, allocations: 0 / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.1715, allocations: 15.95 kB / 495 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.1715, allocations: 3.984 kB / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1715, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1715, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1716, allocations: 0 / 495 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.1718, allocations: 195.5 kB / 495.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.1719, allocations: 93 kB / 495.3 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.172, allocations: 3.953 kB / 495.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.172, allocations: 4.281 kB / 495.3 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.1721, allocations: 11.98 kB / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1721, allocations: 0 / 495.3 MB, free: 5.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1723, allocations: 164 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1723, allocations: 0 / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.1726, allocations: 20 kB / 495.5 MB, free: 5.605 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.001051/0.1736, allocations: 399.9 kB / 495.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.174, allocations: 63.91 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.174, allocations: 0 / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1741, allocations: 27.98 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1745, allocations: 15.98 kB / 496 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.1751, allocations: 254.9 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1754, allocations: 0.7004 MB / 496.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1755, allocations: 11.44 kB / 496.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1755, allocations: 0 / 496.9 MB, free: 4.125 MB / 378.7 MB Notification: Performance of Templates: time 0.004026/0.1795, allocations: 1.462 MB / 498.4 MB, free: 2.664 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches