Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test26",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.01052/0.01052, allocations: 174.9 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 1.993/1.993, allocations: 194.5 MB / 210.3 MB, free: 8.793 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.001953/0.001953, allocations: 116.6 kB / 255.6 MB, free: 11.41 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.2491/0.2491, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004661, allocations: 12.75 kB / 406.3 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09602, allocations: 54.87 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.2438, allocations: 82.16 MB / 0.5306 GB, free: 1.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.2442, allocations: 67.97 kB / 0.5306 GB, free: 1.004 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.3438/0.588, allocations: 4.634 MB / 0.5352 GB, free: 82.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.588, allocations: 0 / 0.5352 GB, free: 82.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.588, allocations: 2.188 kB / 0.5352 GB, free: 82.91 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.0005953/0.5886, allocations: 481.1 kB / 0.5356 GB, free: 82.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5887, allocations: 13.84 kB / 0.5356 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.5887, allocations: 32.89 kB / 0.5357 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.5888, allocations: 13.06 kB / 0.5357 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.5891, allocations: 202.6 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5892, allocations: 4.219 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.5892, allocations: 6.156 kB / 0.5359 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.5894, allocations: 57.7 kB / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5895, allocations: 0 / 0.5359 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.5895, allocations: 5.812 kB / 0.5359 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5895, allocations: 5.312 kB / 0.5359 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.5896, allocations: 20.78 kB / 0.536 GB, free: 82.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.5901, allocations: 325.3 kB / 0.5363 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.5904, allocations: 57.44 kB / 0.5363 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.5904, allocations: 1.406 kB / 0.5363 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.5906, allocations: 81.97 kB / 0.5364 GB, free: 81.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.5906, allocations: 0 / 0.5364 GB, free: 81.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008419/0.5915, allocations: 183.5 kB / 0.5366 GB, free: 81.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5916, allocations: 53.11 kB / 0.5366 GB, free: 81.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.5918, allocations: 178.8 kB / 0.5368 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5919, allocations: 31.45 kB / 0.5368 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.5919, allocations: 103.3 kB / 0.5369 GB, free: 81.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.592, allocations: 23.02 kB / 0.537 GB, free: 81.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.592, allocations: 1.219 kB / 0.537 GB, free: 81.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.5921, allocations: 323.6 kB / 0.5373 GB, free: 81.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5923, allocations: 38.89 kB / 0.5373 GB, free: 81.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.5924, allocations: 57.48 kB / 0.5374 GB, free: 81.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.5926, allocations: 74.53 kB / 0.5374 GB, free: 81.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5926, allocations: 5.219 kB / 0.5374 GB, free: 81.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000452/0.5931, allocations: 185.7 kB / 0.5376 GB, free: 80.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.5932, allocations: 34.98 kB / 0.5376 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5932, allocations: 1.766 kB / 0.5376 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/0.5932, allocations: 1.344 kB / 0.5376 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.5934, allocations: 19.14 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5934, allocations: 1.891 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.5935, allocations: 4.797 kB / 0.5377 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.5935, allocations: 10.19 kB / 0.5377 GB, free: 80.96 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.0001327/0.5937, allocations: 138 kB / 0.5378 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.5937, allocations: 13.62 kB / 0.5378 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.5941, allocations: 121.7 kB / 0.5379 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5941, allocations: 1.125 kB / 0.5379 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5942, allocations: 2.203 kB / 0.5379 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5942, allocations: 0 / 0.5379 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006565/0.5948, allocations: 422.8 kB / 0.5383 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.5949, allocations: 1.266 kB / 0.5384 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.733e-05/0.595, allocations: 14.47 kB / 0.5384 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.595, allocations: 0.875 kB / 0.5384 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.595, allocations: 2.391 kB / 0.5384 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.595, allocations: 3 kB / 0.5384 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.595, allocations: 0 / 0.5384 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.5954, allocations: 225.8 kB / 0.5386 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.22e-05/0.5955, allocations: 104.7 kB / 0.5387 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.5955, allocations: 2.609 kB / 0.5387 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.5957, allocations: 4.312 kB / 0.5387 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.5957, allocations: 5.922 kB / 0.5387 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5958, allocations: 7.109 kB / 0.5387 GB, free: 80.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001836/0.5959, allocations: 143.5 kB / 0.5388 GB, free: 80.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.596, allocations: 0 / 0.5388 GB, free: 80.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004138/0.5964, allocations: 51.69 kB / 0.5389 GB, free: 80.1 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.00173/0.5981, allocations: 1.164 MB / 0.54 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.5986, allocations: 170.5 kB / 0.5402 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5986, allocations: 0 / 0.5402 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.5987, allocations: 34.38 kB / 0.5402 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.5991, allocations: 16.7 kB / 0.5402 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009667/0.6001, allocations: 0.6414 MB / 0.5409 GB, free: 78.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.6003, allocations: 0.7118 MB / 0.5416 GB, free: 77.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.6004, allocations: 16.28 kB / 0.5416 GB, free: 77.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.6005, allocations: 36.73 kB / 0.5416 GB, free: 77.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.873e-06/0.6005, allocations: 1.469 kB / 0.5416 GB, free: 77.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.627, allocations: 3.054 MB / 0.5446 GB, free: 77.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.6273, allocations: 215.1 kB / 0.5448 GB, free: 76.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.02, allocations: 1.25 kB / 0.5448 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.Test26_res.mat does not exist to compare? outputFormat=mat