Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test50",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.0131/0.0131, allocations: 174.4 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 2.013/2.013, allocations: 194.5 MB / 210.3 MB, free: 11.19 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.002035/0.002035, allocations: 108.7 kB / 255.6 MB, free: 14.3 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.4426/0.4426, allocations: 40.01 MB / 340.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004837, allocations: 20 kB / 406.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3782, allocations: 54.86 MB / 461.1 MB, free: 24.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.5276, allocations: 82.38 MB / 0.5308 GB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5279, allocations: 75.95 kB / 0.5309 GB, free: 8.707 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02316/0.5511, allocations: 5.427 MB / 0.5362 GB, free: 3.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5511, allocations: 0 / 0.5362 GB, free: 3.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.5512, allocations: 4 kB / 0.5362 GB, free: 3.266 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.0006746/0.5519, allocations: 475.1 kB / 0.5366 GB, free: 2.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5519, allocations: 8.031 kB / 0.5366 GB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.552, allocations: 42.48 kB / 0.5367 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.552, allocations: 11.91 kB / 0.5367 GB, free: 2.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.5524, allocations: 201.8 kB / 0.5369 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5524, allocations: 8 kB / 0.5369 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.5525, allocations: 7.953 kB / 0.5369 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.5527, allocations: 79.38 kB / 0.537 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5528, allocations: 3.984 kB / 0.537 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.5528, allocations: 0 / 0.537 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5528, allocations: 0 / 0.537 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.553, allocations: 39.91 kB / 0.537 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.5535, allocations: 324.7 kB / 0.5373 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.5539, allocations: 70.67 kB / 0.5374 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.5539, allocations: 0 / 0.5374 GB, free: 1.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.5541, allocations: 79.44 kB / 0.5375 GB, free: 1.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.5541, allocations: 4 kB / 0.5375 GB, free: 1.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009443/0.5551, allocations: 221.2 kB / 0.5377 GB, free: 1.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.5552, allocations: 77.11 kB / 0.5377 GB, free: 1.434 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.5554, allocations: 149.1 kB / 0.5379 GB, free: 1.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.5554, allocations: 25.7 kB / 0.5379 GB, free: 1.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.5555, allocations: 100 kB / 0.538 GB, free: 1.148 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.5556, allocations: 27.64 kB / 0.538 GB, free: 1.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.5556, allocations: 4 kB / 0.538 GB, free: 1.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5557, allocations: 326.8 kB / 0.5383 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.5559, allocations: 39.98 kB / 0.5384 GB, free: 0.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.5561, allocations: 70.28 kB / 0.5384 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.5563, allocations: 71.41 kB / 0.5385 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5563, allocations: 0 / 0.5385 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004597/0.5568, allocations: 179.2 kB / 0.5387 GB, free: 424 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.5568, allocations: 41.75 kB / 0.5387 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5569, allocations: 0 / 0.5387 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5569, allocations: 0 / 0.5387 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.557, allocations: 20 kB / 0.5387 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5571, allocations: 0 / 0.5387 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5572, allocations: 11.98 kB / 0.5388 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.5572, allocations: 8 kB / 0.5388 GB, free: 336 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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.0001483/0.5574, allocations: 125.8 kB / 0.5389 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.5574, allocations: 7.906 kB / 0.5389 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.5579, allocations: 154.6 kB / 0.539 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5579, allocations: 0 / 0.539 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5579, allocations: 4 kB / 0.539 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5579, allocations: 0 / 0.539 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.5588, allocations: 439.2 kB / 0.5395 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5588, allocations: 0 / 0.5395 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.5589, allocations: 15.94 kB / 0.5395 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5589, allocations: 4.031 kB / 0.5395 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.5589, allocations: 8 kB / 0.5395 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.5589, allocations: 4.266 kB / 0.5395 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.559, allocations: 0 / 0.5395 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.5594, allocations: 237.9 kB / 0.5397 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5596, allocations: 108.9 kB / 0.5398 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.5596, allocations: 3.938 kB / 0.5398 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5598, allocations: 8 kB / 0.5398 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.5598, allocations: 11.92 kB / 0.5398 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.5598, allocations: 4 kB / 0.5399 GB, free: 15.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.56, allocations: 119.8 kB / 0.54 GB, free: 14.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.56, allocations: 0 / 0.54 GB, free: 14.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.5605, allocations: 55.88 kB / 0.54 GB, free: 14.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002282/0.5628, allocations: 1.256 MB / 0.5412 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.5633, allocations: 179.2 kB / 0.5414 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5633, allocations: 0 / 0.5414 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.5635, allocations: 43.91 kB / 0.5415 GB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.5638, allocations: 32.06 kB / 0.5415 GB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.565, allocations: 0.613 MB / 0.5421 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.5654, allocations: 0.7043 MB / 0.5428 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.5656, allocations: 24.47 kB / 0.5428 GB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.5657, allocations: 35.42 kB / 0.5428 GB, free: 11.98 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5657, allocations: 0 / 0.5428 GB, free: 11.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.5923, allocations: 3.324 MB / 0.5461 GB, free: 8.688 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/0.5926, allocations: 211.7 kB / 0.5463 GB, free: 8.449 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.137, allocations: 0 / 0.5463 GB, free: 8.449 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat