Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test27",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: 176.1 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.965/1.965, allocations: 194.5 MB / 210.3 MB, free: 8.586 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.001975/0.001975, allocations: 112.7 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.2484/0.2484, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006384/0.0006381, allocations: 12.22 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09612, allocations: 54.87 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.2729, allocations: 82.12 MB / 0.5305 GB, free: 1.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.2732, allocations: 75.95 kB / 0.5306 GB, free: 0.9961 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.311/0.5843, allocations: 4.483 MB / 0.535 GB, free: 82.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5844, allocations: 0 / 0.535 GB, free: 82.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.5844, allocations: 2.125 kB / 0.535 GB, free: 82.64 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.0005727/0.585, allocations: 485.2 kB / 0.5354 GB, free: 82.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.585, allocations: 8.781 kB / 0.5355 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.5851, allocations: 36.38 kB / 0.5355 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.5851, allocations: 9.156 kB / 0.5355 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.5855, allocations: 204 kB / 0.5357 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.5855, allocations: 3.188 kB / 0.5357 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.5856, allocations: 4.594 kB / 0.5357 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.5858, allocations: 63.72 kB / 0.5358 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5858, allocations: 0 / 0.5358 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.5858, allocations: 7.031 kB / 0.5358 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5858, allocations: 0 / 0.5358 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.586, allocations: 26.73 kB / 0.5358 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.5864, allocations: 307.4 kB / 0.5361 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.5867, allocations: 60.52 kB / 0.5361 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.5868, allocations: 3.234 kB / 0.5361 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.587, allocations: 78.11 kB / 0.5362 GB, free: 81.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.587, allocations: 0 / 0.5362 GB, free: 81.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008399/0.5879, allocations: 182.2 kB / 0.5364 GB, free: 81.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.5879, allocations: 57.38 kB / 0.5364 GB, free: 81.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.5881, allocations: 170.8 kB / 0.5366 GB, free: 81.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.5882, allocations: 30.58 kB / 0.5366 GB, free: 81.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.5882, allocations: 102.1 kB / 0.5367 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.5883, allocations: 25.02 kB / 0.5368 GB, free: 81.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.5883, allocations: 2.406 kB / 0.5368 GB, free: 81.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.248e-05/0.5884, allocations: 323.1 kB / 0.5371 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5885, allocations: 36.19 kB / 0.5371 GB, free: 80.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.5887, allocations: 55.69 kB / 0.5372 GB, free: 80.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5889, allocations: 86.7 kB / 0.5372 GB, free: 80.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5889, allocations: 0 / 0.5372 GB, free: 80.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004405/0.5893, allocations: 181.1 kB / 0.5374 GB, free: 80.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.5894, allocations: 40.33 kB / 0.5375 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5894, allocations: 5.281 kB / 0.5375 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5894, allocations: 0.5625 kB / 0.5375 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.5896, allocations: 20 kB / 0.5375 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5896, allocations: 1.844 kB / 0.5375 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.5897, allocations: 8.375 kB / 0.5375 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.5898, allocations: 9.094 kB / 0.5375 GB, free: 80.68 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.0001193/0.5899, allocations: 124.1 kB / 0.5376 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.5899, allocations: 16.02 kB / 0.5376 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.5903, allocations: 121.7 kB / 0.5377 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5904, allocations: 1.922 kB / 0.5377 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5904, allocations: 0 / 0.5377 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5904, allocations: 1.391 kB / 0.5378 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.591, allocations: 413.5 kB / 0.5381 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5911, allocations: 1.188 kB / 0.5381 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.5911, allocations: 13.47 kB / 0.5382 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5912, allocations: 1.531 kB / 0.5382 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5912, allocations: 1.781 kB / 0.5382 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5912, allocations: 1.062 kB / 0.5382 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5912, allocations: 1.938 kB / 0.5382 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.5916, allocations: 226.9 kB / 0.5384 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.5916, allocations: 104.4 kB / 0.5385 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.5917, allocations: 1.797 kB / 0.5385 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.5918, allocations: 8.375 kB / 0.5385 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.5919, allocations: 10.58 kB / 0.5385 GB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.5919, allocations: 7.859 kB / 0.5385 GB, free: 79.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.5921, allocations: 135.7 kB / 0.5386 GB, free: 79.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5921, allocations: 0 / 0.5386 GB, free: 79.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004037/0.5925, allocations: 44.27 kB / 0.5387 GB, free: 79.83 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.001646/0.5941, allocations: 1.158 MB / 0.5398 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.5946, allocations: 169.5 kB / 0.54 GB, free: 78.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5946, allocations: 3.938 kB / 0.54 GB, free: 78.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.5948, allocations: 40.7 kB / 0.54 GB, free: 78.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.5951, allocations: 15.39 kB / 0.54 GB, free: 78.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.5961, allocations: 0.6373 MB / 0.5407 GB, free: 78.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.5963, allocations: 0.706 MB / 0.5413 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.069e-05/0.5964, allocations: 15.08 kB / 0.5414 GB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.5965, allocations: 29.88 kB / 0.5414 GB, free: 77.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5965, allocations: 0 / 0.5414 GB, free: 77.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.6234, allocations: 2.986 MB / 0.5443 GB, free: 76.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.6237, allocations: 216.5 kB / 0.5445 GB, free: 76.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.124, allocations: 0 / 0.5445 GB, free: 76.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat