Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test62",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.009862/0.009868, allocations: 175.3 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.933/1.933, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.002034/0.002034, allocations: 124.6 kB / 255.6 MB, free: 10.24 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.2776/0.2776, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004625, allocations: 13.84 kB / 406.3 MB, free: 51.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.097, allocations: 54.88 MB / 461.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.2473, allocations: 81.99 MB / 0.5304 GB, free: 1.105 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.2477, allocations: 75.95 kB / 0.5305 GB, free: 1.031 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.3149/0.5626, allocations: 4.726 MB / 0.5351 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5626, allocations: 0 / 0.5351 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.5627, allocations: 2.125 kB / 0.5351 GB, free: 83 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006199/0.5633, allocations: 494.4 kB / 0.5356 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.5634, allocations: 10.11 kB / 0.5356 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.5634, allocations: 34.73 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.618e-05/0.5635, allocations: 14.38 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.5639, allocations: 215 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.5639, allocations: 9.688 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.5639, allocations: 4.5 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5641, allocations: 54.09 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5641, allocations: 0.5156 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5642, allocations: 5.203 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5642, allocations: 3.938 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.5643, allocations: 16.72 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.5646, allocations: 206.1 kB / 0.5361 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.5648, allocations: 57.64 kB / 0.5362 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.5649, allocations: 1.609 kB / 0.5362 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.5651, allocations: 69.67 kB / 0.5362 GB, free: 81.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.865e-06/0.5651, allocations: 0 / 0.5362 GB, free: 81.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004185/0.5655, allocations: 106.9 kB / 0.5363 GB, free: 81.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.5656, allocations: 56.47 kB / 0.5364 GB, free: 81.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.5659, allocations: 232.8 kB / 0.5366 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.566, allocations: 28.31 kB / 0.5367 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.566, allocations: 114.1 kB / 0.5368 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.5661, allocations: 13.12 kB / 0.5368 GB, free: 81.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.5661, allocations: 9 kB / 0.5368 GB, free: 81.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.5662, allocations: 328.2 kB / 0.5371 GB, free: 81.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.5663, allocations: 27.17 kB / 0.5371 GB, free: 81.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.5665, allocations: 55.52 kB / 0.5372 GB, free: 81.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.5666, allocations: 67.31 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5667, allocations: 0 / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004307/0.5671, allocations: 159.5 kB / 0.5374 GB, free: 81.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.5672, allocations: 35.02 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5672, allocations: 0 / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5672, allocations: 1.062 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.5673, allocations: 11.17 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5674, allocations: 9.672 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.5675, allocations: 17.69 kB / 0.5375 GB, free: 81.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.5675, allocations: 4.812 kB / 0.5375 GB, free: 81.13 MB / 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 (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.000136/0.5677, allocations: 133.1 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.5677, allocations: 14.38 kB / 0.5376 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.568, allocations: 97.59 kB / 0.5377 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5681, allocations: 0 / 0.5377 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5681, allocations: 6.297 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5681, allocations: 7.953 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.5683, allocations: 206.1 kB / 0.5379 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5683, allocations: 0 / 0.5379 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.5684, allocations: 5.328 kB / 0.5379 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.5684, allocations: 1.094 kB / 0.5379 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.5684, allocations: 2.203 kB / 0.5379 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5684, allocations: 0.7969 kB / 0.5379 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5684, allocations: 0 / 0.5379 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.5687, allocations: 129.7 kB / 0.538 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.5688, allocations: 107.1 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.5689, allocations: 2 kB / 0.5381 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.5689, allocations: 7.484 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.569, allocations: 3.625 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.569, allocations: 3.516 kB / 0.5382 GB, free: 80.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.5693, allocations: 196.1 kB / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5693, allocations: 0 / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.5697, allocations: 31.7 kB / 0.5384 GB, free: 80.49 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: 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 (6): * Single equations (assignments): 4 * 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.00149/0.5712, allocations: 0.946 MB / 0.5393 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.5716, allocations: 146.5 kB / 0.5394 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5716, allocations: 1.188 kB / 0.5394 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.5717, allocations: 27.02 kB / 0.5395 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.572, allocations: 16.09 kB / 0.5395 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000993/0.573, allocations: 0.6915 MB / 0.5402 GB, free: 79.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.5732, allocations: 0.7163 MB / 0.5409 GB, free: 78.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.583e-05/0.5733, allocations: 21.22 kB / 0.5409 GB, free: 78.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.5734, allocations: 37.53 kB / 0.5409 GB, free: 78.39 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5735, allocations: 1.156 kB / 0.5409 GB, free: 78.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.602, allocations: 3.125 MB / 0.544 GB, free: 77.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.6023, allocations: 212.7 kB / 0.5442 GB, free: 77.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.07, allocations: 0 / 0.5442 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.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat