Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test24",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.009989/0.009993, allocations: 177 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 2.143/2.143, 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.003302/0.003302, allocations: 120.6 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.2551/0.2551, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004869, allocations: 13.62 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09937, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.2446, allocations: 82.12 MB / 0.5305 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.2449, allocations: 75.95 kB / 0.5306 GB, free: 0.8906 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.3158/0.5607, allocations: 4.529 MB / 0.535 GB, free: 82.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5607, allocations: 0 / 0.535 GB, free: 82.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.5608, allocations: 1.219 kB / 0.535 GB, free: 82.71 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.0006094/0.5614, allocations: 483.1 kB / 0.5355 GB, free: 82.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5614, allocations: 9.5 kB / 0.5355 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.5615, allocations: 36.73 kB / 0.5355 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.5616, allocations: 11.12 kB / 0.5355 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.5619, allocations: 204.6 kB / 0.5357 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.562, allocations: 9.094 kB / 0.5357 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.562, allocations: 9.797 kB / 0.5358 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.5622, allocations: 55.42 kB / 0.5358 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5623, allocations: 0.9844 kB / 0.5358 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5623, allocations: 8.953 kB / 0.5358 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5623, allocations: 1.062 kB / 0.5358 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.5624, allocations: 24.75 kB / 0.5358 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.5629, allocations: 311.4 kB / 0.5361 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.5632, allocations: 64.03 kB / 0.5362 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5632, allocations: 4.906 kB / 0.5362 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.5634, allocations: 72.61 kB / 0.5363 GB, free: 81.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.865e-06/0.5634, allocations: 0 / 0.5363 GB, free: 81.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008246/0.5643, allocations: 187.1 kB / 0.5365 GB, free: 81.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.5643, allocations: 52.38 kB / 0.5365 GB, free: 81.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.5646, allocations: 175 kB / 0.5367 GB, free: 81.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.5646, allocations: 28.67 kB / 0.5367 GB, free: 81.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.5647, allocations: 106.2 kB / 0.5368 GB, free: 81.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.5647, allocations: 24.62 kB / 0.5368 GB, free: 81.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.5647, allocations: 3.781 kB / 0.5368 GB, free: 81.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.5648, allocations: 325.7 kB / 0.5371 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.565, allocations: 40.38 kB / 0.5372 GB, free: 80.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.5651, allocations: 57.14 kB / 0.5372 GB, free: 80.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.5653, allocations: 73.42 kB / 0.5373 GB, free: 80.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5653, allocations: 4 kB / 0.5373 GB, free: 80.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004881/0.5658, allocations: 184.3 kB / 0.5375 GB, free: 80.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.5659, allocations: 38.61 kB / 0.5375 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5659, allocations: 1.062 kB / 0.5375 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.566, allocations: 1.375 kB / 0.5375 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.5661, allocations: 15.11 kB / 0.5375 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5661, allocations: 1.703 kB / 0.5375 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.5662, allocations: 9.109 kB / 0.5375 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.5663, allocations: 4.547 kB / 0.5375 GB, free: 80.76 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.000131/0.5664, allocations: 135.7 kB / 0.5377 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.5665, allocations: 13.55 kB / 0.5377 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.5669, allocations: 121 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5669, allocations: 1.031 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.5669, allocations: 1.062 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5669, allocations: 4.734 kB / 0.5378 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.5676, allocations: 418.6 kB / 0.5382 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5676, allocations: 384 / 0.5382 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.5677, allocations: 14.47 kB / 0.5382 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5677, allocations: 5.438 kB / 0.5382 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.5677, allocations: 10.58 kB / 0.5382 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5677, allocations: 0.5625 kB / 0.5382 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5677, allocations: 1.438 kB / 0.5382 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.5681, allocations: 225.9 kB / 0.5385 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.5682, allocations: 100.1 kB / 0.5386 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5683, allocations: 6.297 kB / 0.5386 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5684, allocations: 3.641 kB / 0.5386 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.5684, allocations: 6.688 kB / 0.5386 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5685, allocations: 6.906 kB / 0.5386 GB, free: 79.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.5686, allocations: 144 kB / 0.5387 GB, free: 79.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5687, allocations: 4 kB / 0.5387 GB, free: 79.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004248/0.5691, allocations: 49.61 kB / 0.5388 GB, free: 79.89 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.001675/0.5708, allocations: 1.152 MB / 0.5399 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.5713, allocations: 170.6 kB / 0.5401 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5713, allocations: 0 / 0.5401 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.5714, allocations: 34.39 kB / 0.5401 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.5718, allocations: 22.75 kB / 0.5401 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.5729, allocations: 0.6442 MB / 0.5407 GB, free: 78.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.5731, allocations: 0.7148 MB / 0.5414 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.228e-05/0.5732, allocations: 11.84 kB / 0.5414 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.5733, allocations: 32.94 kB / 0.5415 GB, free: 77.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5733, allocations: 1.062 kB / 0.5415 GB, free: 77.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0912/0.6645, allocations: 3.061 MB / 0.5445 GB, free: 76.86 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.6648, allocations: 215.4 kB / 0.5447 GB, free: 76.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.041, allocations: 0 / 0.5447 GB, free: 76.61 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat