Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test4",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.01482/0.01482, allocations: 175.5 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.126/2.126, allocations: 194.5 MB / 210.3 MB, free: 7.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.002802/0.002802, allocations: 116.7 kB / 255.6 MB, free: 10.42 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.3169/0.3169, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006498, allocations: 12.75 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1511, allocations: 54.89 MB / 461.2 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.3244, allocations: 82.14 MB / 0.5306 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004392/0.325, allocations: 75.97 kB / 0.5306 GB, free: 0.8906 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.3356/0.6605, allocations: 4.711 MB / 0.5352 GB, free: 83.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6606, allocations: 1.031 kB / 0.5352 GB, free: 83.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.6606, allocations: 2.297 kB / 0.5352 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.0009022/0.6615, allocations: 482.8 kB / 0.5357 GB, free: 82.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.6616, allocations: 9.844 kB / 0.5357 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.6617, allocations: 39.73 kB / 0.5357 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.6618, allocations: 10.17 kB / 0.5358 GB, free: 82.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.6622, allocations: 209.6 kB / 0.536 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.6623, allocations: 3.797 kB / 0.536 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.6624, allocations: 4.812 kB / 0.536 GB, free: 82.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.6626, allocations: 55.14 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.6627, allocations: 5.188 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.6627, allocations: 5.688 kB / 0.536 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6627, allocations: 4.969 kB / 0.536 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.6629, allocations: 26.91 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.6636, allocations: 315.5 kB / 0.5364 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.664, allocations: 57.45 kB / 0.5364 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.6641, allocations: 6.625 kB / 0.5364 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.6643, allocations: 76.94 kB / 0.5365 GB, free: 81.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.437e-06/0.6644, allocations: 0 / 0.5365 GB, free: 81.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001182/0.6656, allocations: 184.6 kB / 0.5367 GB, free: 81.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.6656, allocations: 53.12 kB / 0.5367 GB, free: 81.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.6661, allocations: 196.3 kB / 0.5369 GB, free: 81.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.6661, allocations: 32.84 kB / 0.5369 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.6662, allocations: 102.8 kB / 0.537 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.6663, allocations: 24.92 kB / 0.5371 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.6663, allocations: 1.469 kB / 0.5371 GB, free: 81.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.6664, allocations: 325.1 kB / 0.5374 GB, free: 81.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.6667, allocations: 38.97 kB / 0.5374 GB, free: 81.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.667, allocations: 56.17 kB / 0.5375 GB, free: 81.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.6673, allocations: 77.39 kB / 0.5375 GB, free: 81.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6673, allocations: 0 / 0.5375 GB, free: 81.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007049/0.668, allocations: 183.4 kB / 0.5377 GB, free: 81.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/0.6681, allocations: 34.83 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.6681, allocations: 1.094 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.6682, allocations: 1.922 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.6684, allocations: 15.98 kB / 0.5378 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.6684, allocations: 5.25 kB / 0.5378 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.6686, allocations: 7.969 kB / 0.5378 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.6687, allocations: 10.34 kB / 0.5378 GB, free: 81.11 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.0002007/0.6689, allocations: 130.6 kB / 0.5379 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.669, allocations: 17.7 kB / 0.5379 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006013/0.6696, allocations: 123.3 kB / 0.538 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6696, allocations: 5.547 kB / 0.538 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.6697, allocations: 1.438 kB / 0.538 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.6697, allocations: 0.7031 kB / 0.538 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.6707, allocations: 426.9 kB / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6708, allocations: 0 / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.6709, allocations: 10.22 kB / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.6709, allocations: 1.188 kB / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.671, allocations: 3.203 kB / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.671, allocations: 2.062 kB / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.671, allocations: 0 / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.6716, allocations: 232.5 kB / 0.5387 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.6718, allocations: 103 kB / 0.5388 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.6719, allocations: 4.891 kB / 0.5388 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.6721, allocations: 4.641 kB / 0.5388 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.6722, allocations: 6.344 kB / 0.5388 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.6723, allocations: 8.562 kB / 0.5388 GB, free: 80.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003354/0.6726, allocations: 160.3 kB / 0.539 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6726, allocations: 3.938 kB / 0.539 GB, free: 80.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007088/0.6734, allocations: 45.94 kB / 0.539 GB, free: 80.23 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.002727/0.6761, allocations: 1.155 MB / 0.5401 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007645/0.6769, allocations: 168.9 kB / 0.5403 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.677, allocations: 0 / 0.5403 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.6772, allocations: 30.97 kB / 0.5403 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.6778, allocations: 22.33 kB / 0.5404 GB, free: 79.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.6794, allocations: 0.66 MB / 0.541 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.6797, allocations: 0.7109 MB / 0.5417 GB, free: 77.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.6799, allocations: 13.61 kB / 0.5417 GB, free: 77.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6801, allocations: 38.67 kB / 0.5417 GB, free: 77.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6801, allocations: 1.125 kB / 0.5417 GB, free: 77.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.7054, allocations: 3.127 MB / 0.5448 GB, free: 77.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.7057, allocations: 214.1 kB / 0.545 GB, free: 76.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.304, allocations: 0 / 0.545 GB, free: 76.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat