Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test81",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.009926/0.009931, 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.058/2.058, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.002003/0.002003, allocations: 116.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.2703/0.2703, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006587/0.0006587, allocations: 14.09 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09938/0.1001, allocations: 54.88 MB / 461.1 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.2498, allocations: 82.18 MB / 0.5306 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.2502, allocations: 71.97 kB / 0.5307 GB, free: 0.918 MB / 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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3328/0.583, allocations: 5.358 MB / 0.5359 GB, free: 83.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.583, allocations: 1.25 kB / 0.5359 GB, free: 83.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.5831, allocations: 1.5 kB / 0.5359 GB, free: 83.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007768/0.5838, allocations: 0.5792 MB / 0.5365 GB, free: 82.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5839, allocations: 12.03 kB / 0.5365 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.584, allocations: 37.91 kB / 0.5365 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.584, allocations: 17.45 kB / 0.5365 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.5845, allocations: 226.8 kB / 0.5367 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5845, allocations: 7.109 kB / 0.5368 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.5846, allocations: 10.78 kB / 0.5368 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.5849, allocations: 104.9 kB / 0.5369 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5849, allocations: 8.688 kB / 0.5369 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.5849, allocations: 1.344 kB / 0.5369 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.585, allocations: 1.25 kB / 0.5369 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.5852, allocations: 41.84 kB / 0.5369 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.5855, allocations: 230.1 kB / 0.5371 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.5859, allocations: 115 kB / 0.5372 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.586, allocations: 1.969 kB / 0.5372 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003045/0.5863, allocations: 117.1 kB / 0.5374 GB, free: 81.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.5863, allocations: 0 / 0.5374 GB, free: 81.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007171/0.587, allocations: 179.3 kB / 0.5375 GB, free: 81.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.5871, allocations: 134.7 kB / 0.5377 GB, free: 81.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.5874, allocations: 195.7 kB / 0.5378 GB, free: 81.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.5874, allocations: 28.95 kB / 0.5379 GB, free: 81.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.5875, allocations: 105 kB / 0.538 GB, free: 81.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.5876, allocations: 30.66 kB / 0.538 GB, free: 81.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.5876, allocations: 6.75 kB / 0.538 GB, free: 81.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.5877, allocations: 327.3 kB / 0.5383 GB, free: 81.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.5879, allocations: 54.36 kB / 0.5384 GB, free: 81.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.5881, allocations: 93.14 kB / 0.5385 GB, free: 81.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.5884, allocations: 116 kB / 0.5386 GB, free: 80.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5884, allocations: 1.062 kB / 0.5386 GB, free: 80.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006352/0.589, allocations: 251 kB / 0.5388 GB, free: 80.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.5891, allocations: 66.64 kB / 0.5389 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.5891, allocations: 0.8906 kB / 0.5389 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5891, allocations: 3.031 kB / 0.5389 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.5893, allocations: 25.33 kB / 0.5389 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.5894, allocations: 6.453 kB / 0.5389 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.5896, allocations: 28.55 kB / 0.5389 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.5896, allocations: 10.16 kB / 0.5389 GB, free: 80.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001537/0.5898, allocations: 131.3 kB / 0.5391 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.5898, allocations: 18.22 kB / 0.5391 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/0.5904, allocations: 159.6 kB / 0.5392 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5904, allocations: 2.281 kB / 0.5392 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5904, allocations: 2.094 kB / 0.5392 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5905, allocations: 8.797 kB / 0.5393 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.5907, allocations: 221.2 kB / 0.5395 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5907, allocations: 5.031 kB / 0.5395 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.099e-05/0.5908, allocations: 15.45 kB / 0.5395 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.5908, allocations: 1.062 kB / 0.5395 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.5909, allocations: 4.297 kB / 0.5395 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5909, allocations: 1.219 kB / 0.5395 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5909, allocations: 4.969 kB / 0.5395 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.5914, allocations: 199.6 kB / 0.5397 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.5915, allocations: 105.9 kB / 0.5398 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.5916, allocations: 6.188 kB / 0.5398 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5917, allocations: 11.5 kB / 0.5398 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.5918, allocations: 13.73 kB / 0.5398 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.5918, allocations: 6.297 kB / 0.5398 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002062/0.592, allocations: 154.6 kB / 0.54 GB, free: 80.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.592, allocations: 0 / 0.54 GB, free: 80.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004822/0.5925, allocations: 75.34 kB / 0.54 GB, free: 80.06 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002592/0.5951, allocations: 1.402 MB / 0.5414 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006757/0.5959, allocations: 274.4 kB / 0.5417 GB, free: 78.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5959, allocations: 0 / 0.5417 GB, free: 78.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.5961, allocations: 49.38 kB / 0.5417 GB, free: 78.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.5965, allocations: 39.14 kB / 0.5418 GB, free: 78.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5978, allocations: 1.018 MB / 0.5427 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.598, allocations: 0.7188 MB / 0.5435 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.5982, allocations: 29.88 kB / 0.5435 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.5984, allocations: 51.14 kB / 0.5435 GB, free: 77.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5984, allocations: 0 / 0.5435 GB, free: 77.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.6338, allocations: 4.546 MB / 0.548 GB, free: 75.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.6341, allocations: 207.5 kB / 0.5482 GB, free: 75.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.135, allocations: 7.938 kB / 0.5482 GB, free: 75.06 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat