Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test33",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.01366/0.01366, allocations: 175.9 kB / 15.12 MB, free: 5.984 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.941/1.941, allocations: 194.5 MB / 210.3 MB, free: 8.777 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.002078/0.002078, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2472/0.2472, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007009/0.0007009, allocations: 12.28 kB / 406.3 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1274, allocations: 54.87 MB / 461.1 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.2763, allocations: 82.16 MB / 0.5306 GB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.2767, allocations: 67.97 kB / 0.5306 GB, free: 0.9766 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.3043/0.581, allocations: 4.584 MB / 0.5351 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.581, allocations: 0 / 0.5351 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.581, allocations: 3.156 kB / 0.5351 GB, free: 82.95 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.0006377/0.5817, allocations: 479.2 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5817, allocations: 10.38 kB / 0.5356 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.5818, allocations: 33.91 kB / 0.5356 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.5819, allocations: 13.61 kB / 0.5356 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.5822, allocations: 202.5 kB / 0.5358 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5822, allocations: 9.75 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.5823, allocations: 5.188 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.5825, allocations: 60.25 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.5825, allocations: 0 / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.5825, allocations: 8.828 kB / 0.5359 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.5826, allocations: 0 / 0.5359 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.5827, allocations: 21.34 kB / 0.5359 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.5832, allocations: 307.7 kB / 0.5362 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.5834, allocations: 66.44 kB / 0.5363 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5835, allocations: 0 / 0.5363 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.5837, allocations: 75.98 kB / 0.5364 GB, free: 81.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.5837, allocations: 0 / 0.5364 GB, free: 81.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007847/0.5845, allocations: 188.8 kB / 0.5365 GB, free: 81.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.5845, allocations: 53.05 kB / 0.5366 GB, free: 81.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.5847, allocations: 164.2 kB / 0.5367 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.5848, allocations: 32.78 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.5848, allocations: 99.23 kB / 0.5369 GB, free: 81.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5849, allocations: 30.58 kB / 0.5369 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.5849, allocations: 1.094 kB / 0.5369 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.585, allocations: 323 kB / 0.5372 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5852, allocations: 42.98 kB / 0.5372 GB, free: 81.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.5853, allocations: 52.41 kB / 0.5373 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.5855, allocations: 78.53 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5855, allocations: 1.375 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004312/0.586, allocations: 177.2 kB / 0.5375 GB, free: 81.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.586, allocations: 35.41 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.586, allocations: 4.859 kB / 0.5376 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5861, allocations: 5.812 kB / 0.5376 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.5862, allocations: 19.66 kB / 0.5376 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5862, allocations: 8.609 kB / 0.5376 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.482e-05/0.5864, allocations: 9.484 kB / 0.5376 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.5864, allocations: 5.328 kB / 0.5376 GB, free: 81 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.0001105/0.5865, allocations: 129.6 kB / 0.5377 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.5865, allocations: 11.8 kB / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.5869, allocations: 125.1 kB / 0.5379 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.5869, allocations: 5.875 kB / 0.5379 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.587, allocations: 0 / 0.5379 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.587, allocations: 1.891 kB / 0.5379 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.5876, allocations: 409.6 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5876, allocations: 1.5 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.5877, allocations: 10.16 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5877, allocations: 5.219 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5878, allocations: 2.75 kB / 0.5383 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.5878, allocations: 9.312 kB / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5878, allocations: 0 / 0.5383 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.5881, allocations: 224.7 kB / 0.5385 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.5882, allocations: 100.6 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.5883, allocations: 3.047 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.5884, allocations: 7.375 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.5884, allocations: 9.422 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.5885, allocations: 3.141 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000156/0.5886, allocations: 139.3 kB / 0.5388 GB, free: 80.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5886, allocations: 0 / 0.5388 GB, free: 80.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004122/0.5891, allocations: 43.3 kB / 0.5388 GB, free: 80.14 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.001661/0.5907, allocations: 1.162 MB / 0.5399 GB, free: 79.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.5912, allocations: 174.8 kB / 0.5401 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5913, allocations: 0 / 0.5401 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.5914, allocations: 35.28 kB / 0.5401 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.5918, allocations: 20.16 kB / 0.5402 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.5928, allocations: 0.6327 MB / 0.5408 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.593, allocations: 0.7056 MB / 0.5415 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.084e-05/0.5931, allocations: 21.14 kB / 0.5415 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.5932, allocations: 38.92 kB / 0.5415 GB, free: 77.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5933, allocations: 1.25 kB / 0.5415 GB, free: 77.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.6186, allocations: 2.974 MB / 0.5444 GB, free: 77.14 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.6189, allocations: 220.9 kB / 0.5446 GB, free: 76.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.004, allocations: 0 / 0.5446 GB, free: 76.89 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat