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.001016/0.001016, allocations: 180.5 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.719/1.719, allocations: 205.4 MB / 222.5 MB, free: 9.027 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.0008673/0.0008672, allocations: 93.27 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.3758/0.3758, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1432, 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.002185/0.1454, allocations: 1.271 MB / 491.5 MB, free: 9.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006372/0.1461, allocations: 307.8 kB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.797e-05/0.1462, allocations: 4 kB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1465, allocations: 83.8 kB / 491.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.1467, allocations: 67.8 kB / 492 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.147, allocations: 79.89 kB / 492 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1472, allocations: 71.81 kB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1473, allocations: 12.16 kB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.1474, allocations: 35.84 kB / 492.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1475, allocations: 47.83 kB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1476, allocations: 4 kB / 492.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.1477, allocations: 35.92 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.586e-05/0.1477, allocations: 15.92 kB / 492.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.1478, allocations: 41.64 kB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1479, allocations: 75.88 kB / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1479, allocations: 0 / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1479, allocations: 0 / 492.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.148, allocations: 0 / 492.4 MB, free: 9.07 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.0005612/0.1485, allocations: 414.6 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1486, allocations: 16.02 kB / 492.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.1486, allocations: 19.77 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1489, allocations: 190.9 kB / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1489, allocations: 0 / 493 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1489, allocations: 7.938 kB / 493 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1491, allocations: 79.38 kB / 493.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1492, allocations: 0 / 493.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1492, allocations: 4 kB / 493.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1492, allocations: 4 kB / 493.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1493, allocations: 47.86 kB / 493.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.1498, allocations: 393 kB / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.1502, allocations: 85.16 kB / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.564e-05/0.1502, allocations: 37.8 kB / 493.6 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1503, allocations: 3.984 kB / 493.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1503, allocations: 42.55 kB / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1503, allocations: 0 / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007753/0.1511, allocations: 256.7 kB / 493.9 MB, free: 7.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.1512, allocations: 81.11 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1514, allocations: 230.3 kB / 494.2 MB, free: 6.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1514, allocations: 25.7 kB / 494.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.1515, allocations: 115.9 kB / 494.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1515, allocations: 27.56 kB / 494.4 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-06/0.1515, allocations: 4 kB / 494.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1517, allocations: 326.8 kB / 494.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1518, allocations: 39.91 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1519, allocations: 53.62 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.152, allocations: 43.98 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.152, allocations: 0 / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002595/0.1523, allocations: 137.5 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1523, allocations: 11.59 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1523, allocations: 8 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1524, allocations: 0.5625 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.1525, allocations: 27.98 kB / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1525, allocations: 0 / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.1525, allocations: 8 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1525, allocations: 4 kB / 495.1 MB, free: 6.137 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.0001136/0.1527, allocations: 129.8 kB / 495.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.1527, allocations: 15.86 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1531, allocations: 162.5 kB / 495.4 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1531, allocations: 7.984 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1531, allocations: 0 / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1531, allocations: 0 / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.1538, allocations: 0.5141 MB / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1538, allocations: 0 / 495.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.1539, allocations: 23.98 kB / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1539, allocations: 0 / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1539, allocations: 8.031 kB / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1539, allocations: 0 / 495.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.154, allocations: 4.125 kB / 495.9 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.1543, allocations: 323.3 kB / 496.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.1544, allocations: 85.02 kB / 496.3 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1544, allocations: 4 kB / 496.3 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1545, allocations: 7.984 kB / 496.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1545, allocations: 8 kB / 496.3 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.1546, allocations: 0 / 496.3 MB, free: 4.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1547, allocations: 176.2 kB / 496.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1547, allocations: 288 / 496.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.155, allocations: 20 kB / 496.5 MB, free: 4.543 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.0008158/0.1558, allocations: 404.9 kB / 496.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.1561, allocations: 92 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1561, allocations: 4 kB / 497 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1562, allocations: 52.05 kB / 497.1 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1566, allocations: 19.94 kB / 497.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.1572, allocations: 345.1 kB / 497.4 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1575, allocations: 0.7199 MB / 498.1 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.1576, allocations: 15.44 kB / 498.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1576, allocations: 3.938 kB / 498.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of Templates: time 0.003774/0.1614, allocations: 1.77 MB / 499.9 MB, free: 1.113 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/jenkins/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