Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test17",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.01022/0.01022, allocations: 176.2 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.031/2.031, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.002166/0.002165, allocations: 124.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.2807/0.2807, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005007, allocations: 12.44 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1034, allocations: 54.87 MB / 461.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.2653, allocations: 82.16 MB / 0.5306 GB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.2656, allocations: 71.95 kB / 0.5306 GB, free: 0.9727 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.3187/0.5843, allocations: 4.542 MB / 0.5351 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5844, allocations: 0 / 0.5351 GB, free: 82.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.5844, allocations: 3.703 kB / 0.5351 GB, free: 82.94 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.0005984/0.585, allocations: 478.3 kB / 0.5355 GB, free: 82.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5851, allocations: 11.41 kB / 0.5355 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.5851, allocations: 32.97 kB / 0.5356 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.5852, allocations: 13.22 kB / 0.5356 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.5855, allocations: 196.1 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.5855, allocations: 2.281 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.5856, allocations: 8.266 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.5858, allocations: 55.61 kB / 0.5358 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.5858, allocations: 5.156 kB / 0.5358 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.5858, allocations: 4.656 kB / 0.5358 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5859, allocations: 4.969 kB / 0.5359 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.586, allocations: 27.09 kB / 0.5359 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.5864, allocations: 311.5 kB / 0.5362 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.5867, allocations: 63.59 kB / 0.5362 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.5868, allocations: 0 / 0.5362 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.587, allocations: 75.3 kB / 0.5363 GB, free: 81.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.587, allocations: 0 / 0.5363 GB, free: 81.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008209/0.5878, allocations: 181.3 kB / 0.5365 GB, free: 81.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.5879, allocations: 54.44 kB / 0.5365 GB, free: 81.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.5881, allocations: 157 kB / 0.5367 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.5881, allocations: 29.98 kB / 0.5367 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.5882, allocations: 106.1 kB / 0.5368 GB, free: 81.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.5882, allocations: 19.08 kB / 0.5368 GB, free: 81.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.5883, allocations: 5.375 kB / 0.5368 GB, free: 81.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.5884, allocations: 320.8 kB / 0.5371 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.5885, allocations: 35.83 kB / 0.5372 GB, free: 81.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.5887, allocations: 55.12 kB / 0.5372 GB, free: 81.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.5889, allocations: 77 kB / 0.5373 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5889, allocations: 4 kB / 0.5373 GB, free: 81.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004695/0.5894, allocations: 178.5 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.5894, allocations: 36.47 kB / 0.5375 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5894, allocations: 0.875 kB / 0.5375 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5895, allocations: 1.156 kB / 0.5375 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.5896, allocations: 27.56 kB / 0.5375 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.5897, allocations: 1.656 kB / 0.5375 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.5898, allocations: 5.016 kB / 0.5375 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.5898, allocations: 5.594 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.0001283/0.59, allocations: 133.1 kB / 0.5377 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.59, allocations: 16.67 kB / 0.5377 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.5904, allocations: 124.2 kB / 0.5378 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5904, allocations: 1.188 kB / 0.5378 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5904, allocations: 0.6094 kB / 0.5378 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5905, allocations: 1.703 kB / 0.5378 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.5911, allocations: 409.2 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5911, allocations: 6.078 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/0.5912, allocations: 9.391 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5912, allocations: 1.703 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.5913, allocations: 6.094 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5913, allocations: 0.9375 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5913, allocations: 4.688 kB / 0.5382 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.5917, allocations: 223.6 kB / 0.5384 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.5918, allocations: 102.3 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.5918, allocations: 3.453 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5919, allocations: 4 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.592, allocations: 7.906 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.592, allocations: 3.766 kB / 0.5386 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001472/0.5922, allocations: 126.1 kB / 0.5387 GB, free: 80.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5922, allocations: 5.5 kB / 0.5387 GB, free: 80.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004325/0.5926, allocations: 37.89 kB / 0.5387 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.001732/0.5944, allocations: 1.157 MB / 0.5399 GB, free: 79.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.5949, allocations: 173.4 kB / 0.54 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.5949, allocations: 0 / 0.54 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.595, allocations: 42.2 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.0003575/0.5954, allocations: 16.7 kB / 0.5401 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5964, allocations: 0.6087 MB / 0.5407 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.5967, allocations: 0.7078 MB / 0.5414 GB, free: 77.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.5968, allocations: 11.83 kB / 0.5414 GB, free: 77.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/0.5969, allocations: 32.55 kB / 0.5414 GB, free: 77.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.093e-06/0.5969, allocations: 3.938 kB / 0.5414 GB, free: 77.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08529/0.6822, allocations: 2.913 MB / 0.5443 GB, free: 77.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.6824, allocations: 216.1 kB / 0.5445 GB, free: 76.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.344, allocations: 3.938 kB / 0.5445 GB, free: 76.95 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat