Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008942/0.0008941, allocations: 179.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.877/1.877, allocations: 205.4 MB / 222.6 MB, free: 9.094 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.001058/0.001058, allocations: 98.8 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.4299/0.4299, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 19.92 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1434, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001941/0.1454, allocations: 1.259 MB / 491.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1468, allocations: 0.8753 MB / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.1468, allocations: 0 / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1471, allocations: 23.91 kB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.1472, allocations: 27.86 kB / 492.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1475, allocations: 67.91 kB / 492.5 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1476, allocations: 47.84 kB / 492.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1477, allocations: 19.92 kB / 492.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.1478, allocations: 23.86 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1479, allocations: 19.91 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1479, allocations: 4 kB / 492.6 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.148, allocations: 35.98 kB / 492.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.1481, allocations: 11.94 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.1481, allocations: 25.7 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1483, allocations: 63.89 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1483, allocations: 0 / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1483, allocations: 3.938 kB / 492.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1483, allocations: 0 / 492.7 MB, free: 8.461 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.0005198/0.1488, allocations: 383.4 kB / 493.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1489, allocations: 12.02 kB / 493.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.1489, allocations: 11.86 kB / 493.1 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1492, allocations: 183 kB / 493.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1492, allocations: 0 / 493.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1492, allocations: 0 / 493.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1494, allocations: 67.41 kB / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1494, allocations: 7.844 kB / 493.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1495, allocations: 0 / 493.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1495, allocations: 0 / 493.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.1496, allocations: 31.92 kB / 493.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.15, allocations: 269 kB / 493.7 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.1502, allocations: 54.47 kB / 493.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1503, allocations: 16.86 kB / 493.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1503, allocations: 0 / 493.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.1504, allocations: 34.56 kB / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1504, allocations: 0 / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005711/0.151, allocations: 157.4 kB / 493.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.151, allocations: 81.11 kB / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1512, allocations: 133.8 kB / 494.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1512, allocations: 25.7 kB / 494.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.1513, allocations: 100 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.1513, allocations: 11.75 kB / 494.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.1513, allocations: 4 kB / 494.3 MB, free: 6.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1515, allocations: 322.8 kB / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.1516, allocations: 23.98 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.1516, allocations: 33.7 kB / 494.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.35e-05/0.1517, allocations: 23.98 kB / 494.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1517, allocations: 0 / 494.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001902/0.1519, allocations: 93.55 kB / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1519, allocations: 11.95 kB / 494.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.152, allocations: 3.938 kB / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.152, allocations: 0 / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.152, allocations: 15.98 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1521, allocations: 0 / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1521, allocations: 8 kB / 494.8 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1521, allocations: 4 kB / 494.8 MB, free: 6.145 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 9.176e-05/0.1522, allocations: 117.8 kB / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.1522, allocations: 0 / 494.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1525, allocations: 109.4 kB / 495 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1525, allocations: 0 / 495 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1525, allocations: 0 / 495 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1525, allocations: 0 / 495 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.153, allocations: 346.9 kB / 495.4 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.153, allocations: 12.05 kB / 495.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.1531, allocations: 15.89 kB / 495.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1531, allocations: 4 kB / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1531, allocations: 0 / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1531, allocations: 0 / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1531, allocations: 0 / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1533, allocations: 183.5 kB / 495.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1534, allocations: 85.02 kB / 495.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1534, allocations: 11.94 kB / 495.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.1535, allocations: 4 kB / 495.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1536, allocations: 0 / 495.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1536, allocations: 4 kB / 495.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.1537, allocations: 107.2 kB / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1537, allocations: 0 / 495.8 MB, free: 5.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.1539, allocations: 24 kB / 495.8 MB, free: 5.039 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.0009615/0.1549, allocations: 449 kB / 496.3 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.1551, allocations: 55.97 kB / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1551, allocations: 0 / 496.3 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.1552, allocations: 27.98 kB / 496.3 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1555, allocations: 23.91 kB / 496.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.1559, allocations: 206.3 kB / 496.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1563, allocations: 0.6887 MB / 497.2 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.1564, allocations: 15.44 kB / 497.3 MB, free: 3.574 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1564, allocations: 0 / 497.3 MB, free: 3.574 MB / 378.7 MB Notification: Performance of Templates: time 0.003255/0.1596, allocations: 1.54 MB / 498.8 MB, free: 2.035 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches