Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test29",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.01421/0.01421, allocations: 176.5 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 1.955/1.955, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002577/0.002577, 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.2702/0.2702, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 12.34 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09772/0.09825, allocations: 54.87 MB / 461.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.2474, allocations: 82.16 MB / 0.5306 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.2477, allocations: 67.97 kB / 0.5306 GB, free: 0.8477 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.3298/0.5776, allocations: 4.592 MB / 0.5351 GB, free: 83.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5776, allocations: 0 / 0.5351 GB, free: 83.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5776, allocations: 2.625 kB / 0.5351 GB, free: 83.11 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.0005809/0.5782, allocations: 475.1 kB / 0.5356 GB, free: 82.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5783, allocations: 9.719 kB / 0.5356 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.5783, allocations: 35.59 kB / 0.5356 GB, free: 82.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.5784, allocations: 13.94 kB / 0.5356 GB, free: 82.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.5787, allocations: 208.3 kB / 0.5358 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.5787, allocations: 3.656 kB / 0.5358 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5788, allocations: 4.406 kB / 0.5358 GB, free: 82.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.579, allocations: 56.75 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.579, allocations: 1.875 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.579, allocations: 4.656 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.579, allocations: 0 / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.5792, allocations: 20.83 kB / 0.5359 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.5796, allocations: 318.9 kB / 0.5362 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.5799, allocations: 60.59 kB / 0.5363 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.5799, allocations: 4.281 kB / 0.5363 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.5801, allocations: 78.88 kB / 0.5364 GB, free: 81.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/0.5801, allocations: 0 / 0.5364 GB, free: 81.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000769/0.5809, allocations: 182.2 kB / 0.5365 GB, free: 81.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.5809, allocations: 53.08 kB / 0.5366 GB, free: 81.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.5811, allocations: 170.3 kB / 0.5367 GB, free: 81.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.5812, allocations: 27.73 kB / 0.5368 GB, free: 81.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.5812, allocations: 102.1 kB / 0.5369 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.5813, allocations: 26.36 kB / 0.5369 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.5813, allocations: 5.625 kB / 0.5369 GB, free: 81.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.5814, allocations: 329.6 kB / 0.5372 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.5815, allocations: 35.53 kB / 0.5372 GB, free: 81.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.5817, allocations: 54.75 kB / 0.5373 GB, free: 81.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.5819, allocations: 81.14 kB / 0.5374 GB, free: 81.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5819, allocations: 0 / 0.5374 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004226/0.5823, allocations: 179.6 kB / 0.5376 GB, free: 81.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.5824, allocations: 39.86 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.5824, allocations: 1.469 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5824, allocations: 0 / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.5826, allocations: 16.95 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5826, allocations: 0.7031 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.5827, allocations: 9.359 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.5827, allocations: 6.141 kB / 0.5376 GB, free: 81.16 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.0001058/0.5828, allocations: 127.9 kB / 0.5377 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.5829, allocations: 17.91 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.5833, allocations: 124.2 kB / 0.5379 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5833, allocations: 0.9375 kB / 0.5379 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5833, allocations: 1 kB / 0.5379 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5833, allocations: 4.547 kB / 0.5379 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.5839, allocations: 415.7 kB / 0.5383 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5839, allocations: 0 / 0.5383 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.584, allocations: 14.23 kB / 0.5383 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.584, allocations: 5.766 kB / 0.5383 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.584, allocations: 3.031 kB / 0.5383 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5841, allocations: 0 / 0.5383 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5841, allocations: 1.25 kB / 0.5383 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.5844, allocations: 222.6 kB / 0.5385 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.5845, allocations: 105.1 kB / 0.5386 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.5845, allocations: 5.828 kB / 0.5386 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.5847, allocations: 4.703 kB / 0.5386 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.5847, allocations: 6.062 kB / 0.5386 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.5847, allocations: 3.516 kB / 0.5386 GB, free: 80.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.5849, allocations: 143.2 kB / 0.5388 GB, free: 80.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5849, allocations: 0 / 0.5388 GB, free: 80.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003843/0.5853, allocations: 40.34 kB / 0.5388 GB, free: 80.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: 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.00163/0.5869, allocations: 1.162 MB / 0.5399 GB, free: 79.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.5874, allocations: 162.7 kB / 0.5401 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5874, allocations: 8 kB / 0.5401 GB, free: 79.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.5875, allocations: 37.05 kB / 0.5401 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.5878, allocations: 22.27 kB / 0.5402 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008856/0.5887, allocations: 0.6323 MB / 0.5408 GB, free: 78.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.5889, allocations: 0.7083 MB / 0.5415 GB, free: 78.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.284e-05/0.589, allocations: 15.33 kB / 0.5415 GB, free: 78.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.5891, allocations: 32.81 kB / 0.5415 GB, free: 78.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5891, allocations: 0 / 0.5415 GB, free: 78.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.6145, allocations: 2.979 MB / 0.5444 GB, free: 77.26 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.6149, allocations: 216.5 kB / 0.5446 GB, free: 77.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.029, allocations: 1.375 kB / 0.5446 GB, free: 77.02 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat