Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test72",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: 175.9 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.972/1.972, allocations: 194.5 MB / 210.3 MB, free: 7.797 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.00192/0.001919, allocations: 104.7 kB / 255.6 MB, free: 10.43 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.2462/0.2462, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007554/0.0007554, allocations: 20.41 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1025, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.2698, allocations: 82.02 MB / 0.5304 GB, free: 1.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.2701, allocations: 71.97 kB / 0.5305 GB, free: 1.027 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.3363/0.6064, allocations: 6.005 MB / 0.5364 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6065, allocations: 1.062 kB / 0.5364 GB, free: 82.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-05/0.6065, allocations: 9.406 kB / 0.5364 GB, free: 82.94 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.001216/0.6077, allocations: 0.8356 MB / 0.5372 GB, free: 82.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6078, allocations: 9.594 kB / 0.5372 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.6078, allocations: 33.16 kB / 0.5372 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.608, allocations: 51.06 kB / 0.5373 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.6092, allocations: 476.5 kB / 0.5377 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.6092, allocations: 4.969 kB / 0.5377 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.6093, allocations: 12.03 kB / 0.5378 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.6095, allocations: 90.78 kB / 0.5378 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6096, allocations: 0 / 0.5378 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.6096, allocations: 2.5 kB / 0.5378 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.6096, allocations: 1.469 kB / 0.5378 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.6098, allocations: 37.09 kB / 0.5379 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.6105, allocations: 417.4 kB / 0.5383 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.6109, allocations: 110.6 kB / 0.5384 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.611, allocations: 9.141 kB / 0.5384 GB, free: 81.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.6113, allocations: 111.6 kB / 0.5385 GB, free: 81.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.535e-06/0.6113, allocations: 0 / 0.5385 GB, free: 81.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009864/0.6123, allocations: 214.2 kB / 0.5387 GB, free: 81.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.6124, allocations: 83.5 kB / 0.5388 GB, free: 81.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.6148, allocations: 0.94 MB / 0.5397 GB, free: 81.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.6149, allocations: 30.7 kB / 0.5397 GB, free: 81.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.6152, allocations: 236.7 kB / 0.54 GB, free: 81.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.6153, allocations: 26.55 kB / 0.54 GB, free: 81.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.6153, allocations: 4.219 kB / 0.54 GB, free: 81.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6155, allocations: 365.3 kB / 0.5403 GB, free: 80.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.6157, allocations: 63.64 kB / 0.5404 GB, free: 80.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.616, allocations: 103 kB / 0.5405 GB, free: 80.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.6163, allocations: 127.2 kB / 0.5406 GB, free: 80.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.6164, allocations: 1.094 kB / 0.5406 GB, free: 80.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009446/0.6173, allocations: 322.9 kB / 0.5409 GB, free: 80.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.6174, allocations: 70.95 kB / 0.541 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6174, allocations: 3.984 kB / 0.541 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.6175, allocations: 7.031 kB / 0.541 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.6177, allocations: 25.81 kB / 0.541 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6177, allocations: 9.344 kB / 0.541 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.618, allocations: 22.84 kB / 0.5411 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.618, allocations: 12.22 kB / 0.5411 GB, free: 80.48 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.0003639/0.6184, allocations: 220.4 kB / 0.5413 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6185, allocations: 55.7 kB / 0.5413 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.6191, allocations: 203.2 kB / 0.5415 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6192, allocations: 1.438 kB / 0.5415 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.6192, allocations: 8.594 kB / 0.5415 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6192, allocations: 5.469 kB / 0.5415 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.6197, allocations: 380.7 kB / 0.5419 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6197, allocations: 1.938 kB / 0.5419 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.6198, allocations: 8.594 kB / 0.5419 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.6198, allocations: 5 kB / 0.5419 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.6198, allocations: 5.938 kB / 0.5419 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.6199, allocations: 1.562 kB / 0.5419 GB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6199, allocations: 8 kB / 0.5419 GB, free: 80.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.6205, allocations: 233.1 kB / 0.5422 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.6208, allocations: 203.9 kB / 0.5423 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-05/0.6209, allocations: 6.812 kB / 0.5424 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.6211, allocations: 14.42 kB / 0.5424 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.6212, allocations: 7.828 kB / 0.5424 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.6212, allocations: 8.859 kB / 0.5424 GB, free: 79.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.6226, allocations: 0.7376 MB / 0.5431 GB, free: 79.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6226, allocations: 0 / 0.5431 GB, free: 79.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005718/0.6232, allocations: 107.5 kB / 0.5432 GB, free: 79.43 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.002352/0.6256, allocations: 1.3 MB / 0.5445 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006331/0.6262, allocations: 297.3 kB / 0.5448 GB, free: 78.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.6262, allocations: 4 kB / 0.5448 GB, free: 78.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.6264, allocations: 46.56 kB / 0.5448 GB, free: 78.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.627, allocations: 61.48 kB / 0.5449 GB, free: 78.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.6305, allocations: 1.953 MB / 0.5468 GB, free: 76.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.631, allocations: 0.8456 MB / 0.5476 GB, free: 75.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004238/0.6314, allocations: 94.06 kB / 0.5477 GB, free: 75.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.6318, allocations: 157.2 kB / 0.5478 GB, free: 75.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6318, allocations: 0 / 0.5478 GB, free: 75.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.6654, allocations: 9.322 MB / 0.5569 GB, free: 68.79 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.6657, allocations: 213.8 kB / 0.5571 GB, free: 68.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.363, allocations: 0 / 0.5571 GB, free: 68.55 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat