Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test30",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: 176.1 kB / 15.12 MB, free: 5.93 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.98/1.98, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.00205/0.00205, allocations: 124.6 kB / 255.6 MB, free: 10.22 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.2483/0.2483, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 13.97 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09782, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.2522, allocations: 80.97 MB / 0.5294 GB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.2526, allocations: 71.91 kB / 0.5295 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.312/0.5647, allocations: 3.12 MB / 0.5325 GB, free: 82.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5647, allocations: 0 / 0.5325 GB, free: 82.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.5647, allocations: 2.188 kB / 0.5325 GB, free: 82.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004569/0.5652, allocations: 422.1 kB / 0.5329 GB, free: 82.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5653, allocations: 9.594 kB / 0.5329 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.5653, allocations: 36.03 kB / 0.533 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.5654, allocations: 15.92 kB / 0.533 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.5656, allocations: 196.6 kB / 0.5332 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.5656, allocations: 2.781 kB / 0.5332 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.5657, allocations: 2.781 kB / 0.5332 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.5658, allocations: 49.91 kB / 0.5332 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.5659, allocations: 5.594 kB / 0.5332 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5659, allocations: 0.875 kB / 0.5332 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5659, allocations: 5.141 kB / 0.5332 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.5661, allocations: 30.56 kB / 0.5333 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.5665, allocations: 277.2 kB / 0.5335 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.5667, allocations: 46.31 kB / 0.5336 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5668, allocations: 1.797 kB / 0.5336 GB, free: 81.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.5668, allocations: 40.27 kB / 0.5336 GB, free: 81.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.5668, allocations: 0 / 0.5336 GB, free: 81.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008067/0.5676, allocations: 168.9 kB / 0.5338 GB, free: 81.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.5677, allocations: 56.09 kB / 0.5338 GB, free: 81.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.5679, allocations: 176.6 kB / 0.534 GB, free: 81.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.5679, allocations: 25.7 kB / 0.534 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.568, allocations: 97.86 kB / 0.5341 GB, free: 81.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.568, allocations: 16.47 kB / 0.5341 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.5681, allocations: 3.938 kB / 0.5341 GB, free: 81.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.5681, allocations: 323.6 kB / 0.5344 GB, free: 80.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.5683, allocations: 24.53 kB / 0.5345 GB, free: 80.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.5684, allocations: 25.06 kB / 0.5345 GB, free: 80.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.5685, allocations: 51.17 kB / 0.5345 GB, free: 80.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5686, allocations: 4 kB / 0.5345 GB, free: 80.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003426/0.5689, allocations: 122.9 kB / 0.5347 GB, free: 80.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.569, allocations: 35.7 kB / 0.5347 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.569, allocations: 3.953 kB / 0.5347 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.569, allocations: 0.75 kB / 0.5347 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5691, allocations: 19.2 kB / 0.5347 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5691, allocations: 1.859 kB / 0.5347 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.5692, allocations: 12.5 kB / 0.5347 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.5693, allocations: 2.281 kB / 0.5347 GB, free: 80.68 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 (6): * Single equations (assignments): 5 * 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 9.768e-05/0.5694, allocations: 128.8 kB / 0.5349 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.5694, allocations: 7.844 kB / 0.5349 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.5698, allocations: 111.6 kB / 0.535 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.5698, allocations: 4.656 kB / 0.535 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5698, allocations: 1.219 kB / 0.535 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5698, allocations: 0 / 0.535 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.5704, allocations: 373 kB / 0.5353 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.5705, allocations: 1.438 kB / 0.5353 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.5706, allocations: 13.22 kB / 0.5353 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.5706, allocations: 5.297 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5706, allocations: 0 / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.5706, allocations: 1.906 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5706, allocations: 0 / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.571, allocations: 192.8 kB / 0.5355 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.571, allocations: 88.45 kB / 0.5356 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.5711, allocations: 6.594 kB / 0.5356 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.5712, allocations: 5.422 kB / 0.5356 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.5713, allocations: 9.656 kB / 0.5356 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.5713, allocations: 3.906 kB / 0.5356 GB, free: 79.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.5715, allocations: 148.3 kB / 0.5358 GB, free: 79.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.5715, allocations: 0 / 0.5358 GB, free: 79.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.5718, allocations: 20.81 kB / 0.5358 GB, free: 79.88 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 (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.001204/0.573, allocations: 0.9088 MB / 0.5367 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003375/0.5734, allocations: 115.3 kB / 0.5368 GB, free: 79.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5734, allocations: 0 / 0.5368 GB, free: 79.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.5735, allocations: 35.64 kB / 0.5368 GB, free: 79.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.5738, allocations: 15.86 kB / 0.5369 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.5746, allocations: 460.1 kB / 0.5373 GB, free: 78.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.5748, allocations: 0.7019 MB / 0.538 GB, free: 78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.511e-05/0.5749, allocations: 14.61 kB / 0.538 GB, free: 78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.575, allocations: 26.66 kB / 0.538 GB, free: 78 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.575, allocations: 0 / 0.538 GB, free: 78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.5965, allocations: 2.102 MB / 0.5401 GB, free: 77.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/0.5969, allocations: 214 kB / 0.5403 GB, free: 77.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.064, allocations: 0 / 0.5403 GB, free: 77.42 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat does not exist to compare? outputFormat=mat