Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test37",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.01041/0.01041, allocations: 176.4 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.943/1.943, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001997/0.001997, allocations: 128.5 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.2885/0.2885, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004511/0.0004511, allocations: 13.12 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 54.88 MB / 461.1 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.265, allocations: 81.98 MB / 0.5304 GB, free: 1.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.2654, allocations: 75.95 kB / 0.5305 GB, free: 1.035 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.3033/0.5687, allocations: 4.423 MB / 0.5348 GB, free: 82.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5687, allocations: 1.062 kB / 0.5348 GB, free: 82.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5687, allocations: 1.188 kB / 0.5348 GB, free: 82.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005851/0.5693, allocations: 478 kB / 0.5352 GB, free: 82.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5694, allocations: 9.156 kB / 0.5353 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.5694, allocations: 35.66 kB / 0.5353 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.5695, allocations: 8.812 kB / 0.5353 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.5698, allocations: 204.6 kB / 0.5355 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.5699, allocations: 2.625 kB / 0.5355 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.5699, allocations: 3.641 kB / 0.5355 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.5701, allocations: 59.86 kB / 0.5356 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5701, allocations: 0 / 0.5356 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5701, allocations: 3.953 kB / 0.5356 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5702, allocations: 1.516 kB / 0.5356 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.5703, allocations: 16.17 kB / 0.5356 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.5705, allocations: 196.8 kB / 0.5358 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.5708, allocations: 55.2 kB / 0.5358 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.5708, allocations: 7.938 kB / 0.5358 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.571, allocations: 65.72 kB / 0.5359 GB, free: 81.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.571, allocations: 0 / 0.5359 GB, free: 81.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004202/0.5714, allocations: 100.4 kB / 0.536 GB, free: 81.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.5715, allocations: 55.66 kB / 0.536 GB, free: 81.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.5718, allocations: 171.4 kB / 0.5362 GB, free: 81.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5718, allocations: 36.42 kB / 0.5362 GB, free: 81.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.5718, allocations: 93.88 kB / 0.5363 GB, free: 81.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.5719, allocations: 19.22 kB / 0.5363 GB, free: 81.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.5719, allocations: 3.281 kB / 0.5363 GB, free: 81.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.572, allocations: 322.3 kB / 0.5367 GB, free: 80.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.5721, allocations: 31.05 kB / 0.5367 GB, free: 80.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.5723, allocations: 45.5 kB / 0.5367 GB, free: 80.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.5724, allocations: 69.19 kB / 0.5368 GB, free: 80.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5725, allocations: 0 / 0.5368 GB, free: 80.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003987/0.5729, allocations: 162.5 kB / 0.5369 GB, free: 80.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.5729, allocations: 36.19 kB / 0.537 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.573, allocations: 80 / 0.537 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.573, allocations: 0.9062 kB / 0.537 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.5731, allocations: 12.09 kB / 0.537 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.5731, allocations: 7.938 kB / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-05/0.5732, allocations: 10.27 kB / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.5733, allocations: 9.172 kB / 0.537 GB, free: 80.77 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 (8): * Single equations (assignments): 7 * 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.0001118/0.5734, allocations: 130 kB / 0.5371 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.5734, allocations: 12.48 kB / 0.5372 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.5738, allocations: 97.83 kB / 0.5372 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.5738, allocations: 1.375 kB / 0.5372 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5738, allocations: 0 / 0.5372 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.5738, allocations: 4.516 kB / 0.5373 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.574, allocations: 190 kB / 0.5374 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.574, allocations: 0.5156 kB / 0.5374 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.5741, allocations: 12.64 kB / 0.5374 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5741, allocations: 1.484 kB / 0.5374 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5741, allocations: 6 kB / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5741, allocations: 1.375 kB / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5741, allocations: 0 / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.5744, allocations: 113.6 kB / 0.5376 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/0.5745, allocations: 94.33 kB / 0.5377 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.5745, allocations: 8.781 kB / 0.5377 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.5746, allocations: 2.5 kB / 0.5377 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.5747, allocations: 4.578 kB / 0.5377 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.5747, allocations: 7.484 kB / 0.5377 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.5748, allocations: 139 kB / 0.5378 GB, free: 80.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5749, allocations: 0 / 0.5378 GB, free: 80.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.5752, allocations: 29.7 kB / 0.5378 GB, free: 80.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001491/0.5767, allocations: 0.9348 MB / 0.5388 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.5771, allocations: 152.9 kB / 0.5389 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5771, allocations: 0 / 0.5389 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.5772, allocations: 23.97 kB / 0.5389 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.5775, allocations: 16.28 kB / 0.5389 GB, free: 79.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.5783, allocations: 0.6034 MB / 0.5395 GB, free: 78.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.5785, allocations: 0.7019 MB / 0.5402 GB, free: 78.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.366e-05/0.5786, allocations: 16.69 kB / 0.5402 GB, free: 78.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.5787, allocations: 26.83 kB / 0.5403 GB, free: 78.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5787, allocations: 0 / 0.5403 GB, free: 78.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.6032, allocations: 2.681 MB / 0.5429 GB, free: 77.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.6036, allocations: 212.3 kB / 0.5431 GB, free: 77.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.073, allocations: 1.062 kB / 0.5431 GB, free: 77.37 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat