Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009819/0.0009822, allocations: 197.2 kB / 16.79 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.5 MB / 244.1 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008003/0.0008003, allocations: 106.1 kB / 296.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2897/0.2897, allocations: 44.82 MB / 393 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3271, allocations: 62.95 MB / 0.5165 GB, free: 37.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4398, allocations: 89.83 MB / 0.6042 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.44, allocations: 71.97 kB / 0.6043 GB, free: 15.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01897/0.459, allocations: 8.712 MB / 0.6128 GB, free: 6.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4591, allocations: 0 / 0.6128 GB, free: 6.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.4591, allocations: 8 kB / 0.6128 GB, free: 6.75 MB / 426.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.0007097/0.4598, allocations: 0.6419 MB / 0.6134 GB, free: 6.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4599, allocations: 8.031 kB / 0.6134 GB, free: 6.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.154e-05/0.4599, allocations: 44.38 kB / 0.6135 GB, free: 6.004 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.4604, allocations: 360.1 kB / 0.6138 GB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4604, allocations: 4.375 kB / 0.6138 GB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.4605, allocations: 384 / 0.6138 GB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.4606, allocations: 62.19 kB / 0.6139 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4606, allocations: 192 / 0.6139 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4606, allocations: 3.938 kB / 0.6139 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4606, allocations: 0 / 0.6139 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/0.4607, allocations: 27.98 kB / 0.6139 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.4613, allocations: 440.6 kB / 0.6143 GB, free: 5.031 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.4615, allocations: 46.5 kB / 0.6144 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.4616, allocations: 24.94 kB / 0.6144 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.4616, allocations: 3.938 kB / 0.6144 GB, free: 4.945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4616, allocations: 30.56 kB / 0.6144 GB, free: 4.906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.4616, allocations: 4 kB / 0.6144 GB, free: 4.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005708/0.4622, allocations: 243.8 kB / 0.6147 GB, free: 4.656 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4623, allocations: 55.41 kB / 0.6147 GB, free: 4.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.4635, allocations: 0.8581 MB / 0.6155 GB, free: 3.723 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4635, allocations: 29.7 kB / 0.6156 GB, free: 3.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.4636, allocations: 220.2 kB / 0.6158 GB, free: 3.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.4637, allocations: 23.78 kB / 0.6158 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.4637, allocations: 0 / 0.6158 GB, free: 3.445 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4638, allocations: 366.7 kB / 0.6162 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.4639, allocations: 27.98 kB / 0.6162 GB, free: 3.051 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.464, allocations: 15.98 kB / 0.6162 GB, free: 3.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.4641, allocations: 60.77 kB / 0.6163 GB, free: 2.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4641, allocations: 4 kB / 0.6163 GB, free: 2.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002142/0.4643, allocations: 117.1 kB / 0.6164 GB, free: 2.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4644, allocations: 10.97 kB / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4644, allocations: 0 / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4644, allocations: 0 / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.4645, allocations: 19.98 kB / 0.6164 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4645, allocations: 4 kB / 0.6164 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.4646, allocations: 7.938 kB / 0.6164 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.4646, allocations: 4 kB / 0.6164 GB, free: 2.805 MB / 426.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.0001691/0.4647, allocations: 218.9 kB / 0.6166 GB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.4648, allocations: 43.44 kB / 0.6167 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.4651, allocations: 145.1 kB / 0.6168 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4651, allocations: 0 / 0.6168 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4651, allocations: 0 / 0.6168 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4651, allocations: 288 / 0.6168 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007327/0.4659, allocations: 0.5959 MB / 0.6174 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4659, allocations: 384 / 0.6174 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.4659, allocations: 15.98 kB / 0.6174 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4659, allocations: 7.984 kB / 0.6174 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.466, allocations: 4 kB / 0.6174 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.466, allocations: 0 / 0.6174 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.466, allocations: 7.875 kB / 0.6174 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4662, allocations: 223 kB / 0.6176 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.4664, allocations: 160.5 kB / 0.6178 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.4665, allocations: 4 kB / 0.6178 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.4666, allocations: 4 kB / 0.6178 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.4666, allocations: 19.86 kB / 0.6178 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.4666, allocations: 4 kB / 0.6178 GB, free: 1.258 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006672/0.4673, allocations: 0.6394 MB / 0.6184 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4673, allocations: 0 / 0.6184 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.4676, allocations: 63.98 kB / 0.6185 GB, free: 0.5586 MB / 426.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.000875/0.4685, allocations: 393.9 kB / 0.6189 GB, free: 312 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.4687, allocations: 59.91 kB / 0.6189 GB, free: 252 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4687, allocations: 0 / 0.6189 GB, free: 252 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.4688, allocations: 31.92 kB / 0.619 GB, free: 220 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.4691, allocations: 22.31 kB / 0.619 GB, free: 196 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.4704, allocations: 0.9603 MB / 0.6199 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.4708, allocations: 0.8185 MB / 0.6207 GB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.4709, allocations: 27.67 kB / 0.6207 GB, free: 14.32 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4709, allocations: 0 / 0.6207 GB, free: 14.32 MB / 442.7 MB Notification: Performance of Templates: time 0.007697/0.4786, allocations: 4.291 MB / 0.6249 GB, free: 10.03 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches