Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test51",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.00997/0.009969, allocations: 176.1 kB / 15.12 MB, free: 5.93 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.94/1.94, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.001968/0.001968, allocations: 120.7 kB / 255.6 MB, free: 11.21 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.3484/0.3484, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004812, allocations: 15.3 kB / 406.3 MB, free: 52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 54.88 MB / 461.2 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.2948, allocations: 82.14 MB / 0.5306 GB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.2951, allocations: 71.97 kB / 0.5306 GB, free: 0.9727 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.3152/0.6104, allocations: 4.756 MB / 0.5353 GB, free: 82.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6104, allocations: 0 / 0.5353 GB, free: 82.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.6104, allocations: 1.844 kB / 0.5353 GB, free: 82.99 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.0006043/0.6111, allocations: 489.8 kB / 0.5357 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6111, allocations: 9.344 kB / 0.5357 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.6112, allocations: 33.78 kB / 0.5358 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.6112, allocations: 14.62 kB / 0.5358 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.6116, allocations: 217.3 kB / 0.536 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.6116, allocations: 3.062 kB / 0.536 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.6117, allocations: 8.906 kB / 0.536 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.6119, allocations: 56.97 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.6119, allocations: 1.875 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.6119, allocations: 5.766 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.6119, allocations: 0.6562 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.612, allocations: 24.56 kB / 0.5361 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.6125, allocations: 323 kB / 0.5364 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.6128, allocations: 63.48 kB / 0.5365 GB, free: 81.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.6128, allocations: 3.984 kB / 0.5365 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.6131, allocations: 70.84 kB / 0.5365 GB, free: 81.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.6131, allocations: 3.938 kB / 0.5365 GB, free: 81.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000837/0.6139, allocations: 189 kB / 0.5367 GB, free: 81.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.614, allocations: 52.62 kB / 0.5368 GB, free: 81.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.6143, allocations: 203.5 kB / 0.537 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.6143, allocations: 28.67 kB / 0.537 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.6144, allocations: 109.5 kB / 0.5371 GB, free: 81.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.6144, allocations: 26.12 kB / 0.5371 GB, free: 81.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.6145, allocations: 2.156 kB / 0.5371 GB, free: 81.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.6146, allocations: 330.4 kB / 0.5374 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.6147, allocations: 38.7 kB / 0.5375 GB, free: 81.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.6149, allocations: 54.56 kB / 0.5375 GB, free: 81.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.6151, allocations: 74.36 kB / 0.5376 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6151, allocations: 0 / 0.5376 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004356/0.6155, allocations: 183.7 kB / 0.5378 GB, free: 81.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.6156, allocations: 35.41 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.6156, allocations: 4.031 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6156, allocations: 2.094 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.6158, allocations: 19.25 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6158, allocations: 1.125 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.6159, allocations: 6.531 kB / 0.5378 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.6159, allocations: 4.188 kB / 0.5378 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.0001267/0.6161, allocations: 135.9 kB / 0.538 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.6161, allocations: 18.75 kB / 0.538 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.6165, allocations: 127.1 kB / 0.5381 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.6165, allocations: 1.156 kB / 0.5381 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6165, allocations: 0 / 0.5381 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6166, allocations: 2.047 kB / 0.5381 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.6172, allocations: 422.5 kB / 0.5385 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6173, allocations: 2.031 kB / 0.5385 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.6173, allocations: 9.453 kB / 0.5385 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6174, allocations: 5.344 kB / 0.5385 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.6174, allocations: 11.89 kB / 0.5385 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6174, allocations: 0.7031 kB / 0.5385 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6174, allocations: 1.531 kB / 0.5386 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.6178, allocations: 231.5 kB / 0.5388 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.6179, allocations: 101.7 kB / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.6179, allocations: 6.844 kB / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.618, allocations: 4.797 kB / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.6181, allocations: 9.328 kB / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6181, allocations: 4.125 kB / 0.5389 GB, free: 80.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.6183, allocations: 162.2 kB / 0.539 GB, free: 80.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6184, allocations: 1.125 kB / 0.539 GB, free: 80.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.6188, allocations: 48.95 kB / 0.5391 GB, free: 80.17 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.001648/0.6204, allocations: 1.165 MB / 0.5402 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.6209, allocations: 166.5 kB / 0.5404 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6209, allocations: 1.281 kB / 0.5404 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.621, allocations: 35.64 kB / 0.5404 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.6214, allocations: 17.16 kB / 0.5404 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.6225, allocations: 0.6763 MB / 0.5411 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.6227, allocations: 0.7137 MB / 0.5418 GB, free: 77.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.985e-05/0.6228, allocations: 21.78 kB / 0.5418 GB, free: 77.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.6229, allocations: 37.48 kB / 0.5419 GB, free: 77.86 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.6229, allocations: 1 kB / 0.5419 GB, free: 77.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.6485, allocations: 3.192 MB / 0.545 GB, free: 77.01 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.6487, allocations: 224.3 kB / 0.5452 GB, free: 76.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.16, allocations: 0 / 0.5452 GB, free: 76.76 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat