Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test23",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.01016/0.01016, allocations: 175.8 kB / 15.12 MB, free: 5.934 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.016/2.016, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002022/0.002021, allocations: 124.6 kB / 255.6 MB, free: 10.22 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.2671/0.2671, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006407/0.0006407, allocations: 12.38 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1011, allocations: 54.87 MB / 461.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.2518, allocations: 82.12 MB / 0.5305 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.2522, allocations: 71.97 kB / 0.5306 GB, free: 0.8789 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.3199/0.572, allocations: 4.533 MB / 0.535 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5721, allocations: 0 / 0.535 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.5721, allocations: 2.031 kB / 0.535 GB, free: 82.98 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.0006105/0.5727, allocations: 487.1 kB / 0.5355 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5728, allocations: 9.625 kB / 0.5355 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.5728, allocations: 32.95 kB / 0.5355 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.5729, allocations: 9.812 kB / 0.5355 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.5732, allocations: 210.5 kB / 0.5357 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5733, allocations: 2 kB / 0.5357 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.5733, allocations: 5.734 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.5735, allocations: 57.89 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5735, allocations: 1.25 kB / 0.5358 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5736, allocations: 7.953 kB / 0.5358 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5736, allocations: 2.016 kB / 0.5358 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.5737, allocations: 21.05 kB / 0.5358 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.5742, allocations: 312 kB / 0.5361 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.5745, allocations: 66.17 kB / 0.5362 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.5745, allocations: 6.094 kB / 0.5362 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.5747, allocations: 71.73 kB / 0.5363 GB, free: 81.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.514e-06/0.5748, allocations: 0 / 0.5363 GB, free: 81.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008252/0.5756, allocations: 186.1 kB / 0.5365 GB, free: 81.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.5756, allocations: 53.27 kB / 0.5365 GB, free: 81.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.5759, allocations: 177 kB / 0.5367 GB, free: 81.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.576, allocations: 27.77 kB / 0.5367 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.576, allocations: 102.7 kB / 0.5368 GB, free: 81.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.5761, allocations: 27.75 kB / 0.5368 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.5761, allocations: 2.125 kB / 0.5368 GB, free: 81.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.5762, allocations: 328.6 kB / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5764, allocations: 41.67 kB / 0.5372 GB, free: 81.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.5765, allocations: 53.39 kB / 0.5372 GB, free: 81.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.5767, allocations: 79.31 kB / 0.5373 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5768, allocations: 0 / 0.5373 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004603/0.5772, allocations: 184.1 kB / 0.5375 GB, free: 81.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.5773, allocations: 40.39 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5773, allocations: 0 / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.5773, allocations: 2.266 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5775, allocations: 16.52 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5775, allocations: 1.094 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.5776, allocations: 4.969 kB / 0.5375 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.5777, allocations: 15.84 kB / 0.5376 GB, free: 81.03 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.0001447/0.5778, allocations: 128.6 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.5779, allocations: 17.42 kB / 0.5377 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.5783, allocations: 117.5 kB / 0.5378 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5783, allocations: 5.062 kB / 0.5378 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5783, allocations: 0.6094 kB / 0.5378 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5783, allocations: 1.625 kB / 0.5378 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000683/0.579, allocations: 421.9 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.579, allocations: 1.188 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.5791, allocations: 10.05 kB / 0.5382 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5791, allocations: 4.531 kB / 0.5382 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.5792, allocations: 3.984 kB / 0.5382 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5792, allocations: 1.25 kB / 0.5382 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5792, allocations: 0 / 0.5382 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.5796, allocations: 230 kB / 0.5385 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.5797, allocations: 104.6 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.5797, allocations: 5.828 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5798, allocations: 3.828 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.5799, allocations: 6.484 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.5799, allocations: 3.156 kB / 0.5386 GB, free: 80.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.5801, allocations: 155.1 kB / 0.5387 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5801, allocations: 0 / 0.5387 GB, free: 80.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004138/0.5805, allocations: 44.39 kB / 0.5388 GB, free: 80.16 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.001764/0.5823, allocations: 1.151 MB / 0.5399 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.5828, allocations: 171.3 kB / 0.5401 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5828, allocations: 0 / 0.5401 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.583, allocations: 38.72 kB / 0.5401 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.5833, allocations: 22.45 kB / 0.5401 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.5844, allocations: 0.6483 MB / 0.5407 GB, free: 78.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.5846, allocations: 0.708 MB / 0.5414 GB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.931e-05/0.5847, allocations: 13.5 kB / 0.5414 GB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5848, allocations: 32.8 kB / 0.5415 GB, free: 77.88 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5848, allocations: 0 / 0.5415 GB, free: 77.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.6134, allocations: 3.06 MB / 0.5445 GB, free: 77.11 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/0.6137, allocations: 215.3 kB / 0.5447 GB, free: 76.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.034, allocations: 1.312 kB / 0.5447 GB, free: 76.87 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat