Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 178.2 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.65/1.65, 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.0007749/0.0007749, allocations: 82.36 kB / 270.9 MB, free: 8.367 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.4142/0.4142, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005624, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1474, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002403/0.1499, allocations: 1.259 MB / 491.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1512, allocations: 0.8908 MB / 492.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.1513, allocations: 0 / 492.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.1515, allocations: 19.92 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1517, allocations: 31.91 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.152, allocations: 83.83 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1522, allocations: 43.84 kB / 492.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1523, allocations: 23.95 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.1523, allocations: 15.94 kB / 492.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1525, allocations: 27.84 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1525, allocations: 0 / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1526, allocations: 35.98 kB / 492.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.1527, allocations: 11.98 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.1527, allocations: 33.64 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1529, allocations: 67.89 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1529, allocations: 0 / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1529, allocations: 0 / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1529, allocations: 0 / 492.8 MB, free: 8.68 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.00052/0.1534, allocations: 379.4 kB / 493.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1535, allocations: 12.02 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1536, allocations: 11.86 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1538, allocations: 182.9 kB / 493.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1538, allocations: 0 / 493.3 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1538, allocations: 8 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.154, allocations: 63.39 kB / 493.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.154, allocations: 3.906 kB / 493.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1541, allocations: 4 kB / 493.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1541, allocations: 0 / 493.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1542, allocations: 31.92 kB / 493.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.1546, allocations: 280.9 kB / 493.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1549, allocations: 46.56 kB / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.1549, allocations: 16.94 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.155, allocations: 0 / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.155, allocations: 38.56 kB / 493.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.155, allocations: 4 kB / 493.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006276/0.1557, allocations: 165.3 kB / 494 MB, free: 7.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.1557, allocations: 85.11 kB / 494.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1559, allocations: 125.8 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1559, allocations: 29.7 kB / 494.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.156, allocations: 95.98 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.156, allocations: 15.75 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-06/0.156, allocations: 3.938 kB / 494.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1562, allocations: 326.8 kB / 494.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.1562, allocations: 27.98 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/0.1563, allocations: 37.69 kB / 494.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.1564, allocations: 23.98 kB / 494.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1564, allocations: 4 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.1567, allocations: 93.61 kB / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1567, allocations: 7.953 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1567, allocations: 0 / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1567, allocations: 0 / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.1568, allocations: 15.98 kB / 494.9 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1568, allocations: 7.938 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.1569, allocations: 8.234 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1569, allocations: 8 kB / 494.9 MB, free: 6.324 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.0001056/0.157, allocations: 113.8 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.157, allocations: 4 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.1573, allocations: 109.5 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1573, allocations: 3.984 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1573, allocations: 0 / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1573, allocations: 0 / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1578, allocations: 366.5 kB / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1578, allocations: 0 / 495.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.1579, allocations: 15.95 kB / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1579, allocations: 0 / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1579, allocations: 3.984 kB / 495.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1579, allocations: 0 / 495.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1579, allocations: 0 / 495.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1582, allocations: 187.8 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.1582, allocations: 89 kB / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1582, allocations: 11.94 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.1583, allocations: 7.984 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1584, allocations: 4 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1584, allocations: 0 / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.1585, allocations: 107.8 kB / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1585, allocations: 0 / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.1587, allocations: 27.92 kB / 495.9 MB, free: 5.188 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.0009368/0.1597, allocations: 440.5 kB / 496.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1599, allocations: 63.97 kB / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1599, allocations: 0 / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.16, allocations: 40.03 kB / 496.4 MB, free: 4.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1604, allocations: 15.94 kB / 496.5 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.1608, allocations: 210.4 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1611, allocations: 0.6887 MB / 497.4 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.1611, allocations: 11.44 kB / 497.4 MB, free: 3.723 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1612, allocations: 0 / 497.4 MB, free: 3.723 MB / 378.7 MB Notification: Performance of Templates: time 0.003369/0.1645, allocations: 1.579 MB / 498.9 MB, free: 2.145 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches