Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test2",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.01486/0.01486, allocations: 175.8 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.193/2.193, 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.002022/0.002022, allocations: 124.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.2865/0.2865, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000666/0.000666, allocations: 18.8 kB / 406.3 MB, free: 51.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.104, allocations: 54.88 MB / 461.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.2562, allocations: 82.11 MB / 0.5305 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.2565, allocations: 79.89 kB / 0.5306 GB, free: 0.8828 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.335/0.5915, allocations: 4.387 MB / 0.5349 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5915, allocations: 0 / 0.5349 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.5916, allocations: 2.469 kB / 0.5349 GB, free: 82.98 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.000597/0.5922, allocations: 464.6 kB / 0.5353 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5922, allocations: 9.094 kB / 0.5353 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.5923, allocations: 41.61 kB / 0.5354 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.5923, allocations: 8.656 kB / 0.5354 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.5927, allocations: 200 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5927, allocations: 6.125 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.5928, allocations: 5.484 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.5929, allocations: 58.7 kB / 0.5357 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.593, allocations: 0 / 0.5357 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.593, allocations: 4.688 kB / 0.5357 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.593, allocations: 0.7031 kB / 0.5357 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.5931, allocations: 30.16 kB / 0.5357 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.5936, allocations: 307.2 kB / 0.536 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.5939, allocations: 63.91 kB / 0.536 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.5939, allocations: 0.9375 kB / 0.536 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.5942, allocations: 73.8 kB / 0.5361 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.506e-06/0.5942, allocations: 0 / 0.5361 GB, free: 81.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008197/0.595, allocations: 182.8 kB / 0.5363 GB, free: 81.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.5951, allocations: 56.66 kB / 0.5363 GB, free: 81.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5953, allocations: 150.5 kB / 0.5365 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.5953, allocations: 28.88 kB / 0.5365 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.5954, allocations: 95.05 kB / 0.5366 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.5954, allocations: 31.81 kB / 0.5366 GB, free: 81.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.5954, allocations: 1.094 kB / 0.5366 GB, free: 81.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.5955, allocations: 321.3 kB / 0.5369 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5957, allocations: 37.5 kB / 0.537 GB, free: 81.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.5958, allocations: 53.5 kB / 0.537 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.596, allocations: 76.31 kB / 0.5371 GB, free: 81.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.596, allocations: 0 / 0.5371 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004658/0.5965, allocations: 189.5 kB / 0.5373 GB, free: 81.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.5966, allocations: 33.94 kB / 0.5373 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5966, allocations: 5.125 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5966, allocations: 1.594 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5968, allocations: 19.19 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.5968, allocations: 0.6562 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5969, allocations: 5.125 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.5969, allocations: 6.422 kB / 0.5373 GB, free: 81.04 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.0001209/0.5971, allocations: 134.9 kB / 0.5375 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.5971, allocations: 12.39 kB / 0.5375 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.5975, allocations: 120.6 kB / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5975, allocations: 1.859 kB / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5976, allocations: 0 / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5976, allocations: 1.531 kB / 0.5376 GB, free: 80.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.5982, allocations: 397.9 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.5983, allocations: 5.125 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.5983, allocations: 10.02 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5984, allocations: 1.719 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5984, allocations: 5.859 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5984, allocations: 2 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.5984, allocations: 1.594 kB / 0.538 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.5988, allocations: 231.3 kB / 0.5382 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.5989, allocations: 95.38 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.5989, allocations: 5.531 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.599, allocations: 4.547 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.5991, allocations: 4.781 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5991, allocations: 5.891 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.5993, allocations: 114.6 kB / 0.5385 GB, free: 80.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5993, allocations: 1 kB / 0.5385 GB, free: 80.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004158/0.5997, allocations: 47.34 kB / 0.5385 GB, free: 80.2 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.001684/0.6014, allocations: 1.155 MB / 0.5396 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.6019, allocations: 178.6 kB / 0.5398 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6019, allocations: 0 / 0.5398 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.6021, allocations: 31.14 kB / 0.5398 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.6025, allocations: 23.31 kB / 0.5398 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000931/0.6034, allocations: 0.6041 MB / 0.5404 GB, free: 78.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.6036, allocations: 0.7053 MB / 0.5411 GB, free: 77.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.167e-05/0.6037, allocations: 12.58 kB / 0.5411 GB, free: 77.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.6038, allocations: 30.2 kB / 0.5412 GB, free: 77.92 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6038, allocations: 0 / 0.5412 GB, free: 77.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.632, allocations: 2.841 MB / 0.5439 GB, free: 77.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.6323, allocations: 210.7 kB / 0.5441 GB, free: 77.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.282, allocations: 0 / 0.5441 GB, free: 77.08 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat