Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test61",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.01046/0.01046, allocations: 174.6 kB / 15.12 MB, free: 5.977 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.017/2.017, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002063/0.002063, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.2554/0.2554, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 13.53 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.272, allocations: 81.98 MB / 0.5304 GB, free: 1.105 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/0.2724, allocations: 75.97 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.3287/0.6011, allocations: 4.725 MB / 0.5351 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6011, allocations: 4 kB / 0.5351 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.6011, allocations: 2.469 kB / 0.5351 GB, free: 82.93 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.0006159/0.6018, allocations: 492.5 kB / 0.5356 GB, free: 82.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6018, allocations: 9.156 kB / 0.5356 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.6019, allocations: 36.98 kB / 0.5356 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.6019, allocations: 14.28 kB / 0.5356 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.6023, allocations: 216.9 kB / 0.5358 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.6023, allocations: 3.172 kB / 0.5358 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.6024, allocations: 7.812 kB / 0.5358 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.6026, allocations: 52.33 kB / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6026, allocations: 0 / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.6026, allocations: 4.656 kB / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.6026, allocations: 1.094 kB / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.6027, allocations: 21.16 kB / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.603, allocations: 206.3 kB / 0.5361 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.6032, allocations: 58.05 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.6033, allocations: 0 / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.6035, allocations: 68.28 kB / 0.5362 GB, free: 81.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.6035, allocations: 0 / 0.5362 GB, free: 81.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004807/0.604, allocations: 108.9 kB / 0.5363 GB, free: 81.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.604, allocations: 55.36 kB / 0.5364 GB, free: 81.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.6044, allocations: 233.8 kB / 0.5366 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.6045, allocations: 28.23 kB / 0.5366 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.6045, allocations: 116.1 kB / 0.5367 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.6046, allocations: 16.17 kB / 0.5368 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.6046, allocations: 5.562 kB / 0.5368 GB, free: 81.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.6047, allocations: 324.2 kB / 0.5371 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.6048, allocations: 29.53 kB / 0.5371 GB, free: 81.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.605, allocations: 52.38 kB / 0.5372 GB, free: 81.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.6052, allocations: 67.89 kB / 0.5372 GB, free: 81.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6052, allocations: 1.125 kB / 0.5372 GB, free: 81.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004482/0.6056, allocations: 159.3 kB / 0.5374 GB, free: 81.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.6057, allocations: 40.67 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6057, allocations: 1.156 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.6057, allocations: 1.031 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.6059, allocations: 10.47 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6059, allocations: 1.531 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.606, allocations: 22.72 kB / 0.5374 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.6061, allocations: 4.625 kB / 0.5374 GB, free: 81.06 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.0001526/0.6062, allocations: 134.7 kB / 0.5376 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.6063, allocations: 10.86 kB / 0.5376 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.6066, allocations: 106.2 kB / 0.5377 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6066, allocations: 1.156 kB / 0.5377 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6066, allocations: 0 / 0.5377 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6066, allocations: 6 kB / 0.5377 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.6069, allocations: 210.9 kB / 0.5379 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6069, allocations: 0.5625 kB / 0.5379 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.6069, allocations: 6.328 kB / 0.5379 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6069, allocations: 0 / 0.5379 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.607, allocations: 1.734 kB / 0.5379 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.607, allocations: 1.281 kB / 0.5379 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.607, allocations: 4.547 kB / 0.5379 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.6073, allocations: 121.8 kB / 0.538 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6074, allocations: 111.8 kB / 0.5381 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.6074, allocations: 1.703 kB / 0.5381 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.6075, allocations: 3.234 kB / 0.5381 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.6076, allocations: 4.438 kB / 0.5381 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.6076, allocations: 10.56 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.6079, allocations: 189.7 kB / 0.5383 GB, free: 80.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6079, allocations: 1.156 kB / 0.5383 GB, free: 80.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.6083, allocations: 31.47 kB / 0.5384 GB, free: 80.42 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.001487/0.6098, allocations: 0.9411 MB / 0.5393 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.6102, allocations: 147.8 kB / 0.5394 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6102, allocations: 0 / 0.5394 GB, free: 79.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.6103, allocations: 24.73 kB / 0.5394 GB, free: 79.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.6107, allocations: 20.42 kB / 0.5395 GB, free: 79.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.6117, allocations: 0.692 MB / 0.5401 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.612, allocations: 0.7168 MB / 0.5408 GB, free: 78.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.605e-05/0.6121, allocations: 20.64 kB / 0.5409 GB, free: 78.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.459e-05/0.6122, allocations: 37.17 kB / 0.5409 GB, free: 78.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6122, allocations: 0 / 0.5409 GB, free: 78.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.636, allocations: 3.132 MB / 0.544 GB, free: 77.53 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.6363, allocations: 212.5 kB / 0.5442 GB, free: 77.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.038, allocations: 0 / 0.5442 GB, free: 77.29 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat does not exist to compare? outputFormat=mat