Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test20",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.01071/0.01071, allocations: 175.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 2.02/2.02, allocations: 194.5 MB / 210.3 MB, free: 8.781 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.002006/0.002005, allocations: 124.6 kB / 255.6 MB, free: 11.39 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.2897/0.2897, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004714, allocations: 11.94 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.0989, allocations: 54.88 MB / 461.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.2462, allocations: 81.23 MB / 0.5297 GB, free: 2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.2465, allocations: 67.97 kB / 0.5297 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3056/0.5521, allocations: 3.517 MB / 0.5332 GB, free: 82.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5522, allocations: 2.25 kB / 0.5332 GB, free: 82.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5522, allocations: 1.969 kB / 0.5332 GB, free: 82.56 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.0004606/0.5527, allocations: 398.1 kB / 0.5335 GB, free: 82.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5527, allocations: 10.2 kB / 0.5336 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.5528, allocations: 36.44 kB / 0.5336 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.5528, allocations: 11.72 kB / 0.5336 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.5531, allocations: 182 kB / 0.5338 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.5531, allocations: 4.984 kB / 0.5338 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.5531, allocations: 4.969 kB / 0.5338 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.5533, allocations: 66.3 kB / 0.5338 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5534, allocations: 1.156 kB / 0.5338 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5534, allocations: 5.938 kB / 0.5339 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5534, allocations: 9.234 kB / 0.5339 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.5535, allocations: 26.94 kB / 0.5339 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.554, allocations: 282.7 kB / 0.5342 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.5543, allocations: 43.53 kB / 0.5342 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.5543, allocations: 2.531 kB / 0.5342 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.5543, allocations: 37.5 kB / 0.5342 GB, free: 81.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.856e-06/0.5543, allocations: 3.844 kB / 0.5342 GB, free: 81.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008093/0.5552, allocations: 167 kB / 0.5344 GB, free: 81.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.5552, allocations: 78.33 kB / 0.5345 GB, free: 81.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5553, allocations: 116.5 kB / 0.5346 GB, free: 81.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5554, allocations: 25.7 kB / 0.5346 GB, free: 81.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.5554, allocations: 91.28 kB / 0.5347 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.5554, allocations: 14.95 kB / 0.5347 GB, free: 81.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.5555, allocations: 0 / 0.5347 GB, free: 81.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.5555, allocations: 320 kB / 0.535 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.5557, allocations: 30.86 kB / 0.535 GB, free: 80.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5558, allocations: 41.34 kB / 0.5351 GB, free: 80.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.556, allocations: 56.11 kB / 0.5351 GB, free: 80.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.556, allocations: 7.969 kB / 0.5351 GB, free: 80.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003601/0.5564, allocations: 131.8 kB / 0.5353 GB, free: 80.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.5564, allocations: 36.23 kB / 0.5353 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5565, allocations: 3.953 kB / 0.5353 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5565, allocations: 0 / 0.5353 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.5566, allocations: 14.14 kB / 0.5353 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5566, allocations: 4.562 kB / 0.5353 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.5567, allocations: 9.484 kB / 0.5353 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.5567, allocations: 5.438 kB / 0.5353 GB, free: 80.7 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 8.044e-05/0.5568, allocations: 117.1 kB / 0.5355 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.5569, allocations: 7.625 kB / 0.5355 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.5573, allocations: 105.2 kB / 0.5356 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5573, allocations: 3.953 kB / 0.5356 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5573, allocations: 2.297 kB / 0.5356 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5573, allocations: 0 / 0.5356 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.5579, allocations: 366.4 kB / 0.5359 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5579, allocations: 0 / 0.5359 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.558, allocations: 11.2 kB / 0.5359 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.5581, allocations: 3.953 kB / 0.5359 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5581, allocations: 5.562 kB / 0.5359 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.5581, allocations: 0 / 0.5359 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5581, allocations: 6.25 kB / 0.5359 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.5584, allocations: 192.3 kB / 0.5361 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.5585, allocations: 83.08 kB / 0.5362 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.5585, allocations: 5.109 kB / 0.5362 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5586, allocations: 4.562 kB / 0.5362 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.5587, allocations: 9.641 kB / 0.5362 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.5587, allocations: 6.219 kB / 0.5362 GB, free: 79.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.926e-05/0.5588, allocations: 96.52 kB / 0.5363 GB, free: 79.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5588, allocations: 0 / 0.5363 GB, free: 79.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.5592, allocations: 31.28 kB / 0.5364 GB, free: 79.89 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.001488/0.5607, allocations: 0.9873 MB / 0.5373 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.5611, allocations: 123.8 kB / 0.5374 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.5612, allocations: 5 kB / 0.5374 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5613, allocations: 30.27 kB / 0.5375 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.5616, allocations: 18.22 kB / 0.5375 GB, free: 79.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.5624, allocations: 398.6 kB / 0.5379 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.5626, allocations: 0.6902 MB / 0.5385 GB, free: 77.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.5627, allocations: 25.08 kB / 0.5386 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.5628, allocations: 19.12 kB / 0.5386 GB, free: 77.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5628, allocations: 0 / 0.5386 GB, free: 77.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.592, allocations: 2.074 MB / 0.5406 GB, free: 77.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/0.5923, allocations: 213.7 kB / 0.5408 GB, free: 77.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.938, allocations: 0 / 0.5408 GB, free: 77.36 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test20_res.mat does not exist to compare? outputFormat=mat