Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test22",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.01296/0.01296, allocations: 175.9 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.195/2.195, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.002/0.002, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.273/0.273, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000657/0.0006571, allocations: 12.38 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1011, allocations: 54.88 MB / 461.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.2498, allocations: 82.16 MB / 0.5306 GB, free: 1.078 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.2501, allocations: 71.97 kB / 0.5306 GB, free: 1.008 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.3161/0.5662, allocations: 4.578 MB / 0.5351 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5663, allocations: 1.031 kB / 0.5351 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.5663, allocations: 4.281 kB / 0.5351 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006983/0.567, allocations: 479 kB / 0.5356 GB, free: 82.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.5671, allocations: 9.969 kB / 0.5356 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.5672, allocations: 32.14 kB / 0.5356 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.5672, allocations: 13.67 kB / 0.5356 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.5676, allocations: 206.5 kB / 0.5358 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.5676, allocations: 3.406 kB / 0.5358 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.5677, allocations: 4.094 kB / 0.5358 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.5679, allocations: 58.12 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5679, allocations: 4.547 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.5679, allocations: 5.328 kB / 0.5359 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.568, allocations: 0 / 0.5359 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.5681, allocations: 23.59 kB / 0.5359 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.5686, allocations: 309.1 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.5689, allocations: 65.11 kB / 0.5363 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5689, allocations: 1.344 kB / 0.5363 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.5692, allocations: 82.31 kB / 0.5364 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.5692, allocations: 0 / 0.5364 GB, free: 81.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008595/0.5701, allocations: 180.2 kB / 0.5365 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.5701, allocations: 54.47 kB / 0.5366 GB, free: 81.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.5704, allocations: 164.7 kB / 0.5367 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5704, allocations: 30.75 kB / 0.5368 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.5705, allocations: 104 kB / 0.5369 GB, free: 81.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.5705, allocations: 27.17 kB / 0.5369 GB, free: 81.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.5706, allocations: 1.031 kB / 0.5369 GB, free: 81.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.5707, allocations: 325.4 kB / 0.5372 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.5708, allocations: 39.22 kB / 0.5372 GB, free: 81.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.571, allocations: 52.05 kB / 0.5373 GB, free: 81.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.5712, allocations: 80.83 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5712, allocations: 1.125 kB / 0.5374 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004788/0.5717, allocations: 182.3 kB / 0.5375 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.5718, allocations: 38.67 kB / 0.5376 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5718, allocations: 0.9688 kB / 0.5376 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5718, allocations: 6.016 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.572, allocations: 19.02 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.572, allocations: 1.812 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.5721, allocations: 5.609 kB / 0.5376 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.5721, allocations: 8.359 kB / 0.5376 GB, free: 81.02 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.0001368/0.5723, allocations: 130.8 kB / 0.5377 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.5723, allocations: 16.2 kB / 0.5378 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.5727, allocations: 124.6 kB / 0.5379 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5728, allocations: 2.375 kB / 0.5379 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5728, allocations: 0 / 0.5379 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5728, allocations: 0.7969 kB / 0.5379 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.5735, allocations: 407.8 kB / 0.5383 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5735, allocations: 0 / 0.5383 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.5736, allocations: 14.34 kB / 0.5383 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.5737, allocations: 5.859 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.5737, allocations: 3.219 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5737, allocations: 0 / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5737, allocations: 5.891 kB / 0.5383 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.5741, allocations: 222.5 kB / 0.5385 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.5742, allocations: 109 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5742, allocations: 2.062 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5744, allocations: 3.516 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.5744, allocations: 10.41 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.5745, allocations: 3.766 kB / 0.5386 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.5746, allocations: 137 kB / 0.5388 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5746, allocations: 0 / 0.5388 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.5751, allocations: 45.05 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.001756/0.5768, allocations: 1.159 MB / 0.5399 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.5774, allocations: 167 kB / 0.5401 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5774, allocations: 4.062 kB / 0.5401 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.5776, allocations: 40.42 kB / 0.5401 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.0003689/0.5779, allocations: 20.75 kB / 0.5402 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009959/0.5789, allocations: 0.6333 MB / 0.5408 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.5792, allocations: 0.7054 MB / 0.5415 GB, free: 77.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.5793, allocations: 16.2 kB / 0.5415 GB, free: 77.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.5794, allocations: 32.25 kB / 0.5415 GB, free: 77.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5794, allocations: 3.938 kB / 0.5415 GB, free: 77.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.6024, allocations: 2.982 MB / 0.5444 GB, free: 77.17 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.6027, allocations: 216.4 kB / 0.5446 GB, free: 76.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.016, allocations: 0 / 0.5446 GB, free: 76.93 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat