Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test52",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.016/0.016, allocations: 177.4 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 1.852/1.852, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001999/0.001999, allocations: 124.6 kB / 255.6 MB, free: 10.23 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.282/0.282, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004979, allocations: 16.31 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.2824, allocations: 82.15 MB / 0.5306 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.2828, allocations: 79.94 kB / 0.5306 GB, free: 0.8633 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.3164/0.5992, allocations: 4.761 MB / 0.5353 GB, free: 83.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5993, allocations: 0 / 0.5353 GB, free: 83.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.5993, allocations: 3.25 kB / 0.5353 GB, free: 83.03 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.000603/0.5999, allocations: 493.4 kB / 0.5358 GB, free: 82.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6, allocations: 9.578 kB / 0.5358 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.6, allocations: 32.5 kB / 0.5358 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.6001, allocations: 14.75 kB / 0.5358 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.6004, allocations: 211.8 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.6005, allocations: 5.625 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.6005, allocations: 5 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.6007, allocations: 54.69 kB / 0.5361 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6007, allocations: 0 / 0.5361 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.6007, allocations: 7.656 kB / 0.5361 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6008, allocations: 1.031 kB / 0.5361 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.6009, allocations: 23.94 kB / 0.5361 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.6014, allocations: 322.5 kB / 0.5364 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.6016, allocations: 61.77 kB / 0.5365 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.6017, allocations: 4.156 kB / 0.5365 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.6019, allocations: 71.8 kB / 0.5366 GB, free: 81.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.6019, allocations: 4 kB / 0.5366 GB, free: 81.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008855/0.6028, allocations: 186.5 kB / 0.5367 GB, free: 81.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.6029, allocations: 54.84 kB / 0.5368 GB, free: 81.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.6032, allocations: 202.6 kB / 0.537 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.6032, allocations: 27.33 kB / 0.537 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.6033, allocations: 107.5 kB / 0.5371 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.6034, allocations: 26.64 kB / 0.5371 GB, free: 81.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.6034, allocations: 5.719 kB / 0.5371 GB, free: 81.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.6035, allocations: 326.5 kB / 0.5375 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.6036, allocations: 37.62 kB / 0.5375 GB, free: 81.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.6038, allocations: 61.11 kB / 0.5375 GB, free: 81.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.604, allocations: 69.31 kB / 0.5376 GB, free: 81.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.604, allocations: 0 / 0.5376 GB, free: 81.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005043/0.6045, allocations: 187.1 kB / 0.5378 GB, free: 81.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.6046, allocations: 36.41 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6046, allocations: 9.719 kB / 0.5378 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.6046, allocations: 1.156 kB / 0.5378 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.6048, allocations: 19.02 kB / 0.5379 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6048, allocations: 1.094 kB / 0.5379 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.605, allocations: 9.531 kB / 0.5379 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.605, allocations: 5.719 kB / 0.5379 GB, free: 81.07 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.0001533/0.6052, allocations: 129.3 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.6052, allocations: 17.7 kB / 0.538 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.6056, allocations: 127.4 kB / 0.5381 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6056, allocations: 1.531 kB / 0.5381 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6057, allocations: 0.6562 kB / 0.5381 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6057, allocations: 0 / 0.5381 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.6064, allocations: 424.8 kB / 0.5385 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6064, allocations: 1.375 kB / 0.5385 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.6065, allocations: 10.52 kB / 0.5385 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.6065, allocations: 8.625 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.6065, allocations: 3.547 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6065, allocations: 0 / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6065, allocations: 2.219 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.6069, allocations: 233.3 kB / 0.5388 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.607, allocations: 102.8 kB / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.6071, allocations: 6.656 kB / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6072, allocations: 3.531 kB / 0.5389 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.6073, allocations: 14.16 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.6073, allocations: 4.344 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.6075, allocations: 162.1 kB / 0.5391 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6075, allocations: 0 / 0.5391 GB, free: 80.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004217/0.608, allocations: 50.64 kB / 0.5391 GB, free: 80.21 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.001687/0.6097, allocations: 1.155 MB / 0.5402 GB, free: 79.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.6102, allocations: 169.2 kB / 0.5404 GB, free: 79.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6102, allocations: 4.062 kB / 0.5404 GB, free: 79.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.6103, allocations: 35.69 kB / 0.5404 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.6107, allocations: 18.91 kB / 0.5405 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.6118, allocations: 0.6753 MB / 0.5411 GB, free: 78.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.612, allocations: 0.7171 MB / 0.5418 GB, free: 77.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.795e-05/0.6121, allocations: 14.72 kB / 0.5418 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.6122, allocations: 40.81 kB / 0.5419 GB, free: 77.91 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6122, allocations: 1 kB / 0.5419 GB, free: 77.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.6385, allocations: 3.191 MB / 0.545 GB, free: 77.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.6387, allocations: 220.2 kB / 0.5452 GB, free: 76.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.106, allocations: 0 / 0.5452 GB, free: 76.77 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat