Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test6.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01004/0.01004, allocations: 174.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.93/1.93, allocations: 194.5 MB / 210.3 MB, free: 8.59 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002769/0.002769, allocations: 116.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2492/0.2492, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004605, allocations: 14.97 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09635, allocations: 54.87 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.2441, allocations: 80.94 MB / 0.5294 GB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.2445, allocations: 71.95 kB / 0.5294 GB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3121/0.5566, allocations: 5.391 MB / 0.5347 GB, free: 81.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5566, allocations: 0 / 0.5347 GB, free: 81.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.273e-05/0.5567, allocations: 9.531 kB / 0.5347 GB, free: 81.98 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.0009741/0.5577, allocations: 0.6526 MB / 0.5354 GB, free: 81.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5577, allocations: 9.062 kB / 0.5354 GB, free: 81.42 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.5578, allocations: 36.83 kB / 0.5354 GB, free: 81.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.5579, allocations: 39.06 kB / 0.5354 GB, free: 81.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.5585, allocations: 312.1 kB / 0.5357 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5586, allocations: 3.031 kB / 0.5357 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.5586, allocations: 6.531 kB / 0.5357 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.5589, allocations: 69.39 kB / 0.5358 GB, free: 81.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5589, allocations: 4 kB / 0.5358 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5589, allocations: 3.219 kB / 0.5358 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.5589, allocations: 0.6562 kB / 0.5358 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.5592, allocations: 43.23 kB / 0.5359 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.5601, allocations: 436.2 kB / 0.5363 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.5603, allocations: 50.45 kB / 0.5363 GB, free: 80.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.5603, allocations: 1.219 kB / 0.5363 GB, free: 80.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.5604, allocations: 35.67 kB / 0.5364 GB, free: 80.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/0.5604, allocations: 4.469 kB / 0.5364 GB, free: 80.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001475/0.5619, allocations: 320 kB / 0.5367 GB, free: 80.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5619, allocations: 52.75 kB / 0.5367 GB, free: 80.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/0.5639, allocations: 0.762 MB / 0.5375 GB, free: 80.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.564, allocations: 31.42 kB / 0.5375 GB, free: 80.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.5642, allocations: 213.2 kB / 0.5377 GB, free: 80.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.5643, allocations: 20.14 kB / 0.5377 GB, free: 80.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-06/0.5643, allocations: 3.25 kB / 0.5377 GB, free: 80.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5644, allocations: 359.3 kB / 0.5381 GB, free: 80 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.5647, allocations: 45.83 kB / 0.5381 GB, free: 80 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.5649, allocations: 37.77 kB / 0.5381 GB, free: 80 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.5652, allocations: 80.22 kB / 0.5382 GB, free: 79.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5652, allocations: 1.188 kB / 0.5382 GB, free: 79.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006808/0.5659, allocations: 195.5 kB / 0.5384 GB, free: 79.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.566, allocations: 37.34 kB / 0.5384 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.566, allocations: 0.875 kB / 0.5384 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.566, allocations: 0 / 0.5384 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.5663, allocations: 27.67 kB / 0.5385 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5663, allocations: 1.469 kB / 0.5385 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.5665, allocations: 14.27 kB / 0.5385 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.5665, allocations: 7.219 kB / 0.5385 GB, free: 79.83 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0003371/0.5668, allocations: 213.8 kB / 0.5387 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.567, allocations: 38.22 kB / 0.5387 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/0.5676, allocations: 199.8 kB / 0.5389 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5677, allocations: 0 / 0.5389 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5677, allocations: 1.031 kB / 0.5389 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5677, allocations: 0.6562 kB / 0.5389 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.5692, allocations: 0.6339 MB / 0.5395 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5692, allocations: 1.062 kB / 0.5395 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.5694, allocations: 22.73 kB / 0.5396 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.5694, allocations: 1.172 kB / 0.5396 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.5695, allocations: 6.094 kB / 0.5396 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5695, allocations: 4.875 kB / 0.5396 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5695, allocations: 0 / 0.5396 GB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006462/0.5701, allocations: 260 kB / 0.5398 GB, free: 79.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.5704, allocations: 157.3 kB / 0.54 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.5705, allocations: 1.5 kB / 0.54 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.5707, allocations: 15.83 kB / 0.54 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.5708, allocations: 6.297 kB / 0.54 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.5708, allocations: 10.81 kB / 0.54 GB, free: 79.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001231/0.572, allocations: 0.6231 MB / 0.5406 GB, free: 78.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.5721, allocations: 0 / 0.5406 GB, free: 78.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004798/0.5726, allocations: 59.48 kB / 0.5407 GB, free: 78.95 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 () * Number of clocked 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.001604/0.5742, allocations: 0.9782 MB / 0.5416 GB, free: 78.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.5748, allocations: 160.1 kB / 0.5418 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5748, allocations: 0 / 0.5418 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.575, allocations: 48.95 kB / 0.5418 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.5754, allocations: 18.33 kB / 0.5418 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.5788, allocations: 1.351 MB / 0.5432 GB, free: 77.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.5795, allocations: 0.8243 MB / 0.544 GB, free: 76.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000283/0.5798, allocations: 36.5 kB / 0.544 GB, free: 76.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.5801, allocations: 111.5 kB / 0.5441 GB, free: 76.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5801, allocations: 0 / 0.5441 GB, free: 76.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.6096, allocations: 6.085 MB / 0.55 GB, free: 74.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.6099, allocations: 214.3 kB / 0.5503 GB, free: 74.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.116, allocations: 0 / 0.5503 GB, free: 74.06 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat