Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test16",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.01243/0.01243, allocations: 174 kB / 15.12 MB, free: 6 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.905/1.905, allocations: 194.5 MB / 210.3 MB, free: 11.38 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.001982/0.001981, allocations: 112.6 kB / 255.6 MB, free: 14.52 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.4343/0.4343, allocations: 40.01 MB / 340.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004677, allocations: 12 kB / 406.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4419, allocations: 54.87 MB / 461.1 MB, free: 24.53 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.5906, allocations: 81.31 MB / 0.5297 GB, free: 9.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5909, allocations: 75.95 kB / 0.5298 GB, free: 9.676 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.6011, allocations: 2.82 MB / 0.5326 GB, free: 6.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6011, allocations: 0 / 0.5326 GB, free: 6.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.6011, allocations: 4 kB / 0.5326 GB, free: 6.828 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004919/0.6016, allocations: 367.6 kB / 0.5329 GB, free: 6.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6017, allocations: 16.02 kB / 0.5329 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.6018, allocations: 38.56 kB / 0.533 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.6018, allocations: 11.86 kB / 0.533 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.602, allocations: 174.9 kB / 0.5332 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.602, allocations: 11.94 kB / 0.5332 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.6021, allocations: 4 kB / 0.5332 GB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.6024, allocations: 190 kB / 0.5334 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.6025, allocations: 0 / 0.5334 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.6025, allocations: 11.95 kB / 0.5334 GB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.6025, allocations: 11.98 kB / 0.5334 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.6027, allocations: 59.72 kB / 0.5334 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.6041, allocations: 1.705 MB / 0.5351 GB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.6043, allocations: 169.1 kB / 0.5353 GB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.6043, allocations: 75.28 kB / 0.5353 GB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.6044, allocations: 109.8 kB / 0.5354 GB, free: 3.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.956e-06/0.6044, allocations: 0 / 0.5354 GB, free: 3.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001058/0.6045, allocations: 39.06 kB / 0.5355 GB, free: 3.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.6046, allocations: 130.7 kB / 0.5356 GB, free: 3.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.6049, allocations: 173.2 kB / 0.5358 GB, free: 3.266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.6049, allocations: 25.7 kB / 0.5358 GB, free: 3.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.605, allocations: 143.2 kB / 0.5359 GB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.6051, allocations: 11.94 kB / 0.5359 GB, free: 3.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.6051, allocations: 4 kB / 0.5359 GB, free: 3.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6053, allocations: 318.8 kB / 0.5362 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.6054, allocations: 35.92 kB / 0.5363 GB, free: 2.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.6056, allocations: 149.2 kB / 0.5364 GB, free: 2.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.6058, allocations: 67.91 kB / 0.5365 GB, free: 2.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6058, allocations: 8 kB / 0.5365 GB, free: 2.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004658/0.6063, allocations: 189.6 kB / 0.5367 GB, free: 2.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.6063, allocations: 12.06 kB / 0.5367 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.6063, allocations: 4 kB / 0.5367 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.6064, allocations: 8 kB / 0.5367 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.6066, allocations: 35.92 kB / 0.5367 GB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/0.6066, allocations: 15.97 kB / 0.5367 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.6068, allocations: 23.75 kB / 0.5368 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.6068, allocations: 8 kB / 0.5368 GB, free: 2.141 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001817/0.607, allocations: 217 kB / 0.537 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.6071, allocations: 120.8 kB / 0.5371 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.6072, allocations: 112.9 kB / 0.5372 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.759e-05/0.6073, allocations: 188.2 kB / 0.5374 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.239e-05/0.6074, allocations: 180.3 kB / 0.5376 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-05/0.6075, allocations: 176.3 kB / 0.5377 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.6079, allocations: 425.1 kB / 0.5381 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-05/0.6079, allocations: 109 kB / 0.5382 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.608, allocations: 108.9 kB / 0.5383 GB, free: 432 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.6081, allocations: 180.2 kB / 0.5385 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-05/0.6082, allocations: 180.2 kB / 0.5387 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001179/0.6083, allocations: 188.2 kB / 0.5389 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.684e-05/0.6084, allocations: 184.3 kB / 0.539 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.6087, allocations: 308.9 kB / 0.5393 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.6088, allocations: 190 kB / 0.5395 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6089, allocations: 188.2 kB / 0.5397 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.6091, allocations: 101 kB / 0.5398 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.692e-05/0.6092, allocations: 184.2 kB / 0.54 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.6092, allocations: 105 kB / 0.5401 GB, free: 14.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.6094, allocations: 131.2 kB / 0.5402 GB, free: 14.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.504e-06/0.6095, allocations: 0 / 0.5402 GB, free: 14.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.6099, allocations: 19.94 kB / 0.5402 GB, free: 14.4 MB / 394.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 (0): * Single equations (assignments): 0 * 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.001043/0.6109, allocations: 0.9016 MB / 0.5411 GB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.6113, allocations: 73.2 kB / 0.5412 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6113, allocations: 0 / 0.5412 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.6113, allocations: 192 / 0.5412 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.6117, allocations: 0.5302 MB / 0.5417 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.6146, allocations: 3.642 MB / 0.5452 GB, free: 9.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.6151, allocations: 0.7009 MB / 0.5459 GB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.6153, allocations: 49.02 kB / 0.546 GB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.6154, allocations: 23.44 kB / 0.546 GB, free: 8.305 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6154, allocations: 0 / 0.546 GB, free: 8.305 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.639, allocations: 1.95 MB / 0.5479 GB, free: 6.398 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003558/0.6394, allocations: 211.8 kB / 0.5481 GB, free: 6.156 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.068, allocations: 0 / 0.5481 GB, free: 6.156 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test16_res.mat does not exist to compare? outputFormat=mat