Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test41",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.01046/0.01047, 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.03/2.03, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001993/0.001993, allocations: 124.7 kB / 255.6 MB, free: 10.24 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.2743/0.2743, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004745, allocations: 12.75 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1019, allocations: 54.88 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.2553, allocations: 82.15 MB / 0.5306 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.2556, allocations: 75.91 kB / 0.5306 GB, free: 0.832 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.3351/0.5907, allocations: 4.71 MB / 0.5352 GB, free: 83.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5907, allocations: 0 / 0.5352 GB, free: 83.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.5908, allocations: 2.219 kB / 0.5352 GB, free: 83.04 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.0005976/0.5914, allocations: 478.6 kB / 0.5357 GB, free: 82.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.5915, allocations: 10.17 kB / 0.5357 GB, free: 82.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.5915, allocations: 34.83 kB / 0.5357 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.5916, allocations: 15.7 kB / 0.5358 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.5919, allocations: 213.1 kB / 0.536 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5919, allocations: 7.156 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.592, allocations: 8.859 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.5922, allocations: 55 kB / 0.536 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5922, allocations: 0 / 0.536 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.5922, allocations: 9.469 kB / 0.536 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5922, allocations: 1.062 kB / 0.536 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.5924, allocations: 22.45 kB / 0.5361 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.5929, allocations: 320.4 kB / 0.5364 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.5931, allocations: 61.25 kB / 0.5364 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5932, allocations: 1.953 kB / 0.5364 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.5934, allocations: 73.8 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.5934, allocations: 0 / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00081/0.5942, allocations: 186.4 kB / 0.5367 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.5942, allocations: 52.62 kB / 0.5367 GB, free: 81.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.5945, allocations: 198.4 kB / 0.5369 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.5946, allocations: 26.98 kB / 0.5369 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.5946, allocations: 103.3 kB / 0.537 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.5947, allocations: 21.61 kB / 0.5371 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.5947, allocations: 5.406 kB / 0.5371 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.5948, allocations: 322.1 kB / 0.5374 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.5949, allocations: 42.22 kB / 0.5374 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.5951, allocations: 52.98 kB / 0.5375 GB, free: 81.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.5953, allocations: 80.61 kB / 0.5375 GB, free: 81.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5953, allocations: 0 / 0.5375 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004785/0.5958, allocations: 179.8 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.5958, allocations: 39.92 kB / 0.5377 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5959, allocations: 0 / 0.5377 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5959, allocations: 1.344 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.596, allocations: 20.02 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.5961, allocations: 5.062 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.5962, allocations: 6.656 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.5962, allocations: 4.219 kB / 0.5378 GB, free: 81.09 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.0001188/0.5963, allocations: 136.7 kB / 0.5379 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.5964, allocations: 22.14 kB / 0.5379 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003758/0.5968, allocations: 122.8 kB / 0.5381 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5968, allocations: 5.438 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5968, allocations: 0 / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5968, allocations: 5.656 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.5975, allocations: 419.3 kB / 0.5385 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.5975, allocations: 1.406 kB / 0.5385 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.5976, allocations: 10.8 kB / 0.5385 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5976, allocations: 0 / 0.5385 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5976, allocations: 9.75 kB / 0.5385 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.5976, allocations: 6.766 kB / 0.5385 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5976, allocations: 0 / 0.5385 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.598, allocations: 226.5 kB / 0.5387 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.868e-05/0.5981, allocations: 101.4 kB / 0.5388 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.5981, allocations: 6.484 kB / 0.5388 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.5983, allocations: 7.359 kB / 0.5388 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.5983, allocations: 6.266 kB / 0.5388 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.5983, allocations: 4.781 kB / 0.5388 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.5985, allocations: 151.8 kB / 0.539 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5986, allocations: 0 / 0.539 GB, free: 80.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.599, allocations: 40.73 kB / 0.539 GB, free: 80.22 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.001673/0.6007, allocations: 1.163 MB / 0.5401 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.6012, allocations: 171.8 kB / 0.5403 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6012, allocations: 0 / 0.5403 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.6013, allocations: 38.36 kB / 0.5403 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.6017, allocations: 23.73 kB / 0.5404 GB, free: 79.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.603, allocations: 0.6551 MB / 0.541 GB, free: 78.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.6032, allocations: 0.7103 MB / 0.5417 GB, free: 77.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.6034, allocations: 21.97 kB / 0.5417 GB, free: 77.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.6035, allocations: 36.33 kB / 0.5418 GB, free: 77.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6036, allocations: 0 / 0.5418 GB, free: 77.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.6281, allocations: 3.128 MB / 0.5448 GB, free: 77.06 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.6285, allocations: 223.3 kB / 0.545 GB, free: 76.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.062, allocations: 0 / 0.545 GB, free: 76.81 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat