Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test9",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.01444/0.01444, allocations: 173.7 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.06/2.06, 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.002075/0.002075, allocations: 116.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.3084/0.3084, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004923, allocations: 12.44 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1005, allocations: 54.87 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.2487, allocations: 82.11 MB / 0.5305 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.249, allocations: 71.97 kB / 0.5306 GB, free: 0.8984 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.339/0.588, allocations: 4.603 MB / 0.5351 GB, free: 83.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5881, allocations: 0 / 0.5351 GB, free: 83.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.921e-05/0.5881, allocations: 1.5 kB / 0.5351 GB, free: 83.01 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.0007484/0.5889, allocations: 484.2 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.589, allocations: 8.562 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.504e-05/0.589, allocations: 35.48 kB / 0.5356 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.5891, allocations: 9.688 kB / 0.5356 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.5896, allocations: 217.7 kB / 0.5358 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.5896, allocations: 6.219 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.5897, allocations: 8.906 kB / 0.5358 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.59, allocations: 59.39 kB / 0.5359 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.59, allocations: 1.219 kB / 0.5359 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.59, allocations: 3.953 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.59, allocations: 1.688 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.5902, allocations: 20.58 kB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.5909, allocations: 319.5 kB / 0.5362 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.5912, allocations: 62.77 kB / 0.5363 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.5913, allocations: 0 / 0.5363 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.5915, allocations: 78.86 kB / 0.5363 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.5916, allocations: 0 / 0.5363 GB, free: 81.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00106/0.5926, allocations: 188.4 kB / 0.5365 GB, free: 81.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.5927, allocations: 52.5 kB / 0.5366 GB, free: 81.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.5931, allocations: 195.5 kB / 0.5368 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5932, allocations: 31.69 kB / 0.5368 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.5932, allocations: 105.7 kB / 0.5369 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.5933, allocations: 24.09 kB / 0.5369 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/0.5933, allocations: 1.344 kB / 0.5369 GB, free: 81.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.5934, allocations: 326.2 kB / 0.5372 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.5937, allocations: 41.08 kB / 0.5373 GB, free: 81.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.5939, allocations: 56.62 kB / 0.5373 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.5941, allocations: 78.42 kB / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5942, allocations: 0 / 0.5374 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006718/0.5948, allocations: 180.4 kB / 0.5376 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.5949, allocations: 40.48 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5949, allocations: 0 / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.595, allocations: 5.375 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.5952, allocations: 16.03 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5952, allocations: 0.875 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.5954, allocations: 5.031 kB / 0.5376 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.5954, allocations: 5.312 kB / 0.5376 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.000182/0.5956, allocations: 134.9 kB / 0.5378 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.5957, allocations: 17.2 kB / 0.5378 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.5962, allocations: 121.5 kB / 0.5379 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5962, allocations: 5.281 kB / 0.5379 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5963, allocations: 0 / 0.5379 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5963, allocations: 2.156 kB / 0.5379 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.5972, allocations: 425.8 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5972, allocations: 1.062 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.5973, allocations: 10.33 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.5973, allocations: 0.75 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.5974, allocations: 3.344 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.5974, allocations: 9.062 kB / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5974, allocations: 0 / 0.5383 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.5979, allocations: 230.7 kB / 0.5386 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.598, allocations: 103.1 kB / 0.5387 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.5981, allocations: 6.234 kB / 0.5387 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.5983, allocations: 7.656 kB / 0.5387 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.5984, allocations: 6.328 kB / 0.5387 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.5984, allocations: 3.609 kB / 0.5387 GB, free: 80.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003027/0.5987, allocations: 152.1 kB / 0.5388 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5987, allocations: 0 / 0.5388 GB, free: 80.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007037/0.5994, allocations: 39.11 kB / 0.5389 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.002468/0.6019, allocations: 1.166 MB / 0.54 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.6026, allocations: 167.6 kB / 0.5402 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6026, allocations: 0.5 kB / 0.5402 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.6028, allocations: 43.44 kB / 0.5402 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.6032, allocations: 23.41 kB / 0.5402 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.6044, allocations: 0.6543 MB / 0.5409 GB, free: 78.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.6046, allocations: 0.713 MB / 0.5416 GB, free: 77.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.6047, allocations: 16.86 kB / 0.5416 GB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.6049, allocations: 35.42 kB / 0.5416 GB, free: 77.89 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6049, allocations: 1.031 kB / 0.5416 GB, free: 77.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.6308, allocations: 3.126 MB / 0.5447 GB, free: 77.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.6311, allocations: 212.7 kB / 0.5449 GB, free: 76.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.123, allocations: 5.781 kB / 0.5449 GB, free: 76.84 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat