Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test70",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.01002/0.01002, allocations: 174.2 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.95/1.95, allocations: 194.5 MB / 210.3 MB, free: 8.789 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.001986/0.001985, allocations: 108.7 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.2531/0.2531, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007317/0.0007319, allocations: 16.47 kB / 406.3 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1034, allocations: 54.88 MB / 461.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.2561, allocations: 82.02 MB / 0.5304 GB, free: 1.203 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.2564, allocations: 71.97 kB / 0.5305 GB, free: 1.133 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3109/0.5674, allocations: 6.001 MB / 0.5364 GB, free: 82.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5674, allocations: 0 / 0.5364 GB, free: 82.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.945e-05/0.5675, allocations: 6.438 kB / 0.5364 GB, free: 82.88 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.001378/0.5689, allocations: 0.8398 MB / 0.5372 GB, free: 82.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.569, allocations: 9.625 kB / 0.5372 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.569, allocations: 33.58 kB / 0.5372 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.5692, allocations: 47.78 kB / 0.5373 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.5705, allocations: 476 kB / 0.5377 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.5705, allocations: 8.594 kB / 0.5377 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.5706, allocations: 12.89 kB / 0.5378 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.5709, allocations: 97.2 kB / 0.5378 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5709, allocations: 0 / 0.5378 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.571, allocations: 1.656 kB / 0.5378 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.571, allocations: 0 / 0.5378 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.5712, allocations: 34.3 kB / 0.5379 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.5719, allocations: 417.5 kB / 0.5383 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.5724, allocations: 118.2 kB / 0.5384 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.5724, allocations: 1.25 kB / 0.5384 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003111/0.5727, allocations: 110 kB / 0.5385 GB, free: 81.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.528e-06/0.5727, allocations: 4 kB / 0.5385 GB, free: 81.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009394/0.5737, allocations: 220.1 kB / 0.5387 GB, free: 81.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.5738, allocations: 79.25 kB / 0.5388 GB, free: 81.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.5764, allocations: 0.9354 MB / 0.5397 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.856e-05/0.5766, allocations: 30.61 kB / 0.5397 GB, free: 81.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.5769, allocations: 236.8 kB / 0.54 GB, free: 81.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.577, allocations: 24.39 kB / 0.54 GB, free: 81.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.577, allocations: 5.312 kB / 0.54 GB, free: 81.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5772, allocations: 373 kB / 0.5403 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.5775, allocations: 59.28 kB / 0.5404 GB, free: 80.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.5777, allocations: 94.38 kB / 0.5405 GB, free: 80.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.5781, allocations: 131.4 kB / 0.5406 GB, free: 80.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5781, allocations: 0 / 0.5406 GB, free: 80.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001046/0.5791, allocations: 331 kB / 0.5409 GB, free: 80.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.5792, allocations: 67.12 kB / 0.541 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5793, allocations: 1.094 kB / 0.541 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.5793, allocations: 0.9688 kB / 0.541 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.5795, allocations: 31.77 kB / 0.541 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5795, allocations: 0.9062 kB / 0.541 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.5799, allocations: 26.44 kB / 0.541 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.5799, allocations: 9.156 kB / 0.5411 GB, free: 80.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0004173/0.5804, allocations: 231.6 kB / 0.5413 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.5805, allocations: 54.08 kB / 0.5413 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.5812, allocations: 203.6 kB / 0.5415 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5812, allocations: 1.312 kB / 0.5415 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5812, allocations: 5.234 kB / 0.5415 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5813, allocations: 3.422 kB / 0.5415 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.5819, allocations: 376.5 kB / 0.5419 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5819, allocations: 4.75 kB / 0.5419 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.582, allocations: 21.45 kB / 0.5419 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.582, allocations: 0.9688 kB / 0.5419 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.582, allocations: 2.156 kB / 0.5419 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.582, allocations: 1.094 kB / 0.5419 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5821, allocations: 4 kB / 0.5419 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.5828, allocations: 237 kB / 0.5422 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.5832, allocations: 204.2 kB / 0.5423 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/0.5833, allocations: 7.156 kB / 0.5424 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.5835, allocations: 6 kB / 0.5424 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.5835, allocations: 16.23 kB / 0.5424 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.5836, allocations: 4.281 kB / 0.5424 GB, free: 79.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001481/0.5851, allocations: 0.7424 MB / 0.5431 GB, free: 79.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5851, allocations: 3.938 kB / 0.5431 GB, free: 79.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007683/0.5859, allocations: 107.9 kB / 0.5432 GB, free: 79.38 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002653/0.5886, allocations: 1.288 MB / 0.5445 GB, free: 78.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007965/0.5894, allocations: 300.7 kB / 0.5448 GB, free: 78.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5895, allocations: 0 / 0.5448 GB, free: 78.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.5897, allocations: 48.22 kB / 0.5448 GB, free: 78.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.5905, allocations: 65.61 kB / 0.5449 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.5942, allocations: 1.955 MB / 0.5468 GB, free: 76.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.5947, allocations: 0.8542 MB / 0.5476 GB, free: 75.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004541/0.5952, allocations: 89.88 kB / 0.5477 GB, free: 75.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.5955, allocations: 152.9 kB / 0.5478 GB, free: 75.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5955, allocations: 0 / 0.5478 GB, free: 75.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04151/0.6371, allocations: 9.315 MB / 0.5569 GB, free: 68.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/0.6374, allocations: 217.8 kB / 0.5571 GB, free: 68.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.307, allocations: 0 / 0.5571 GB, free: 68.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat