Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 177.1 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.619/1.619, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009842/0.0009843, allocations: 92.92 kB / 270.9 MB, free: 8.355 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.5643/0.5643, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 12 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.001961/0.1447, allocations: 1.251 MB / 491.5 MB, free: 9.953 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.146, allocations: 0.8908 MB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.146, allocations: 4 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.1462, allocations: 15.92 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.1464, allocations: 39.84 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1466, allocations: 79.77 kB / 492.5 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1468, allocations: 47.84 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.1469, allocations: 15.98 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.1469, allocations: 19.92 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1471, allocations: 27.84 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1471, allocations: 0 / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.1472, allocations: 35.98 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.1472, allocations: 15.92 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.1473, allocations: 25.7 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1474, allocations: 67.89 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1474, allocations: 0 / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1474, allocations: 0 / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1474, allocations: 0 / 492.8 MB, free: 8.66 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.000509/0.1479, allocations: 383.3 kB / 493.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.148, allocations: 12.02 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.148, allocations: 11.86 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1483, allocations: 183 kB / 493.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1483, allocations: 0 / 493.3 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1483, allocations: 7.984 kB / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1485, allocations: 67.39 kB / 493.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1485, allocations: 3.906 kB / 493.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1485, allocations: 0 / 493.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1486, allocations: 4 kB / 493.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1487, allocations: 31.88 kB / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1491, allocations: 277 kB / 493.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.1493, allocations: 50.55 kB / 493.8 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.1494, allocations: 12.86 kB / 493.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1494, allocations: 0 / 493.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1494, allocations: 46.58 kB / 493.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1494, allocations: 0 / 493.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005904/0.15, allocations: 157.4 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.1501, allocations: 81.05 kB / 494.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1503, allocations: 133.8 kB / 494.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1503, allocations: 25.7 kB / 494.2 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1503, allocations: 104 kB / 494.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.855e-05/0.1504, allocations: 11.75 kB / 494.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.1504, allocations: 4 kB / 494.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1505, allocations: 322.8 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.1506, allocations: 27.98 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.1507, allocations: 37.7 kB / 494.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.533e-05/0.1508, allocations: 23.98 kB / 494.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1508, allocations: 7.969 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001977/0.151, allocations: 93.56 kB / 494.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.151, allocations: 11.95 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.151, allocations: 256 / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.151, allocations: 3.938 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.1511, allocations: 19.98 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1511, allocations: 4 kB / 494.9 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.1512, allocations: 4 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.1512, allocations: 4 kB / 494.9 MB, free: 6.301 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 8.165e-05/0.1513, allocations: 117.8 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1513, allocations: 4 kB / 495 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.1516, allocations: 109.5 kB / 495.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1516, allocations: 0 / 495.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1516, allocations: 0 / 495.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1516, allocations: 3.938 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.152, allocations: 358.6 kB / 495.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1521, allocations: 0 / 495.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.1521, allocations: 19.94 kB / 495.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1521, allocations: 0 / 495.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1522, allocations: 4 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1522, allocations: 0 / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1522, allocations: 0 / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1524, allocations: 191.5 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.1525, allocations: 85 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1525, allocations: 11.95 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1526, allocations: 4.188 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.1527, allocations: 4.266 kB / 495.8 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.1527, allocations: 12 kB / 495.8 MB, free: 5.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.1528, allocations: 103.8 kB / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1528, allocations: 0 / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.153, allocations: 24 kB / 495.9 MB, free: 5.164 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.000877/0.1539, allocations: 439.7 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1541, allocations: 67.89 kB / 496.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1541, allocations: 0 / 496.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.1542, allocations: 31.92 kB / 496.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1545, allocations: 23.92 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.155, allocations: 198.4 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1553, allocations: 0.6926 MB / 497.4 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.1553, allocations: 15.42 kB / 497.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1553, allocations: 4 kB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of Templates: time 0.003123/0.1585, allocations: 1.567 MB / 498.9 MB, free: 2.133 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches