Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test20",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: 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 2.029/2.029, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.002008/0.002007, allocations: 120.5 kB / 255.6 MB, free: 11.2 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.3066/0.3066, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006569, allocations: 16.12 kB / 406.3 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1172, allocations: 54.87 MB / 461.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.2686, allocations: 82.12 MB / 0.5305 GB, free: 1.078 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.2689, allocations: 67.97 kB / 0.5306 GB, free: 1.012 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.3205/0.5894, allocations: 4.481 MB / 0.535 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5894, allocations: 4 kB / 0.535 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.5895, allocations: 3.031 kB / 0.535 GB, free: 82.93 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.0007412/0.5902, allocations: 473.4 kB / 0.5354 GB, free: 82.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.5903, allocations: 13.22 kB / 0.5355 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.5903, allocations: 35.75 kB / 0.5355 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.5904, allocations: 9.75 kB / 0.5355 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.5908, allocations: 202.7 kB / 0.5357 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.5909, allocations: 4.312 kB / 0.5357 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.5909, allocations: 10.27 kB / 0.5357 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.5912, allocations: 58.09 kB / 0.5358 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5912, allocations: 0 / 0.5358 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.5912, allocations: 4.609 kB / 0.5358 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5913, allocations: 1.5 kB / 0.5358 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.5914, allocations: 23.62 kB / 0.5358 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.5921, allocations: 308.1 kB / 0.5361 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.5924, allocations: 63.08 kB / 0.5361 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.5924, allocations: 0.6094 kB / 0.5361 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.5927, allocations: 77.55 kB / 0.5362 GB, free: 81.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.575e-06/0.5927, allocations: 3.938 kB / 0.5362 GB, free: 81.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001014/0.5938, allocations: 183.9 kB / 0.5364 GB, free: 81.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.5938, allocations: 56.5 kB / 0.5364 GB, free: 81.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.5941, allocations: 168.8 kB / 0.5366 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.5942, allocations: 25.7 kB / 0.5366 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.5942, allocations: 104.4 kB / 0.5367 GB, free: 81.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.5943, allocations: 26.47 kB / 0.5368 GB, free: 81.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.5943, allocations: 1.531 kB / 0.5368 GB, free: 81.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.5944, allocations: 324.6 kB / 0.5371 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.5946, allocations: 35.66 kB / 0.5371 GB, free: 81.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.5949, allocations: 58.31 kB / 0.5372 GB, free: 81.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.5951, allocations: 75.23 kB / 0.5372 GB, free: 81.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5951, allocations: 0 / 0.5372 GB, free: 81.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006244/0.5958, allocations: 184.1 kB / 0.5374 GB, free: 81.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.5958, allocations: 40.53 kB / 0.5374 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5959, allocations: 1.812 kB / 0.5374 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5959, allocations: 1.281 kB / 0.5374 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.5961, allocations: 18.75 kB / 0.5375 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.5961, allocations: 10.06 kB / 0.5375 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.5963, allocations: 4.781 kB / 0.5375 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.5963, allocations: 6.094 kB / 0.5375 GB, free: 80.99 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.000163/0.5965, allocations: 131.3 kB / 0.5376 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.5966, allocations: 12.7 kB / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.5971, allocations: 123.6 kB / 0.5377 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.5971, allocations: 7.719 kB / 0.5377 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5971, allocations: 4 kB / 0.5378 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5971, allocations: 0 / 0.5378 GB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/0.598, allocations: 408.5 kB / 0.5381 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.598, allocations: 1.734 kB / 0.5381 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.5982, allocations: 9.312 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.5982, allocations: 2.203 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.5982, allocations: 5.906 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5982, allocations: 1.281 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5983, allocations: 9.438 kB / 0.5382 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.5987, allocations: 220.7 kB / 0.5384 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5989, allocations: 101.6 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.5989, allocations: 6.047 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.5991, allocations: 3.891 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.5992, allocations: 10.14 kB / 0.5385 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.5992, allocations: 7.766 kB / 0.5385 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.5995, allocations: 138.9 kB / 0.5386 GB, free: 80.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5995, allocations: 0 / 0.5386 GB, free: 80.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006812/0.6002, allocations: 40.06 kB / 0.5387 GB, free: 80.13 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.002498/0.6027, allocations: 1.159 MB / 0.5398 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.6034, allocations: 168.1 kB / 0.54 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6034, allocations: 1.188 kB / 0.54 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.6036, allocations: 29.98 kB / 0.54 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.0004988/0.6042, allocations: 29.59 kB / 0.54 GB, free: 79.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.6055, allocations: 0.6381 MB / 0.5406 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.6057, allocations: 0.7079 MB / 0.5413 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.6058, allocations: 12.67 kB / 0.5413 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.606, allocations: 29.67 kB / 0.5414 GB, free: 77.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.606, allocations: 5 kB / 0.5414 GB, free: 77.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.6533, allocations: 2.975 MB / 0.5443 GB, free: 77.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.6536, allocations: 216.4 kB / 0.5445 GB, free: 76.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.047, allocations: 4 kB / 0.5445 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.Test20_res.mat does not exist to compare? outputFormat=mat