Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002281/0.00228, allocations: 182.8 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.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001617/0.001617, allocations: 94.41 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.5315/0.5315, allocations: 43.54 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006364/0.0006365, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.137, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003712/0.1408, allocations: 1.275 MB / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.142, allocations: 287.8 kB / 491.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.1421, allocations: 0 / 491.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.1426, allocations: 99.67 kB / 491.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1429, allocations: 55.86 kB / 491.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.1436, allocations: 87.77 kB / 492 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1438, allocations: 47.94 kB / 492.1 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.144, allocations: 20.16 kB / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1442, allocations: 39.83 kB / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.1444, allocations: 35.91 kB / 492.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1444, allocations: 0 / 492.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1446, allocations: 23.98 kB / 492.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.1447, allocations: 15.92 kB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.1448, allocations: 41.64 kB / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1451, allocations: 79.81 kB / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1451, allocations: 0 / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1451, allocations: 0 / 492.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1451, allocations: 4 kB / 492.3 MB, free: 9.113 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009018/0.146, allocations: 411 kB / 492.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/0.1461, allocations: 12.02 kB / 492.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.1462, allocations: 19.77 kB / 492.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1466, allocations: 190.9 kB / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1467, allocations: 0 / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.1467, allocations: 4 kB / 492.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.1471, allocations: 83.33 kB / 493 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1472, allocations: 0 / 493 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1472, allocations: 0 / 493 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.1472, allocations: 7.984 kB / 493 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.1475, allocations: 43.92 kB / 493.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009225/0.1484, allocations: 401 kB / 493.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.149, allocations: 85.16 kB / 493.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.1491, allocations: 4 kB / 493.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.1491, allocations: 38.66 kB / 493.6 MB, free: 7.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.998e-06/0.1491, allocations: 3.938 kB / 493.6 MB, free: 7.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001516/0.1507, allocations: 261.1 kB / 493.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.1508, allocations: 77.11 kB / 493.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004485/0.1513, allocations: 234.3 kB / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.1513, allocations: 25.7 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1515, allocations: 174.3 kB / 494.3 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.1516, allocations: 31.5 kB / 494.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.1516, allocations: 8 kB / 494.4 MB, free: 6.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1518, allocations: 318.8 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.1521, allocations: 31.98 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1523, allocations: 49.69 kB / 494.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1526, allocations: 47.97 kB / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1526, allocations: 0 / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005838/0.1532, allocations: 121.9 kB / 494.9 MB, free: 6.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.1532, allocations: 7.953 kB / 494.9 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1533, allocations: 0 / 494.9 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.1533, allocations: 11.98 kB / 495 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1535, allocations: 23.92 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1536, allocations: 0 / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.1537, allocations: 15.98 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.1538, allocations: 4 kB / 495 MB, free: 6.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0002033/0.154, allocations: 129.8 kB / 495.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1541, allocations: 11.81 kB / 495.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/0.1549, allocations: 162.5 kB / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1549, allocations: 0 / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.1549, allocations: 4 kB / 495.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.1565, allocations: 0.5141 MB / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1565, allocations: 0 / 495.8 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1567, allocations: 23.92 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.1568, allocations: 8.344 kB / 495.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.1568, allocations: 0 / 495.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.1568, allocations: 8 kB / 495.8 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1568, allocations: 0 / 495.8 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007457/0.1576, allocations: 334.9 kB / 496.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1578, allocations: 92.92 kB / 496.3 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.1578, allocations: 12.2 kB / 496.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1581, allocations: 4 kB / 496.3 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1582, allocations: 11.98 kB / 496.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1582, allocations: 11.94 kB / 496.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003115/0.1586, allocations: 172.2 kB / 496.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1586, allocations: 0 / 496.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008552/0.1594, allocations: 23.95 kB / 496.5 MB, free: 4.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001816/0.1613, allocations: 408 kB / 496.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.162, allocations: 91.89 kB / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.162, allocations: 0 / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.1623, allocations: 47.91 kB / 497 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.163, allocations: 19.92 kB / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1641, allocations: 345.2 kB / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1647, allocations: 0.7238 MB / 498.1 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1648, allocations: 11.44 kB / 498.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1648, allocations: 0 / 498.1 MB, free: 2.891 MB / 378.7 MB Notification: Performance of Templates: time 0.007524/0.1724, allocations: 1.782 MB / 499.9 MB, free: 1.109 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches