Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test35",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.009868/0.009868, allocations: 174.7 kB / 15.12 MB, free: 6 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.021/2.021, allocations: 194.5 MB / 210.3 MB, free: 11.42 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.002009/0.002008, allocations: 112.7 kB / 255.6 MB, free: 14.52 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.43/0.43, allocations: 40 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004829, allocations: 12 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3924, allocations: 54.87 MB / 461.2 MB, free: 24.54 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.5352, allocations: 82.14 MB / 0.5306 GB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5355, allocations: 75.95 kB / 0.5306 GB, free: 8.816 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.0212/0.5567, allocations: 4.795 MB / 0.5353 GB, free: 4.012 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5567, allocations: 0 / 0.5353 GB, free: 4.012 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5568, allocations: 0 / 0.5353 GB, free: 4.012 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.0006989/0.5575, allocations: 494.1 kB / 0.5358 GB, free: 3.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5575, allocations: 12.03 kB / 0.5358 GB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.5576, allocations: 30.56 kB / 0.5358 GB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.5576, allocations: 11.81 kB / 0.5358 GB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.558, allocations: 214.9 kB / 0.536 GB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5581, allocations: 0 / 0.536 GB, free: 3.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.5581, allocations: 8 kB / 0.5361 GB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.5583, allocations: 65.55 kB / 0.5361 GB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5583, allocations: 0 / 0.5361 GB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.5584, allocations: 11.94 kB / 0.5361 GB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5584, allocations: 0 / 0.5361 GB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.5585, allocations: 19.98 kB / 0.5361 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.559, allocations: 312.8 kB / 0.5364 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.5593, allocations: 66.59 kB / 0.5365 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.5594, allocations: 4 kB / 0.5365 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.5596, allocations: 80.17 kB / 0.5366 GB, free: 2.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.5596, allocations: 0 / 0.5366 GB, free: 2.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008491/0.5604, allocations: 185.1 kB / 0.5368 GB, free: 2.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.5605, allocations: 55.41 kB / 0.5368 GB, free: 2.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.5608, allocations: 194.5 kB / 0.537 GB, free: 2.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.5609, allocations: 33.7 kB / 0.537 GB, free: 2.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.561, allocations: 112 kB / 0.5371 GB, free: 1.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.561, allocations: 27.64 kB / 0.5372 GB, free: 1.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.5611, allocations: 4 kB / 0.5372 GB, free: 1.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5612, allocations: 326.8 kB / 0.5375 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.5614, allocations: 35.98 kB / 0.5375 GB, free: 1.523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.5615, allocations: 57.48 kB / 0.5376 GB, free: 1.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.5617, allocations: 74.89 kB / 0.5376 GB, free: 1.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5618, allocations: 7.938 kB / 0.5377 GB, free: 1.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000481/0.5623, allocations: 179.2 kB / 0.5378 GB, free: 1.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.5623, allocations: 37.69 kB / 0.5379 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.5623, allocations: 0 / 0.5379 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5624, allocations: 0 / 0.5379 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.5625, allocations: 23.94 kB / 0.5379 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5625, allocations: 0 / 0.5379 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.5626, allocations: 7.984 kB / 0.5379 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.5627, allocations: 4 kB / 0.5379 GB, free: 1.113 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.0001627/0.5629, allocations: 137.9 kB / 0.538 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.5629, allocations: 15.77 kB / 0.538 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.5633, allocations: 123 kB / 0.5382 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5633, allocations: 3.938 kB / 0.5382 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5634, allocations: 0 / 0.5382 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5634, allocations: 0 / 0.5382 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/0.5641, allocations: 431.2 kB / 0.5386 GB, free: 348 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.5641, allocations: 4 kB / 0.5386 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.5642, allocations: 8 kB / 0.5386 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.5643, allocations: 0 / 0.5386 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.5643, allocations: 0 / 0.5386 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.5643, allocations: 7.938 kB / 0.5386 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5643, allocations: 0 / 0.5386 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.5648, allocations: 233.8 kB / 0.5388 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.5649, allocations: 104.9 kB / 0.5389 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.565, allocations: 0 / 0.5389 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5651, allocations: 4 kB / 0.5389 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.5652, allocations: 11.98 kB / 0.5389 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.5652, allocations: 4.375 kB / 0.5389 GB, free: 15.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.5654, allocations: 163.2 kB / 0.5391 GB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5654, allocations: 288 / 0.5391 GB, free: 15.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.5659, allocations: 47.94 kB / 0.5391 GB, free: 15.72 MB / 394.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.001998/0.5679, allocations: 1.169 MB / 0.5403 GB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.5684, allocations: 167.3 kB / 0.5404 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5685, allocations: 0 / 0.5404 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5686, allocations: 35.92 kB / 0.5405 GB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.569, allocations: 20.12 kB / 0.5405 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.5702, allocations: 0.681 MB / 0.5412 GB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.5706, allocations: 0.716 MB / 0.5419 GB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.201e-05/0.5707, allocations: 16.42 kB / 0.5419 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.5708, allocations: 39.42 kB / 0.5419 GB, free: 12.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5708, allocations: 0 / 0.5419 GB, free: 12.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.5999, allocations: 3.192 MB / 0.545 GB, free: 9.652 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003383/0.6003, allocations: 222.8 kB / 0.5452 GB, free: 9.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.056, allocations: 0 / 0.5452 GB, free: 9.406 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat