Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test77",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.01089/0.01089, allocations: 175.7 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.012/2.012, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.002014/0.002013, allocations: 124.5 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.2537/0.2537, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004742, allocations: 12.59 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09624, allocations: 54.88 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.305, allocations: 82.26 MB / 0.5307 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/0.3054, allocations: 67.97 kB / 0.5307 GB, free: 0.8867 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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3907/0.6961, allocations: 6.801 MB / 0.5374 GB, free: 82.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6961, allocations: 0.75 kB / 0.5374 GB, free: 82.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.6962, allocations: 3.469 kB / 0.5374 GB, free: 82.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008512/0.697, allocations: 0.6315 MB / 0.538 GB, free: 82.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.6971, allocations: 8.562 kB / 0.538 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.6972, allocations: 38.28 kB / 0.538 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.6972, allocations: 23.84 kB / 0.5381 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.6978, allocations: 268.6 kB / 0.5383 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.6978, allocations: 5.375 kB / 0.5383 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.6979, allocations: 10.22 kB / 0.5383 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.6982, allocations: 109.5 kB / 0.5384 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.6982, allocations: 3.906 kB / 0.5384 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.6982, allocations: 5.062 kB / 0.5384 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6982, allocations: 1.906 kB / 0.5385 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.6985, allocations: 45.27 kB / 0.5385 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.6992, allocations: 499.6 kB / 0.539 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.6996, allocations: 131.6 kB / 0.5391 GB, free: 81.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.6997, allocations: 1 kB / 0.5391 GB, free: 81.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.7, allocations: 122.4 kB / 0.5392 GB, free: 81.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.806e-06/0.7, allocations: 0 / 0.5392 GB, free: 81.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001451/0.7015, allocations: 371 kB / 0.5396 GB, free: 81.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.7016, allocations: 79.8 kB / 0.5396 GB, free: 81.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.7021, allocations: 317.5 kB / 0.5399 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.7022, allocations: 40.66 kB / 0.54 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.7023, allocations: 132 kB / 0.5401 GB, free: 81.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.7024, allocations: 48.83 kB / 0.5402 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.7024, allocations: 5.844 kB / 0.5402 GB, free: 81.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.7025, allocations: 338.5 kB / 0.5405 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.7028, allocations: 72.3 kB / 0.5406 GB, free: 80.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.7031, allocations: 110.2 kB / 0.5407 GB, free: 80.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.7035, allocations: 154.1 kB / 0.5408 GB, free: 80.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7035, allocations: 0 / 0.5408 GB, free: 80.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009081/0.7044, allocations: 333.3 kB / 0.5411 GB, free: 80.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.7045, allocations: 67.88 kB / 0.5412 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7045, allocations: 1.156 kB / 0.5412 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.7045, allocations: 2.125 kB / 0.5412 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.7048, allocations: 33.72 kB / 0.5412 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7048, allocations: 6.531 kB / 0.5412 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.705, allocations: 14.69 kB / 0.5412 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.7051, allocations: 11.75 kB / 0.5413 GB, free: 80.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002201/0.7053, allocations: 160.6 kB / 0.5414 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.7054, allocations: 27.78 kB / 0.5414 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.7061, allocations: 218.1 kB / 0.5416 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7061, allocations: 7.625 kB / 0.5417 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7061, allocations: 0 / 0.5417 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7061, allocations: 1.719 kB / 0.5417 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.7072, allocations: 0.6678 MB / 0.5423 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.7073, allocations: 0.75 kB / 0.5423 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.7074, allocations: 21.42 kB / 0.5423 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.7074, allocations: 10.28 kB / 0.5423 GB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.7074, allocations: 10.5 kB / 0.5423 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.7075, allocations: 6.219 kB / 0.5424 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7075, allocations: 4.625 kB / 0.5424 GB, free: 79.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.7081, allocations: 418.6 kB / 0.5428 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.7083, allocations: 122.1 kB / 0.5429 GB, free: 79.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.7083, allocations: 11.3 kB / 0.5429 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.7086, allocations: 7.375 kB / 0.5429 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.7086, allocations: 15.3 kB / 0.5429 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.7087, allocations: 9.578 kB / 0.5429 GB, free: 79.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003752/0.709, allocations: 253.9 kB / 0.5432 GB, free: 79.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7091, allocations: 0 / 0.5432 GB, free: 79.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005855/0.7097, allocations: 88.19 kB / 0.5432 GB, free: 79.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002621/0.7123, allocations: 1.725 MB / 0.5449 GB, free: 77.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.7131, allocations: 339.6 kB / 0.5452 GB, free: 77.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7131, allocations: 0 / 0.5452 GB, free: 77.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.7133, allocations: 67.78 kB / 0.5453 GB, free: 77.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.7139, allocations: 34.73 kB / 0.5453 GB, free: 77.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.7156, allocations: 1.266 MB / 0.5466 GB, free: 76.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.7159, allocations: 0.7539 MB / 0.5473 GB, free: 75.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.716, allocations: 39.19 kB / 0.5474 GB, free: 75.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.7162, allocations: 73.78 kB / 0.5474 GB, free: 75.49 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7162, allocations: 0 / 0.5474 GB, free: 75.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.7439, allocations: 5.543 MB / 0.5528 GB, free: 72.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.7442, allocations: 213.3 kB / 0.553 GB, free: 72.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.292, allocations: 0 / 0.553 GB, free: 72.46 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat