Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.CombiTable2D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.28/2.28, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001104/0.001104, allocations: 82.67 kB / 267.5 MB, free: 14.05 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.2813/0.2813, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.372e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4993/0.6232, allocations: 86.74 MB / 0.5575 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.6236, allocations: 70.23 kB / 0.5576 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01769/0.6413, allocations: 4.171 MB / 0.5616 GB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6413, allocations: 0 / 0.5616 GB, free: 13.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.6414, allocations: 4 kB / 0.5617 GB, free: 13.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005322/0.6419, allocations: 395.3 kB / 0.562 GB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.642, allocations: 8.031 kB / 0.562 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.642, allocations: 15.86 kB / 0.5621 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.6424, allocations: 200.4 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.6424, allocations: 3.188 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.6424, allocations: 4 kB / 0.5622 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.6426, allocations: 48.56 kB / 0.5623 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6426, allocations: 0 / 0.5623 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.6426, allocations: 0 / 0.5623 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6426, allocations: 0 / 0.5623 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.6427, allocations: 22.19 kB / 0.5623 GB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.6433, allocations: 300.2 kB / 0.5626 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.6434, allocations: 37.31 kB / 0.5626 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.6434, allocations: 11.86 kB / 0.5626 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.6435, allocations: 4 kB / 0.5627 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.6435, allocations: 30.56 kB / 0.5627 GB, free: 12.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 4.028e-06/0.6435, allocations: 0 / 0.5627 GB, free: 12.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006827/0.6442, allocations: 154.2 kB / 0.5628 GB, free: 11.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.6443, allocations: 55.39 kB / 0.5629 GB, free: 11.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.6446, allocations: 166.5 kB / 0.563 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6446, allocations: 32.83 kB / 0.5631 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.6447, allocations: 161.1 kB / 0.5632 GB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.6447, allocations: 26.75 kB / 0.5633 GB, free: 11.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.6448, allocations: 7.188 kB / 0.5633 GB, free: 11.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6449, allocations: 310.8 kB / 0.5636 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.645, allocations: 18.69 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.645, allocations: 11.62 kB / 0.5636 GB, free: 11.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.715e-05/0.6451, allocations: 15 kB / 0.5636 GB, free: 11.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6451, allocations: 0 / 0.5636 GB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000184/0.6453, allocations: 68.31 kB / 0.5637 GB, free: 11.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6453, allocations: 4 kB / 0.5637 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6454, allocations: 0 / 0.5637 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6454, allocations: 7.891 kB / 0.5637 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.6456, allocations: 31.92 kB / 0.5637 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.6456, allocations: 3.984 kB / 0.5637 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.6458, allocations: 11.44 kB / 0.5637 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.6458, allocations: 4 kB / 0.5637 GB, free: 11.07 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.008e-05/0.6459, allocations: 101 kB / 0.5638 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.646, allocations: 19.8 kB / 0.5638 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.6463, allocations: 106.3 kB / 0.5639 GB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.6463, allocations: 3.953 kB / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6463, allocations: 0 / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6463, allocations: 0 / 0.5639 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.6469, allocations: 370.4 kB / 0.5643 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.647, allocations: 0 / 0.5643 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.6471, allocations: 23.98 kB / 0.5643 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.6472, allocations: 3.953 kB / 0.5643 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.6472, allocations: 7.188 kB / 0.5643 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.6472, allocations: 0 / 0.5643 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6472, allocations: 0 / 0.5643 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.6475, allocations: 172.3 kB / 0.5645 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.6476, allocations: 96.09 kB / 0.5646 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.6476, allocations: 3.953 kB / 0.5646 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.6478, allocations: 19.98 kB / 0.5646 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.6478, allocations: 15.05 kB / 0.5646 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.6479, allocations: 0 / 0.5646 GB, free: 10.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.648, allocations: 131.8 kB / 0.5647 GB, free: 10 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6481, allocations: 0 / 0.5647 GB, free: 10 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000338/0.6484, allocations: 27.05 kB / 0.5648 GB, free: 9.977 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001083/0.6495, allocations: 364.5 kB / 0.5651 GB, free: 9.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.6497, allocations: 48.05 kB / 0.5652 GB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6498, allocations: 0 / 0.5652 GB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.6498, allocations: 25.75 kB / 0.5652 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.6502, allocations: 10.42 kB / 0.5652 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.6507, allocations: 181.7 kB / 0.5654 GB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.6511, allocations: 0.7139 MB / 0.5661 GB, free: 8.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.6512, allocations: 14.75 kB / 0.5661 GB, free: 8.672 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6512, allocations: 3.938 kB / 0.5661 GB, free: 8.668 MB / 378.7 MB Notification: Performance of Templates: time 0.005091/0.6563, allocations: 1.674 MB / 0.5677 GB, free: 7 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches