Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001654, allocations: 182.7 kB / 16.4 MB, free: 5.75 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.052/2.052, 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.001123/0.001123, allocations: 93.48 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.5278/0.5278, allocations: 43.54 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005121/0.0005123, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 58.86 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002466/0.1404, allocations: 1.259 MB / 491.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1421, allocations: 0.8595 MB / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.1422, allocations: 0 / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.1425, allocations: 23.91 kB / 492.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1427, allocations: 35.84 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.143, allocations: 51.92 kB / 492.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1432, allocations: 47.88 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.1433, allocations: 7.984 kB / 492.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.1434, allocations: 19.92 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1435, allocations: 19.86 kB / 492.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1436, allocations: 0 / 492.5 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1437, allocations: 35.92 kB / 492.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.1438, allocations: 11.98 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.1438, allocations: 33.64 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.144, allocations: 67.89 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.144, allocations: 4 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.144, allocations: 0 / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.144, allocations: 0 / 492.7 MB, free: 8.723 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.0005458/0.1446, allocations: 371.4 kB / 493.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1446, allocations: 16.02 kB / 493.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.1447, allocations: 11.86 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1449, allocations: 175 kB / 493.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.145, allocations: 8 kB / 493.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.145, allocations: 4 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1452, allocations: 67.33 kB / 493.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1452, allocations: 3.906 kB / 493.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1453, allocations: 4 kB / 493.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1453, allocations: 0 / 493.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.1454, allocations: 23.94 kB / 493.4 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1459, allocations: 269 kB / 493.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1461, allocations: 50.5 kB / 493.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1462, allocations: 0 / 493.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1462, allocations: 34.56 kB / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.236e-06/0.1462, allocations: 7.984 kB / 493.7 MB, free: 7.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000838/0.1471, allocations: 153.4 kB / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.1472, allocations: 77.11 kB / 493.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1474, allocations: 129.8 kB / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1474, allocations: 29.7 kB / 494.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.1475, allocations: 158.5 kB / 494.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1475, allocations: 27.72 kB / 494.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.1476, allocations: 0 / 494.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1477, allocations: 314.8 kB / 494.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1478, allocations: 23.98 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.148, allocations: 37.64 kB / 494.6 MB, free: 6.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1481, allocations: 27.92 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1481, allocations: 32 / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003013/0.1484, allocations: 89.86 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1485, allocations: 4 kB / 494.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1485, allocations: 3.953 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1485, allocations: 4 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1486, allocations: 11.98 kB / 494.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1487, allocations: 8 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.1488, allocations: 7.984 kB / 494.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1488, allocations: 0 / 494.8 MB, free: 6.383 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.0001092/0.1489, allocations: 113.8 kB / 494.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.1489, allocations: 7.906 kB / 494.9 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.1493, allocations: 101.6 kB / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.1493, allocations: 7.953 kB / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1494, allocations: 0 / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1494, allocations: 0 / 495 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.15, allocations: 350.5 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.15, allocations: 0 / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1501, allocations: 12 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.1501, allocations: 7.938 kB / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1502, allocations: 0 / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1502, allocations: 4 kB / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1502, allocations: 0 / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.1506, allocations: 179.6 kB / 495.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/0.1506, allocations: 93.06 kB / 495.7 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1507, allocations: 7.953 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1508, allocations: 8 kB / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.1509, allocations: 3.984 kB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1509, allocations: 4 kB / 495.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.1511, allocations: 111.7 kB / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1511, allocations: 0 / 495.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.1514, allocations: 24 kB / 495.8 MB, free: 5.262 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.001338/0.1528, allocations: 436.1 kB / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1531, allocations: 63.89 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1532, allocations: 0 / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1533, allocations: 27.92 kB / 496.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1536, allocations: 19.94 kB / 496.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.1542, allocations: 194.5 kB / 496.5 MB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1545, allocations: 0.6926 MB / 497.2 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.1546, allocations: 15.44 kB / 497.2 MB, free: 3.816 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1546, allocations: 4 kB / 497.2 MB, free: 3.812 MB / 378.7 MB Notification: Performance of Templates: time 0.004909/0.1595, allocations: 1.555 MB / 498.8 MB, free: 2.258 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches