Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test65",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.01029/0.01029, allocations: 176 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.91/1.91, allocations: 194.5 MB / 210.3 MB, free: 8.781 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.002092/0.002092, allocations: 112.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.2438/0.2438, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 16.19 kB / 406.3 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.09976, allocations: 54.88 MB / 461.1 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1589/0.2587, allocations: 81.94 MB / 0.5304 GB, free: 1.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.2591, allocations: 75.95 kB / 0.5304 GB, free: 1.207 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.3282/0.5873, allocations: 4.467 MB / 0.5348 GB, free: 82.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5873, allocations: 0 / 0.5348 GB, free: 82.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.5874, allocations: 4.781 kB / 0.5348 GB, free: 82.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005406/0.5879, allocations: 471.2 kB / 0.5352 GB, free: 82.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.588, allocations: 10.19 kB / 0.5353 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.764e-05/0.588, allocations: 36.97 kB / 0.5353 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.5881, allocations: 10.25 kB / 0.5353 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.5884, allocations: 204.1 kB / 0.5355 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.5884, allocations: 3.188 kB / 0.5355 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.5885, allocations: 9.094 kB / 0.5355 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.5886, allocations: 55.72 kB / 0.5356 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5887, allocations: 0 / 0.5356 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5887, allocations: 3.953 kB / 0.5356 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5887, allocations: 1.188 kB / 0.5356 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.5888, allocations: 21.38 kB / 0.5356 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.5891, allocations: 202.9 kB / 0.5358 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.5893, allocations: 58.36 kB / 0.5358 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5894, allocations: 1.125 kB / 0.5358 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.5895, allocations: 69.14 kB / 0.5359 GB, free: 81.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.5896, allocations: 0 / 0.5359 GB, free: 81.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003966/0.59, allocations: 103.3 kB / 0.536 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.59, allocations: 54.81 kB / 0.5361 GB, free: 81.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.5903, allocations: 188.8 kB / 0.5362 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.5903, allocations: 31.95 kB / 0.5363 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.5904, allocations: 108.3 kB / 0.5364 GB, free: 81.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.5904, allocations: 16.25 kB / 0.5364 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.5905, allocations: 9.625 kB / 0.5364 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.5905, allocations: 321 kB / 0.5367 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.5907, allocations: 30.86 kB / 0.5367 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.5908, allocations: 46.83 kB / 0.5368 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.591, allocations: 70.86 kB / 0.5368 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.591, allocations: 0 / 0.5368 GB, free: 81.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000373/0.5914, allocations: 160.6 kB / 0.537 GB, free: 81.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.5914, allocations: 35.75 kB / 0.537 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5915, allocations: 1.188 kB / 0.537 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5915, allocations: 0 / 0.537 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5916, allocations: 11.33 kB / 0.537 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.5916, allocations: 5.844 kB / 0.537 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.5917, allocations: 10.8 kB / 0.5371 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.5918, allocations: 7.875 kB / 0.5371 GB, free: 81.01 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 (8): * Single equations (assignments): 7 * 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.0001099/0.5919, allocations: 132.1 kB / 0.5372 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.5919, allocations: 13.66 kB / 0.5372 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.5922, allocations: 95.88 kB / 0.5373 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5922, allocations: 1 kB / 0.5373 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5923, allocations: 0.8594 kB / 0.5373 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5923, allocations: 8.703 kB / 0.5373 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.5925, allocations: 197.5 kB / 0.5375 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5925, allocations: 4 kB / 0.5375 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.5925, allocations: 5.469 kB / 0.5375 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5925, allocations: 1.031 kB / 0.5375 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.5926, allocations: 5.641 kB / 0.5375 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5926, allocations: 0 / 0.5375 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5926, allocations: 1.75 kB / 0.5375 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.5929, allocations: 123.9 kB / 0.5376 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.593, allocations: 95.89 kB / 0.5377 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.593, allocations: 5.672 kB / 0.5377 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.5931, allocations: 3.844 kB / 0.5377 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5932, allocations: 4.672 kB / 0.5377 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5932, allocations: 4.406 kB / 0.5377 GB, free: 80.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.5934, allocations: 151.7 kB / 0.5379 GB, free: 80.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5934, allocations: 0 / 0.5379 GB, free: 80.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.5937, allocations: 32.62 kB / 0.5379 GB, free: 80.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00145/0.5952, allocations: 0.9424 MB / 0.5388 GB, free: 79.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.5956, allocations: 150.6 kB / 0.539 GB, free: 79.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5956, allocations: 0 / 0.539 GB, free: 79.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.5957, allocations: 24.67 kB / 0.539 GB, free: 79.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.596, allocations: 20.48 kB / 0.539 GB, free: 79.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008481/0.5968, allocations: 0.6358 MB / 0.5396 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.597, allocations: 0.7091 MB / 0.5403 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.5971, allocations: 22.02 kB / 0.5404 GB, free: 78.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.5972, allocations: 31.12 kB / 0.5404 GB, free: 78.27 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5972, allocations: 0 / 0.5404 GB, free: 78.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.621, allocations: 2.823 MB / 0.5431 GB, free: 77.81 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.6213, allocations: 222.7 kB / 0.5433 GB, free: 77.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.09, allocations: 0 / 0.5433 GB, free: 77.56 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat