Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test1",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.0104/0.0104, allocations: 173.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.096/2.096, 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.002027/0.002027, allocations: 120.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.244/0.244, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004818, allocations: 15.84 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 54.87 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.2677, allocations: 82.15 MB / 0.5306 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.268, allocations: 67.97 kB / 0.5306 GB, free: 0.8477 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.38/0.6481, allocations: 4.886 MB / 0.5354 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6481, allocations: 0 / 0.5354 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.6481, allocations: 2.641 kB / 0.5354 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.0006104/0.6487, allocations: 0.4894 MB / 0.5359 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6488, allocations: 8.828 kB / 0.5359 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.6488, allocations: 32.25 kB / 0.5359 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.6489, allocations: 19.48 kB / 0.5359 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.6493, allocations: 215.3 kB / 0.5361 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.6493, allocations: 2.25 kB / 0.5361 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.654e-05/0.6494, allocations: 8.844 kB / 0.5362 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.6495, allocations: 62 kB / 0.5362 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6496, allocations: 0 / 0.5362 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.6496, allocations: 5.266 kB / 0.5362 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6496, allocations: 0.8438 kB / 0.5362 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.6497, allocations: 21.72 kB / 0.5362 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.6502, allocations: 330.6 kB / 0.5366 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.6505, allocations: 61.52 kB / 0.5366 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.6506, allocations: 0.6562 kB / 0.5366 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.6507, allocations: 74.8 kB / 0.5367 GB, free: 81.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.6508, allocations: 0 / 0.5367 GB, free: 81.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007882/0.6516, allocations: 202.7 kB / 0.5369 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.6516, allocations: 53.14 kB / 0.5369 GB, free: 81.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.652, allocations: 233.4 kB / 0.5372 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.652, allocations: 27.36 kB / 0.5372 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.6521, allocations: 113.8 kB / 0.5373 GB, free: 81.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.6521, allocations: 22.61 kB / 0.5373 GB, free: 81.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.6522, allocations: 2.625 kB / 0.5373 GB, free: 81.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.6523, allocations: 332 kB / 0.5376 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.6524, allocations: 39.22 kB / 0.5377 GB, free: 81.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.6526, allocations: 55.84 kB / 0.5377 GB, free: 81.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.6527, allocations: 79.86 kB / 0.5378 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6528, allocations: 0 / 0.5378 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004632/0.6532, allocations: 184.2 kB / 0.538 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.6533, allocations: 42.97 kB / 0.538 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.6533, allocations: 1.219 kB / 0.538 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6533, allocations: 1.344 kB / 0.538 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.6535, allocations: 16.22 kB / 0.538 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6535, allocations: 3.938 kB / 0.538 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.6536, allocations: 6.609 kB / 0.538 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.6537, allocations: 8.469 kB / 0.538 GB, free: 81.02 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.0001479/0.6538, allocations: 136.7 kB / 0.5382 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.6539, allocations: 19.59 kB / 0.5382 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.6543, allocations: 130.7 kB / 0.5383 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.6543, allocations: 5.031 kB / 0.5383 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6543, allocations: 0.8438 kB / 0.5383 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6543, allocations: 1.125 kB / 0.5383 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.6552, allocations: 437.1 kB / 0.5387 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6552, allocations: 5.078 kB / 0.5387 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.6553, allocations: 17.86 kB / 0.5388 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.6554, allocations: 1.906 kB / 0.5388 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.6554, allocations: 6.156 kB / 0.5388 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.6555, allocations: 1.094 kB / 0.5388 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6555, allocations: 0 / 0.5388 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.6562, allocations: 227.4 kB / 0.539 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.6564, allocations: 105 kB / 0.5391 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.6565, allocations: 6.859 kB / 0.5391 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.6567, allocations: 4.406 kB / 0.5391 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.6567, allocations: 5.328 kB / 0.5391 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.6568, allocations: 4.625 kB / 0.5391 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002765/0.657, allocations: 192.9 kB / 0.5393 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.657, allocations: 0 / 0.5393 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004294/0.6575, allocations: 46.62 kB / 0.5393 GB, free: 80.16 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.001694/0.6592, allocations: 1.162 MB / 0.5405 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004801/0.6597, allocations: 170.8 kB / 0.5406 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6597, allocations: 4.688 kB / 0.5406 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.6599, allocations: 36.61 kB / 0.5407 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.6603, allocations: 22.12 kB / 0.5407 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.6615, allocations: 0.7226 MB / 0.5414 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.6617, allocations: 0.728 MB / 0.5421 GB, free: 77.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.8e-05/0.6618, allocations: 18.94 kB / 0.5421 GB, free: 77.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6619, allocations: 42.09 kB / 0.5422 GB, free: 77.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.662, allocations: 0 / 0.5422 GB, free: 77.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.6881, allocations: 3.416 MB / 0.5455 GB, free: 76.76 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.6885, allocations: 214.1 kB / 0.5457 GB, free: 76.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/3.279, allocations: 4 kB / 0.5457 GB, free: 76.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat