Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test25",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.01294/0.01294, allocations: 175.5 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.997/1.997, 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.002074/0.002074, allocations: 116.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.2544/0.2544, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004744, allocations: 19.89 kB / 406.3 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 54.87 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.2617, allocations: 82.15 MB / 0.5306 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.2621, allocations: 75.97 kB / 0.5306 GB, free: 0.8789 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.3502/0.6123, allocations: 4.627 MB / 0.5352 GB, free: 83.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6124, allocations: 0 / 0.5352 GB, free: 83.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.6124, allocations: 6.844 kB / 0.5352 GB, free: 83.01 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.000628/0.613, allocations: 480.5 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.6131, allocations: 8.719 kB / 0.5356 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.6132, allocations: 34.84 kB / 0.5357 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.6132, allocations: 14.2 kB / 0.5357 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.6136, allocations: 204.8 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.6136, allocations: 2.812 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.6137, allocations: 9.625 kB / 0.5359 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.6139, allocations: 55.27 kB / 0.5359 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6139, allocations: 2.453 kB / 0.5359 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.6139, allocations: 7.016 kB / 0.5359 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.6139, allocations: 1.562 kB / 0.5359 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.614, allocations: 18.33 kB / 0.536 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.6146, allocations: 318.8 kB / 0.5363 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.6149, allocations: 65.94 kB / 0.5363 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.6149, allocations: 1.031 kB / 0.5363 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.6151, allocations: 73.77 kB / 0.5364 GB, free: 81.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.6151, allocations: 1 kB / 0.5364 GB, free: 81.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008529/0.616, allocations: 189.5 kB / 0.5366 GB, free: 81.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.6161, allocations: 53.36 kB / 0.5366 GB, free: 81.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.6163, allocations: 177.5 kB / 0.5368 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.6164, allocations: 31.38 kB / 0.5368 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.6164, allocations: 101.2 kB / 0.5369 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.6165, allocations: 25.39 kB / 0.537 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.6165, allocations: 1.906 kB / 0.537 GB, free: 81.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.6166, allocations: 323.9 kB / 0.5373 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.6168, allocations: 36.95 kB / 0.5373 GB, free: 81.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.6169, allocations: 61.33 kB / 0.5374 GB, free: 81.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.6171, allocations: 72.5 kB / 0.5374 GB, free: 81.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6171, allocations: 5.031 kB / 0.5374 GB, free: 81.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004495/0.6176, allocations: 184.4 kB / 0.5376 GB, free: 81.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.6176, allocations: 37.53 kB / 0.5376 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6177, allocations: 2.281 kB / 0.5376 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6177, allocations: 0 / 0.5376 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.6178, allocations: 14.92 kB / 0.5377 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6179, allocations: 1.844 kB / 0.5377 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.618, allocations: 9.75 kB / 0.5377 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.618, allocations: 8.984 kB / 0.5377 GB, free: 81.06 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.0001269/0.6181, allocations: 134.9 kB / 0.5378 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.6182, allocations: 13.23 kB / 0.5378 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.6186, allocations: 123.1 kB / 0.5379 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6187, allocations: 0.8438 kB / 0.5379 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6187, allocations: 0.5625 kB / 0.5379 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6187, allocations: 5.906 kB / 0.5379 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.6194, allocations: 416.7 kB / 0.5383 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6194, allocations: 1.094 kB / 0.5383 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.6195, allocations: 9.406 kB / 0.5384 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6195, allocations: 5.156 kB / 0.5384 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.6195, allocations: 7.391 kB / 0.5384 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6195, allocations: 1.156 kB / 0.5384 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6195, allocations: 0 / 0.5384 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.6199, allocations: 229.9 kB / 0.5386 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.62, allocations: 102 kB / 0.5387 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.6201, allocations: 1.312 kB / 0.5387 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6202, allocations: 8 kB / 0.5387 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.6202, allocations: 6.359 kB / 0.5387 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.6203, allocations: 7.531 kB / 0.5387 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.6205, allocations: 145.5 kB / 0.5388 GB, free: 80.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6205, allocations: 288 / 0.5388 GB, free: 80.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004219/0.6209, allocations: 45.59 kB / 0.5389 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.001735/0.6227, allocations: 1.164 MB / 0.54 GB, free: 79.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004894/0.6232, allocations: 169 kB / 0.5402 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6232, allocations: 0 / 0.5402 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.6233, allocations: 31.23 kB / 0.5402 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.0003689/0.6237, allocations: 20.48 kB / 0.5402 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.6247, allocations: 0.6473 MB / 0.5409 GB, free: 78.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.625, allocations: 0.7081 MB / 0.5416 GB, free: 77.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.5e-05/0.6251, allocations: 12.59 kB / 0.5416 GB, free: 77.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.753e-05/0.6252, allocations: 36.78 kB / 0.5416 GB, free: 77.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6252, allocations: 0 / 0.5416 GB, free: 77.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.6498, allocations: 3.069 MB / 0.5446 GB, free: 77.12 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.65, allocations: 207.3 kB / 0.5448 GB, free: 76.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/3.187, allocations: 0 / 0.5448 GB, free: 76.88 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat