Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test53",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.01021/0.01021, allocations: 177.3 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 2.004/2.004, allocations: 194.5 MB / 210.3 MB, free: 7.805 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.00197/0.00197, allocations: 108.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.2551/0.2551, allocations: 40.02 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004744, allocations: 20.94 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 54.88 MB / 461.2 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.2999, allocations: 82.14 MB / 0.5306 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.3003, allocations: 75.95 kB / 0.5306 GB, free: 0.9023 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.3186/0.6188, allocations: 4.764 MB / 0.5353 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6189, allocations: 0 / 0.5353 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.6189, allocations: 1.844 kB / 0.5353 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.0006359/0.6196, allocations: 490.8 kB / 0.5358 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.6196, allocations: 9.984 kB / 0.5358 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.6197, allocations: 36.44 kB / 0.5358 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.6198, allocations: 14.06 kB / 0.5358 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.6201, allocations: 214.6 kB / 0.536 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6201, allocations: 2.969 kB / 0.536 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.6202, allocations: 8.375 kB / 0.536 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.6204, allocations: 53.5 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6204, allocations: 0 / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6204, allocations: 5.844 kB / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6204, allocations: 0 / 0.5361 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.6206, allocations: 28.06 kB / 0.5361 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.6211, allocations: 318.9 kB / 0.5364 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.6213, allocations: 62.59 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.6214, allocations: 1.375 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.6216, allocations: 75.41 kB / 0.5366 GB, free: 81.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.005e-06/0.6216, allocations: 9.203 kB / 0.5366 GB, free: 81.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008313/0.6224, allocations: 186.7 kB / 0.5367 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.6225, allocations: 53.45 kB / 0.5368 GB, free: 81.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.6229, allocations: 197.8 kB / 0.537 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.6229, allocations: 31.45 kB / 0.537 GB, free: 81.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.623, allocations: 107.7 kB / 0.5371 GB, free: 81.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.623, allocations: 26.56 kB / 0.5371 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.623, allocations: 1.312 kB / 0.5371 GB, free: 81.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.6231, allocations: 329.1 kB / 0.5375 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.6233, allocations: 45.06 kB / 0.5375 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.6235, allocations: 49.17 kB / 0.5375 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.6237, allocations: 75.72 kB / 0.5376 GB, free: 81.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6237, allocations: 0 / 0.5376 GB, free: 81.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004859/0.6242, allocations: 183 kB / 0.5378 GB, free: 81.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.6242, allocations: 39.97 kB / 0.5378 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.6243, allocations: 4 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6243, allocations: 1.156 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.6244, allocations: 15.3 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6245, allocations: 1.641 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.6246, allocations: 10.25 kB / 0.5379 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.6246, allocations: 8.906 kB / 0.5379 GB, free: 81.02 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.0001394/0.6248, allocations: 131.6 kB / 0.538 GB, free: 80.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.6248, allocations: 17.73 kB / 0.538 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.6252, allocations: 127.8 kB / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.6252, allocations: 1.031 kB / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.6253, allocations: 0 / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6253, allocations: 0.75 kB / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006696/0.6259, allocations: 422.9 kB / 0.5385 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.626, allocations: 1.031 kB / 0.5385 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.626, allocations: 11.05 kB / 0.5385 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6261, allocations: 9.062 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.6261, allocations: 5.188 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6261, allocations: 1.031 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6261, allocations: 1.828 kB / 0.5386 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.6265, allocations: 228.6 kB / 0.5388 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/0.6266, allocations: 106 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.6266, allocations: 3.078 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.6268, allocations: 7.188 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.6268, allocations: 5.938 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.6268, allocations: 3.984 kB / 0.5389 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002175/0.6271, allocations: 164.2 kB / 0.5391 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6271, allocations: 7.875 kB / 0.5391 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004311/0.6275, allocations: 45.77 kB / 0.5391 GB, free: 80.16 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.001709/0.6292, allocations: 1.163 MB / 0.5402 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.6297, allocations: 169.1 kB / 0.5404 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6298, allocations: 4.062 kB / 0.5404 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.6299, allocations: 32.36 kB / 0.5404 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.6303, allocations: 17.41 kB / 0.5405 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.6314, allocations: 0.6752 MB / 0.5411 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.6317, allocations: 0.7172 MB / 0.5418 GB, free: 77.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.6318, allocations: 17.12 kB / 0.5418 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.6319, allocations: 37.11 kB / 0.5419 GB, free: 77.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6319, allocations: 0 / 0.5419 GB, free: 77.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.662, allocations: 3.203 MB / 0.545 GB, free: 76.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/0.6624, allocations: 212.5 kB / 0.5452 GB, free: 76.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.086, allocations: 0 / 0.5452 GB, free: 76.69 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat