Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test21",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.01053/0.01053, allocations: 176 kB / 15.12 MB, free: 5.93 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.922/1.922, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001943/0.001943, allocations: 120.6 kB / 255.6 MB, free: 10.22 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.2604/0.2604, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004697, allocations: 12.72 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.09867, allocations: 54.88 MB / 461.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.2464, allocations: 82.15 MB / 0.5306 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.2467, allocations: 67.97 kB / 0.5306 GB, free: 0.8438 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.3456/0.5924, allocations: 4.579 MB / 0.5351 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5924, allocations: 0 / 0.5351 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5925, allocations: 3.031 kB / 0.5351 GB, free: 83.04 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.0005619/0.593, allocations: 476.5 kB / 0.5356 GB, free: 82.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5931, allocations: 10.12 kB / 0.5356 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.5931, allocations: 34.94 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.5932, allocations: 9.953 kB / 0.5356 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.5935, allocations: 209.7 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.5936, allocations: 4.844 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.5936, allocations: 5.219 kB / 0.5358 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5938, allocations: 54.19 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5938, allocations: 1.031 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5938, allocations: 6.719 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.5939, allocations: 1.344 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.594, allocations: 23.8 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.5944, allocations: 316.7 kB / 0.5362 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5947, allocations: 60.64 kB / 0.5363 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.5947, allocations: 0.9375 kB / 0.5363 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.5949, allocations: 74.62 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.595, allocations: 1.312 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007639/0.5957, allocations: 185.3 kB / 0.5365 GB, free: 81.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.5958, allocations: 53.41 kB / 0.5366 GB, free: 81.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.596, allocations: 165.5 kB / 0.5367 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.596, allocations: 31.3 kB / 0.5368 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.5961, allocations: 103 kB / 0.5369 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.5961, allocations: 25.78 kB / 0.5369 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.5962, allocations: 5.938 kB / 0.5369 GB, free: 81.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.5962, allocations: 326.2 kB / 0.5372 GB, free: 81.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.5964, allocations: 40.52 kB / 0.5372 GB, free: 81.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.5966, allocations: 52.03 kB / 0.5373 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.5967, allocations: 79.98 kB / 0.5374 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5967, allocations: 1.469 kB / 0.5374 GB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000426/0.5972, allocations: 182.4 kB / 0.5375 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.5972, allocations: 39.44 kB / 0.5376 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5973, allocations: 4.031 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5973, allocations: 1.031 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5974, allocations: 15.97 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5975, allocations: 1.891 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.5976, allocations: 9.453 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.5976, allocations: 5.234 kB / 0.5376 GB, free: 81.1 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.0001082/0.5977, allocations: 130.4 kB / 0.5377 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.5977, allocations: 12.86 kB / 0.5377 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.5981, allocations: 128.3 kB / 0.5379 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5981, allocations: 0.5625 kB / 0.5379 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5982, allocations: 0 / 0.5379 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5982, allocations: 2.141 kB / 0.5379 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009236/0.5991, allocations: 416 kB / 0.5383 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.5991, allocations: 1.125 kB / 0.5383 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5993, allocations: 13.84 kB / 0.5383 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.5993, allocations: 6.172 kB / 0.5383 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.5993, allocations: 2.047 kB / 0.5383 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5994, allocations: 1.312 kB / 0.5383 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5994, allocations: 0 / 0.5383 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.5999, allocations: 223 kB / 0.5385 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.6, allocations: 103.3 kB / 0.5386 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.6001, allocations: 7.562 kB / 0.5386 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.6003, allocations: 4.312 kB / 0.5386 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.6004, allocations: 5.156 kB / 0.5386 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.6005, allocations: 7.781 kB / 0.5386 GB, free: 80.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002345/0.6007, allocations: 137.9 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6007, allocations: 0 / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.6012, allocations: 39.56 kB / 0.5388 GB, free: 80.24 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.001769/0.603, allocations: 1.171 MB / 0.5399 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.6035, allocations: 163.9 kB / 0.5401 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6035, allocations: 0 / 0.5401 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.6036, allocations: 38.91 kB / 0.5401 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.604, allocations: 17.44 kB / 0.5402 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/0.605, allocations: 0.6371 MB / 0.5408 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.6052, allocations: 0.7048 MB / 0.5415 GB, free: 77.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.6053, allocations: 17.22 kB / 0.5415 GB, free: 77.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.6054, allocations: 32.5 kB / 0.5415 GB, free: 77.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6054, allocations: 0 / 0.5415 GB, free: 77.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.6288, allocations: 2.984 MB / 0.5444 GB, free: 77.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.6291, allocations: 212.5 kB / 0.5446 GB, free: 76.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.148, allocations: 0 / 0.5446 GB, free: 76.96 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat