Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test68",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.01/0.01001, allocations: 175.6 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.896/1.896, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.002037/0.002037, allocations: 116.6 kB / 255.6 MB, free: 11.2 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.2502/0.2502, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006252/0.0006256, allocations: 12.16 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09627, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.2468, allocations: 82.01 MB / 0.5304 GB, free: 1.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.2471, allocations: 71.97 kB / 0.5305 GB, free: 1.113 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.3627/0.6098, allocations: 5.96 MB / 0.5363 GB, free: 82.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6099, allocations: 0 / 0.5363 GB, free: 82.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.278e-05/0.6099, allocations: 13.41 kB / 0.5363 GB, free: 82.49 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.00157/0.6115, allocations: 0.8285 MB / 0.5371 GB, free: 81.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.6116, allocations: 9.094 kB / 0.5371 GB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.6116, allocations: 37.19 kB / 0.5372 GB, free: 81.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.6118, allocations: 48.34 kB / 0.5372 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.6134, allocations: 461.2 kB / 0.5377 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.6134, allocations: 7.469 kB / 0.5377 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.6135, allocations: 12.91 kB / 0.5377 GB, free: 81.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.6139, allocations: 90.7 kB / 0.5378 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.6139, allocations: 0.7031 kB / 0.5378 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.6139, allocations: 5.094 kB / 0.5378 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6139, allocations: 1.406 kB / 0.5378 GB, free: 81.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.6142, allocations: 37.3 kB / 0.5378 GB, free: 81.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.615, allocations: 414.1 kB / 0.5382 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.6156, allocations: 109.9 kB / 0.5383 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.6156, allocations: 1.766 kB / 0.5383 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.6161, allocations: 120.2 kB / 0.5384 GB, free: 81.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.116e-06/0.6161, allocations: 0 / 0.5384 GB, free: 81.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001066/0.6172, allocations: 217.2 kB / 0.5386 GB, free: 81.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.6172, allocations: 78.98 kB / 0.5387 GB, free: 80.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.6195, allocations: 0.909 MB / 0.5396 GB, free: 80.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.6195, allocations: 36.98 kB / 0.5396 GB, free: 80.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.6198, allocations: 230.5 kB / 0.5399 GB, free: 80.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.6198, allocations: 31.08 kB / 0.5399 GB, free: 80.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.6199, allocations: 2.969 kB / 0.5399 GB, free: 80.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.62, allocations: 366.1 kB / 0.5402 GB, free: 80.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.6202, allocations: 61.61 kB / 0.5403 GB, free: 80.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.6205, allocations: 87.73 kB / 0.5404 GB, free: 80.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.6208, allocations: 139.6 kB / 0.5405 GB, free: 80.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6208, allocations: 1.25 kB / 0.5405 GB, free: 80.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008301/0.6217, allocations: 318.5 kB / 0.5408 GB, free: 80.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.6217, allocations: 69.95 kB / 0.5409 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6218, allocations: 0 / 0.5409 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.6218, allocations: 2.312 kB / 0.5409 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.622, allocations: 25.7 kB / 0.5409 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.622, allocations: 5.562 kB / 0.5409 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.6223, allocations: 30.48 kB / 0.5409 GB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.6223, allocations: 9.531 kB / 0.541 GB, free: 80.05 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.0003139/0.6226, allocations: 227.1 kB / 0.5412 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.6228, allocations: 52.12 kB / 0.5412 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.6234, allocations: 197.4 kB / 0.5414 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6234, allocations: 5.25 kB / 0.5414 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6234, allocations: 4.672 kB / 0.5414 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6234, allocations: 4.875 kB / 0.5414 GB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.6239, allocations: 371.2 kB / 0.5418 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6239, allocations: 0.75 kB / 0.5418 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.624, allocations: 13.5 kB / 0.5418 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.624, allocations: 1.219 kB / 0.5418 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.624, allocations: 4.125 kB / 0.5418 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.624, allocations: 5.078 kB / 0.5418 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.624, allocations: 7.938 kB / 0.5418 GB, free: 79.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.6246, allocations: 236.4 kB / 0.542 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.625, allocations: 195.4 kB / 0.5422 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.6251, allocations: 5.281 kB / 0.5422 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.6253, allocations: 10.45 kB / 0.5422 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.6253, allocations: 14.3 kB / 0.5422 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.6254, allocations: 8.344 kB / 0.5423 GB, free: 79.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001301/0.6267, allocations: 0.7158 MB / 0.543 GB, free: 79.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6267, allocations: 1.375 kB / 0.543 GB, free: 79.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005252/0.6272, allocations: 107.8 kB / 0.5431 GB, free: 79.3 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.002223/0.6295, allocations: 1.302 MB / 0.5443 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.6301, allocations: 297 kB / 0.5446 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6302, allocations: 4.125 kB / 0.5446 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.6304, allocations: 47.59 kB / 0.5447 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.6309, allocations: 63.39 kB / 0.5447 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.6337, allocations: 1.912 MB / 0.5466 GB, free: 76.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.6341, allocations: 0.8471 MB / 0.5474 GB, free: 75.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.6344, allocations: 85.98 kB / 0.5475 GB, free: 75.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.6347, allocations: 151.8 kB / 0.5476 GB, free: 75.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6348, allocations: 1.156 kB / 0.5476 GB, free: 75.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.6704, allocations: 9.138 MB / 0.5566 GB, free: 69.11 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.6707, allocations: 217.8 kB / 0.5568 GB, free: 68.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.404, allocations: 0 / 0.5568 GB, free: 68.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat