Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 180 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.626/1.626, 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.0008132/0.0008134, allocations: 86.3 kB / 270.9 MB, free: 8.352 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.4524/0.4524, allocations: 43.56 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 12 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.001939/0.141, allocations: 1.263 MB / 491.5 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1423, allocations: 0.883 MB / 492.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.1424, allocations: 4 kB / 492.4 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.1426, allocations: 11.92 kB / 492.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.1428, allocations: 39.84 kB / 492.4 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1431, allocations: 83.83 kB / 492.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1433, allocations: 43.84 kB / 492.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1434, allocations: 23.97 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.445e-05/0.1434, allocations: 11.88 kB / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1436, allocations: 23.91 kB / 492.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1436, allocations: 4 kB / 492.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.1437, allocations: 39.98 kB / 492.7 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.1437, allocations: 11.92 kB / 492.7 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1438, allocations: 33.64 kB / 492.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1439, allocations: 67.89 kB / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1439, allocations: 0 / 492.8 MB, free: 8.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.144, allocations: 4 kB / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.144, allocations: 0 / 492.8 MB, free: 8.41 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.0004476/0.1444, allocations: 375.4 kB / 493.1 MB, free: 7.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1445, allocations: 12.02 kB / 493.2 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1445, allocations: 11.86 kB / 493.2 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.1447, allocations: 179 kB / 493.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.1447, allocations: 4 kB / 493.3 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1448, allocations: 0 / 493.3 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1449, allocations: 71.33 kB / 493.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1449, allocations: 3.906 kB / 493.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.145, allocations: 4 kB / 493.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.145, allocations: 4 kB / 493.4 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.597e-05/0.1451, allocations: 35.92 kB / 493.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1455, allocations: 277 kB / 493.7 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1457, allocations: 46.5 kB / 493.8 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.705e-05/0.1457, allocations: 20.94 kB / 493.8 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1458, allocations: 4 kB / 493.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1458, allocations: 30.56 kB / 493.8 MB, free: 7.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1458, allocations: 4 kB / 493.8 MB, free: 7.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005935/0.1464, allocations: 165.3 kB / 494 MB, free: 7.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1465, allocations: 77.11 kB / 494.1 MB, free: 6.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1466, allocations: 133.8 kB / 494.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1466, allocations: 25.7 kB / 494.2 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1467, allocations: 96.03 kB / 494.3 MB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1467, allocations: 15.75 kB / 494.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.1467, allocations: 0 / 494.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1468, allocations: 330.8 kB / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.1469, allocations: 27.92 kB / 494.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.147, allocations: 37.69 kB / 494.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/0.1471, allocations: 32.02 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1471, allocations: 0 / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002063/0.1473, allocations: 89.52 kB / 494.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1474, allocations: 11.95 kB / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1474, allocations: 0 / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1474, allocations: 0 / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.1475, allocations: 19.98 kB / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1475, allocations: 0 / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.1475, allocations: 11.98 kB / 494.9 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1475, allocations: 4 kB / 494.9 MB, free: 6.059 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.268e-05/0.1476, allocations: 113.8 kB / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.1477, allocations: 0 / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1479, allocations: 117.7 kB / 495.1 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1479, allocations: 3.984 kB / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.148, allocations: 0 / 495.1 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.148, allocations: 3.984 kB / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1484, allocations: 362.9 kB / 495.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1484, allocations: 0 / 495.5 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.1485, allocations: 19.89 kB / 495.5 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1485, allocations: 0 / 495.5 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1485, allocations: 3.984 kB / 495.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1485, allocations: 0 / 495.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1485, allocations: 0 / 495.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1487, allocations: 183.5 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1488, allocations: 89 kB / 495.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1488, allocations: 3.953 kB / 495.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.1489, allocations: 15.98 kB / 495.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.1489, allocations: 0 / 495.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1489, allocations: 4 kB / 495.8 MB, free: 5.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.98e-05/0.149, allocations: 103.8 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.149, allocations: 0 / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.1493, allocations: 23.98 kB / 495.9 MB, free: 4.93 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.0009073/0.1502, allocations: 455.9 kB / 496.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1504, allocations: 55.97 kB / 496.4 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1504, allocations: 0 / 496.4 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.1505, allocations: 35.97 kB / 496.4 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1508, allocations: 15.94 kB / 496.5 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.1512, allocations: 206.3 kB / 496.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1515, allocations: 0.6926 MB / 497.4 MB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.1516, allocations: 19.44 kB / 497.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1516, allocations: 0 / 497.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of Templates: time 0.003252/0.1548, allocations: 1.567 MB / 498.9 MB, free: 1.887 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches