Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test32",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.01005/0.01005, allocations: 176.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.945/1.945, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002011/0.002011, 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.26/0.26, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000634/0.000634, allocations: 14.19 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1128, allocations: 54.87 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.2593, allocations: 82.12 MB / 0.5305 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.2596, allocations: 71.97 kB / 0.5306 GB, free: 0.9023 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.3047/0.5644, allocations: 4.486 MB / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5644, allocations: 0 / 0.535 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5644, allocations: 1.969 kB / 0.535 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005738/0.565, allocations: 485.9 kB / 0.5354 GB, free: 82.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5651, allocations: 9.125 kB / 0.5355 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.5651, allocations: 33.53 kB / 0.5355 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.5652, allocations: 9.625 kB / 0.5355 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.5655, allocations: 202.7 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.5655, allocations: 6.469 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.5656, allocations: 4.75 kB / 0.5357 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.5658, allocations: 60.58 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5658, allocations: 0 / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5658, allocations: 9.297 kB / 0.5358 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5659, allocations: 4.688 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.566, allocations: 23.53 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.5664, allocations: 310 kB / 0.5361 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.5667, allocations: 65.64 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.5667, allocations: 0 / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.5669, allocations: 74.78 kB / 0.5362 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/0.5669, allocations: 0.9688 kB / 0.5362 GB, free: 81.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008102/0.5678, allocations: 180.7 kB / 0.5364 GB, free: 81.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.5678, allocations: 54.59 kB / 0.5364 GB, free: 81.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.5681, allocations: 169.8 kB / 0.5366 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.5681, allocations: 31.8 kB / 0.5366 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.5682, allocations: 99.38 kB / 0.5367 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.5682, allocations: 26.31 kB / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.5682, allocations: 4.719 kB / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.5683, allocations: 325.8 kB / 0.5371 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5685, allocations: 37.09 kB / 0.5371 GB, free: 81.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.5686, allocations: 57.06 kB / 0.5372 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.5688, allocations: 82.11 kB / 0.5372 GB, free: 81.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5688, allocations: 0 / 0.5372 GB, free: 81.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004443/0.5693, allocations: 181.2 kB / 0.5374 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.5694, allocations: 38.53 kB / 0.5375 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5694, allocations: 0 / 0.5375 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5694, allocations: 1.156 kB / 0.5375 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.5696, allocations: 20.3 kB / 0.5375 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5696, allocations: 1.031 kB / 0.5375 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.5697, allocations: 13.28 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.5697, allocations: 10.14 kB / 0.5375 GB, free: 81.05 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 (11): * Single equations (assignments): 10 * 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.0001198/0.5699, allocations: 122.8 kB / 0.5376 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.5699, allocations: 12.94 kB / 0.5376 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.5703, allocations: 127.2 kB / 0.5377 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.5703, allocations: 3.062 kB / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5703, allocations: 0 / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5703, allocations: 0.6094 kB / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006301/0.571, allocations: 413.9 kB / 0.5381 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.571, allocations: 0 / 0.5381 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.5711, allocations: 13.86 kB / 0.5382 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.5711, allocations: 1.375 kB / 0.5382 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.5711, allocations: 2.703 kB / 0.5382 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5711, allocations: 1.375 kB / 0.5382 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5712, allocations: 5.219 kB / 0.5382 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.5715, allocations: 224.5 kB / 0.5384 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.5716, allocations: 100.7 kB / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.5717, allocations: 6.672 kB / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.5718, allocations: 7.953 kB / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.5718, allocations: 5.234 kB / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5719, allocations: 8.469 kB / 0.5385 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.572, allocations: 142.9 kB / 0.5386 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.572, allocations: 0 / 0.5386 GB, free: 80.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.5725, allocations: 45.48 kB / 0.5387 GB, free: 80.19 MB / 378.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 (9): * Single equations (assignments): 7 * 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.001727/0.5742, allocations: 1.155 MB / 0.5398 GB, free: 79.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.5747, allocations: 166 kB / 0.54 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5747, allocations: 0 / 0.54 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.5749, allocations: 35.58 kB / 0.54 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.5752, allocations: 24.33 kB / 0.54 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.5762, allocations: 0.6382 MB / 0.5407 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.5765, allocations: 0.7077 MB / 0.5413 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.183e-05/0.5766, allocations: 12.81 kB / 0.5414 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/0.5767, allocations: 32.69 kB / 0.5414 GB, free: 77.9 MB / 378.7 MB Notification: Performance of SimCode: time 3.346e-06/0.5767, allocations: 0 / 0.5414 GB, free: 77.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.604, allocations: 2.989 MB / 0.5443 GB, free: 77.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/0.6043, allocations: 212.5 kB / 0.5445 GB, free: 76.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.964, allocations: 4 kB / 0.5445 GB, free: 76.97 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat