Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test76",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.01407/0.01407, allocations: 174.8 kB / 15.12 MB, free: 6.051 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.132/2.132, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002063/0.002062, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2598/0.2598, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006569, allocations: 16.56 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09984/0.1005, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.2486, allocations: 82.15 MB / 0.5306 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.2489, allocations: 75.97 kB / 0.5306 GB, free: 0.8594 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.3129/0.5619, allocations: 5.032 MB / 0.5356 GB, free: 82.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5619, allocations: 0 / 0.5356 GB, free: 82.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.562, allocations: 6.219 kB / 0.5356 GB, free: 82.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006563/0.5626, allocations: 481.9 kB / 0.536 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5627, allocations: 9.469 kB / 0.536 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.5627, allocations: 32.58 kB / 0.5361 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.5628, allocations: 10.19 kB / 0.5361 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.5632, allocations: 214.6 kB / 0.5363 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5632, allocations: 3.375 kB / 0.5363 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.5632, allocations: 5.609 kB / 0.5363 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.5635, allocations: 81.77 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5635, allocations: 3.906 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.5635, allocations: 4.969 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5635, allocations: 1.875 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.5638, allocations: 45.2 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.5643, allocations: 342.3 kB / 0.5367 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.5647, allocations: 108 kB / 0.5368 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5648, allocations: 0.9688 kB / 0.5368 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.565, allocations: 80.56 kB / 0.5369 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.315e-06/0.565, allocations: 0 / 0.5369 GB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001004/0.566, allocations: 245.5 kB / 0.5372 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.5661, allocations: 53.75 kB / 0.5372 GB, free: 81.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.5663, allocations: 186.2 kB / 0.5374 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.5664, allocations: 29.11 kB / 0.5374 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.5664, allocations: 100 kB / 0.5375 GB, free: 81.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.5665, allocations: 36.56 kB / 0.5375 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.5665, allocations: 1.031 kB / 0.5375 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.5666, allocations: 325.6 kB / 0.5379 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.5668, allocations: 50.52 kB / 0.5379 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.567, allocations: 72.88 kB / 0.538 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.5672, allocations: 83.69 kB / 0.538 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5672, allocations: 0.9375 kB / 0.538 GB, free: 81.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005254/0.5677, allocations: 218.4 kB / 0.5383 GB, free: 81.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.5678, allocations: 35.73 kB / 0.5383 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.5678, allocations: 4.688 kB / 0.5383 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5679, allocations: 1.375 kB / 0.5383 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.568, allocations: 19.69 kB / 0.5383 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5681, allocations: 1.25 kB / 0.5383 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.5682, allocations: 9.906 kB / 0.5383 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.5682, allocations: 9.109 kB / 0.5383 GB, free: 81.01 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 (13): * Single equations (assignments): 12 * 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.0001222/0.5683, allocations: 127.3 kB / 0.5385 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.5684, allocations: 17.73 kB / 0.5385 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.5689, allocations: 180.1 kB / 0.5386 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5689, allocations: 1.594 kB / 0.5386 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.569, allocations: 1.312 kB / 0.5386 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.569, allocations: 4 kB / 0.5387 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.5698, allocations: 477.6 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5698, allocations: 1.156 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.5699, allocations: 17.09 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.57, allocations: 1.094 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.57, allocations: 4.797 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.57, allocations: 1.156 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.57, allocations: 4.938 kB / 0.5391 GB, free: 80.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.5705, allocations: 265.6 kB / 0.5394 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.5706, allocations: 104.7 kB / 0.5395 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.5706, allocations: 5.656 kB / 0.5395 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5708, allocations: 3.984 kB / 0.5395 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.5708, allocations: 14.33 kB / 0.5395 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.5709, allocations: 5.938 kB / 0.5395 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001727/0.571, allocations: 141 kB / 0.5397 GB, free: 80.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5711, allocations: 0 / 0.5397 GB, free: 80.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004294/0.5715, allocations: 47.92 kB / 0.5397 GB, free: 80.15 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 (13): * Single equations (assignments): 11 * 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.001801/0.5733, allocations: 1.197 MB / 0.5409 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.5739, allocations: 206.6 kB / 0.5411 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5739, allocations: 0 / 0.5411 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.5741, allocations: 51.62 kB / 0.5411 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.5744, allocations: 27.56 kB / 0.5411 GB, free: 79.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5755, allocations: 0.6714 MB / 0.5418 GB, free: 78.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.5757, allocations: 0.7167 MB / 0.5425 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.5759, allocations: 22.66 kB / 0.5425 GB, free: 77.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.576, allocations: 42.58 kB / 0.5426 GB, free: 77.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.576, allocations: 0 / 0.5426 GB, free: 77.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.6002, allocations: 3.351 MB / 0.5458 GB, free: 76.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.6005, allocations: 218.7 kB / 0.546 GB, free: 76.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.183, allocations: 0 / 0.546 GB, free: 76.43 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat