Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test30",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.009875/0.009875, allocations: 174.7 kB / 15.12 MB, free: 5.93 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.075/2.075, 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.002043/0.002043, allocations: 116.6 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.2929/0.2929, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 12.72 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1438, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.3051, allocations: 82.16 MB / 0.5306 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.3054, allocations: 83.89 kB / 0.5306 GB, free: 0.8477 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.3166/0.622, allocations: 4.576 MB / 0.5351 GB, free: 83.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6221, allocations: 0 / 0.5351 GB, free: 83.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.6221, allocations: 2.219 kB / 0.5351 GB, free: 83.07 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.0006129/0.6227, allocations: 480.8 kB / 0.5356 GB, free: 82.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6228, allocations: 8.562 kB / 0.5356 GB, free: 82.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.6228, allocations: 33.05 kB / 0.5356 GB, free: 82.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.6229, allocations: 10.19 kB / 0.5356 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.6232, allocations: 210.6 kB / 0.5358 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.6233, allocations: 4.906 kB / 0.5358 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.6233, allocations: 6.828 kB / 0.5358 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.6235, allocations: 52.89 kB / 0.5359 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.6235, allocations: 0.9688 kB / 0.5359 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.6235, allocations: 5.078 kB / 0.5359 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6236, allocations: 0.9062 kB / 0.5359 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.6237, allocations: 24.27 kB / 0.5359 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.6242, allocations: 319.5 kB / 0.5362 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.6245, allocations: 61.86 kB / 0.5363 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.6245, allocations: 1.156 kB / 0.5363 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.6247, allocations: 73.72 kB / 0.5364 GB, free: 81.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.915e-06/0.6247, allocations: 3.938 kB / 0.5364 GB, free: 81.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008267/0.6256, allocations: 184.6 kB / 0.5365 GB, free: 81.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.6256, allocations: 53.45 kB / 0.5366 GB, free: 81.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.6259, allocations: 173.5 kB / 0.5367 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.6259, allocations: 31.77 kB / 0.5368 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.626, allocations: 101.8 kB / 0.5369 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.626, allocations: 26.8 kB / 0.5369 GB, free: 81.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/0.6261, allocations: 3.688 kB / 0.5369 GB, free: 81.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.6262, allocations: 326.6 kB / 0.5372 GB, free: 81.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6263, allocations: 39.39 kB / 0.5373 GB, free: 81.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.6265, allocations: 52.48 kB / 0.5373 GB, free: 81.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.6267, allocations: 79.55 kB / 0.5374 GB, free: 81.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6267, allocations: 0 / 0.5374 GB, free: 81.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004504/0.6271, allocations: 179.8 kB / 0.5375 GB, free: 81.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.6272, allocations: 38.97 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6272, allocations: 5.297 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.6272, allocations: 1.219 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.6274, allocations: 15.23 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6274, allocations: 1.25 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6275, allocations: 4.969 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.6275, allocations: 6.062 kB / 0.5376 GB, free: 81.12 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.0001181/0.6277, allocations: 132.3 kB / 0.5377 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.6277, allocations: 14.47 kB / 0.5378 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.6281, allocations: 129.3 kB / 0.5379 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6281, allocations: 0 / 0.5379 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6281, allocations: 0.5312 kB / 0.5379 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6281, allocations: 1.594 kB / 0.5379 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.6288, allocations: 414 kB / 0.5383 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6288, allocations: 5.625 kB / 0.5383 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.6289, allocations: 9.844 kB / 0.5383 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.6289, allocations: 5.375 kB / 0.5383 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.6289, allocations: 6.359 kB / 0.5383 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6289, allocations: 1.766 kB / 0.5383 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6289, allocations: 1.438 kB / 0.5383 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.6293, allocations: 222.1 kB / 0.5385 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.6294, allocations: 100.5 kB / 0.5386 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.6294, allocations: 12.36 kB / 0.5386 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.6296, allocations: 4.609 kB / 0.5386 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.6296, allocations: 5.359 kB / 0.5386 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.6296, allocations: 7.547 kB / 0.5386 GB, free: 80.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.6298, allocations: 135.6 kB / 0.5388 GB, free: 80.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6298, allocations: 1.469 kB / 0.5388 GB, free: 80.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.6302, allocations: 39.16 kB / 0.5388 GB, free: 80.26 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.001642/0.6319, allocations: 1.163 MB / 0.5399 GB, free: 79.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.6324, allocations: 168.1 kB / 0.5401 GB, free: 79.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6324, allocations: 1.25 kB / 0.5401 GB, free: 79.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.6325, allocations: 35.94 kB / 0.5401 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.6329, allocations: 23.39 kB / 0.5402 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.634, allocations: 0.6324 MB / 0.5408 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.6342, allocations: 0.7049 MB / 0.5415 GB, free: 77.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.466e-05/0.6343, allocations: 20.41 kB / 0.5415 GB, free: 77.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.6344, allocations: 31.22 kB / 0.5415 GB, free: 77.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6344, allocations: 0 / 0.5415 GB, free: 77.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.6604, allocations: 2.979 MB / 0.5444 GB, free: 77.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.6607, allocations: 216.4 kB / 0.5446 GB, free: 76.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/3.032, allocations: 4 kB / 0.5446 GB, free: 76.96 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat