Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002403/0.002411, allocations: 186.9 kB / 16.4 MB, free: 5.625 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.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001052/0.001052, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2814/0.2814, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007301/0.0007305, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1556, allocations: 58.87 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.002575/0.1582, allocations: 1.252 MB / 491.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.1592, allocations: 283.9 kB / 491.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.1593, allocations: 4 kB / 491.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.1595, allocations: 19.86 kB / 491.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1597, allocations: 27.91 kB / 491.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.1602, allocations: 83.77 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1603, allocations: 35.95 kB / 491.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1605, allocations: 11.98 kB / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.1605, allocations: 19.88 kB / 491.9 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.398e-05/0.1606, allocations: 11.92 kB / 492 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1606, allocations: 4 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.711e-05/0.1607, allocations: 16 kB / 492 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1608, allocations: 15.91 kB / 492 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1609, allocations: 37.64 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.161, allocations: 63.84 kB / 492.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1611, allocations: 3.938 kB / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1611, allocations: 0 / 492.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1611, allocations: 0 / 492.1 MB, free: 7.441 MB / 330.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.00056/0.1617, allocations: 371.4 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1617, allocations: 16.02 kB / 492.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1618, allocations: 7.859 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.162, allocations: 187 kB / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1621, allocations: 0 / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1621, allocations: 0 / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1623, allocations: 53.62 kB / 492.7 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1623, allocations: 11.98 kB / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1624, allocations: 0 / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1624, allocations: 0 / 492.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1625, allocations: 27.94 kB / 492.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.1631, allocations: 284.9 kB / 493 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.1634, allocations: 62.47 kB / 493.1 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1635, allocations: 0 / 493.1 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1635, allocations: 30.56 kB / 493.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.1635, allocations: 3.938 kB / 493.1 MB, free: 6.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008893/0.1644, allocations: 173.3 kB / 493.3 MB, free: 6.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1645, allocations: 51.41 kB / 493.4 MB, free: 6.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1647, allocations: 161.8 kB / 493.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1648, allocations: 29.7 kB / 493.5 MB, free: 5.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1649, allocations: 166.5 kB / 493.7 MB, free: 5.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1649, allocations: 11.75 kB / 493.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.1649, allocations: 0 / 493.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1651, allocations: 318.8 kB / 494 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1653, allocations: 23.97 kB / 494 MB, free: 5.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1654, allocations: 27.98 kB / 494.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1656, allocations: 28.17 kB / 494.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1656, allocations: 4 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003757/0.166, allocations: 89.56 kB / 494.2 MB, free: 5.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.166, allocations: 8 kB / 494.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.166, allocations: 3.984 kB / 494.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1661, allocations: 4 kB / 494.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1662, allocations: 12 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1662, allocations: 0 / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.1663, allocations: 7.984 kB / 494.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1663, allocations: 0 / 494.2 MB, free: 5.098 MB / 330.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 0.0001363/0.1665, allocations: 121.8 kB / 494.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.1665, allocations: 15.86 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.167, allocations: 105.9 kB / 494.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.167, allocations: 7.938 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.167, allocations: 0 / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.167, allocations: 0 / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.1678, allocations: 362.5 kB / 494.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1678, allocations: 0 / 494.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1679, allocations: 15.98 kB / 494.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1679, allocations: 0 / 494.8 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1679, allocations: 4 kB / 494.8 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.168, allocations: 7.984 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.168, allocations: 3.938 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.1684, allocations: 191.5 kB / 495 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.009e-05/0.1685, allocations: 100.9 kB / 495.1 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1685, allocations: 0 / 495.1 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1687, allocations: 7.984 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1687, allocations: 4 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1687, allocations: 0 / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1689, allocations: 130.7 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1689, allocations: 0 / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.1693, allocations: 19.98 kB / 495.3 MB, free: 3.922 MB / 330.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.001183/0.1705, allocations: 401.7 kB / 495.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.171, allocations: 71.89 kB / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.171, allocations: 0 / 495.8 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1711, allocations: 31.98 kB / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.1715, allocations: 15.94 kB / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.1721, allocations: 227 kB / 496 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1725, allocations: 0.7083 MB / 496.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.1726, allocations: 11.44 kB / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of SimCode: time 4.368e-06/0.1726, allocations: 0 / 496.8 MB, free: 2.453 MB / 330.7 MB Notification: Performance of Templates: time 0.004761/0.1774, allocations: 1.439 MB / 498.2 MB, free: 1.016 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches