Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test13",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.009966/0.009966, 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 2.106/2.106, allocations: 194.5 MB / 210.3 MB, free: 8.578 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.001965/0.001964, allocations: 124.6 kB / 255.6 MB, free: 11.19 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.2597/0.2597, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004622, allocations: 20.53 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1005, allocations: 54.87 MB / 461.2 MB, free: 3.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.2542, allocations: 82.9 MB / 0.5313 GB, free: 276 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.2545, allocations: 67.97 kB / 0.5314 GB, free: 208 kB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.3318/0.5864, allocations: 3.594 MB / 0.5349 GB, free: 83.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5864, allocations: 0 / 0.5349 GB, free: 83.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.5865, allocations: 3.188 kB / 0.5349 GB, free: 83.4 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007973/0.5873, allocations: 0.525 MB / 0.5354 GB, free: 82.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5873, allocations: 8.25 kB / 0.5354 GB, free: 82.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.5874, allocations: 42.23 kB / 0.5354 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.5875, allocations: 14.92 kB / 0.5355 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.5878, allocations: 212 kB / 0.5357 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5879, allocations: 8.812 kB / 0.5357 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.5879, allocations: 10.98 kB / 0.5357 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.5882, allocations: 85.91 kB / 0.5358 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5882, allocations: 0 / 0.5358 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.5882, allocations: 9.578 kB / 0.5358 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5883, allocations: 6.078 kB / 0.5358 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.5885, allocations: 45.69 kB / 0.5358 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.5893, allocations: 372.1 kB / 0.5362 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.5898, allocations: 98.75 kB / 0.5363 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.5898, allocations: 2.031 kB / 0.5363 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/0.5901, allocations: 91.75 kB / 0.5364 GB, free: 82.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.5901, allocations: 0 / 0.5364 GB, free: 82.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000655/0.5908, allocations: 156.1 kB / 0.5365 GB, free: 82.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5908, allocations: 53.23 kB / 0.5366 GB, free: 82.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.5911, allocations: 159.3 kB / 0.5367 GB, free: 82.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.5911, allocations: 31.11 kB / 0.5367 GB, free: 81.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.5912, allocations: 103.8 kB / 0.5368 GB, free: 81.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.5912, allocations: 27.11 kB / 0.5369 GB, free: 81.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.5913, allocations: 6.375 kB / 0.5369 GB, free: 81.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.5914, allocations: 324.8 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.5916, allocations: 43.36 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.5918, allocations: 74.7 kB / 0.5373 GB, free: 81.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.592, allocations: 85.36 kB / 0.5374 GB, free: 81.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.592, allocations: 384 / 0.5374 GB, free: 81.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000609/0.5927, allocations: 213.5 kB / 0.5376 GB, free: 81.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.5927, allocations: 33.94 kB / 0.5376 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5927, allocations: 5.609 kB / 0.5376 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.5928, allocations: 6.844 kB / 0.5376 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.593, allocations: 23.81 kB / 0.5376 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.593, allocations: 1.688 kB / 0.5376 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.5931, allocations: 17.98 kB / 0.5377 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.5932, allocations: 5.312 kB / 0.5377 GB, free: 81.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001429/0.5933, allocations: 128.2 kB / 0.5378 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.5934, allocations: 13.98 kB / 0.5378 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.5939, allocations: 134.6 kB / 0.5379 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.5939, allocations: 1.875 kB / 0.5379 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5939, allocations: 0 / 0.5379 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.5939, allocations: 0.6094 kB / 0.5379 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.5942, allocations: 221.5 kB / 0.5381 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.5942, allocations: 0 / 0.5381 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.5943, allocations: 13.23 kB / 0.5382 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5944, allocations: 1.594 kB / 0.5382 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.5944, allocations: 6.234 kB / 0.5382 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5944, allocations: 1.312 kB / 0.5382 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5944, allocations: 0 / 0.5382 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.595, allocations: 197.8 kB / 0.5384 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.5952, allocations: 102.9 kB / 0.5385 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.5952, allocations: 1.844 kB / 0.5385 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5953, allocations: 15.81 kB / 0.5385 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.5954, allocations: 7.141 kB / 0.5385 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.5954, allocations: 6.859 kB / 0.5385 GB, free: 80.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.5956, allocations: 136 kB / 0.5386 GB, free: 80.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5956, allocations: 1.281 kB / 0.5386 GB, free: 80.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003951/0.596, allocations: 38.67 kB / 0.5387 GB, free: 80.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001826/0.5978, allocations: 1.026 MB / 0.5397 GB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005942/0.5985, allocations: 187.7 kB / 0.5398 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5985, allocations: 0 / 0.5398 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.5987, allocations: 44.02 kB / 0.5399 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.5991, allocations: 24.2 kB / 0.5399 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.6003, allocations: 0.8321 MB / 0.5407 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.6005, allocations: 0.7114 MB / 0.5414 GB, free: 78.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.6007, allocations: 16.78 kB / 0.5414 GB, free: 78.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.6008, allocations: 44.75 kB / 0.5415 GB, free: 78.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6008, allocations: 0 / 0.5415 GB, free: 78.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.6233, allocations: 3.157 MB / 0.5445 GB, free: 77.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.6235, allocations: 211.1 kB / 0.5447 GB, free: 77.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.158, allocations: 0 / 0.5447 GB, free: 77.38 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat