Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test57",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.009961/0.009961, allocations: 174.2 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 1.951/1.951, allocations: 194.5 MB / 210.3 MB, free: 11.21 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.001982/0.001982, allocations: 116.6 kB / 255.6 MB, free: 14.3 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.4712/0.4712, allocations: 40 MB / 340.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004694, allocations: 12 kB / 406.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3542, allocations: 54.87 MB / 461.2 MB, free: 24.5 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.5615, allocations: 82.36 MB / 0.5308 GB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5619, allocations: 67.97 kB / 0.5308 GB, free: 8.598 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.02242/0.5843, allocations: 5.173 MB / 0.5359 GB, free: 3.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5843, allocations: 4 kB / 0.5359 GB, free: 3.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.5844, allocations: 0 / 0.5359 GB, free: 3.414 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.0006708/0.5851, allocations: 470.2 kB / 0.5363 GB, free: 2.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5851, allocations: 12.03 kB / 0.5364 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.5852, allocations: 42.48 kB / 0.5364 GB, free: 2.832 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.5852, allocations: 7.906 kB / 0.5364 GB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.5856, allocations: 206 kB / 0.5366 GB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.5856, allocations: 0 / 0.5366 GB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.5857, allocations: 15.92 kB / 0.5366 GB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.5859, allocations: 72.23 kB / 0.5367 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5859, allocations: 0 / 0.5367 GB, free: 2.488 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.586, allocations: 3.953 kB / 0.5367 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.586, allocations: 0 / 0.5367 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.5861, allocations: 23.98 kB / 0.5367 GB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.5866, allocations: 296.9 kB / 0.537 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.5869, allocations: 62.62 kB / 0.5371 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.5869, allocations: 0 / 0.5371 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.5871, allocations: 75.45 kB / 0.5371 GB, free: 1.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.5872, allocations: 0 / 0.5371 GB, free: 1.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008263/0.588, allocations: 173.3 kB / 0.5373 GB, free: 1.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.5881, allocations: 81.11 kB / 0.5374 GB, free: 1.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.5883, allocations: 140.4 kB / 0.5375 GB, free: 1.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.5883, allocations: 25.7 kB / 0.5375 GB, free: 1.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.5884, allocations: 100 kB / 0.5376 GB, free: 1.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.5884, allocations: 27.64 kB / 0.5376 GB, free: 1.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.5885, allocations: 0 / 0.5376 GB, free: 1.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5886, allocations: 322.8 kB / 0.538 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.5887, allocations: 35.92 kB / 0.538 GB, free: 1.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.5889, allocations: 58.55 kB / 0.538 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.5891, allocations: 63.58 kB / 0.5381 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5891, allocations: 0 / 0.5381 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00043/0.5895, allocations: 175.2 kB / 0.5383 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.5896, allocations: 29.7 kB / 0.5383 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5896, allocations: 384 / 0.5383 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5897, allocations: 4 kB / 0.5383 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5898, allocations: 15.98 kB / 0.5383 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5898, allocations: 4.062 kB / 0.5383 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.5899, allocations: 11.94 kB / 0.5383 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.59, allocations: 12 kB / 0.5383 GB, free: 0.6289 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.0001386/0.5901, allocations: 121.8 kB / 0.5385 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.5902, allocations: 11.86 kB / 0.5385 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.5906, allocations: 122.3 kB / 0.5386 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5906, allocations: 4 kB / 0.5386 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5906, allocations: 4 kB / 0.5386 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5906, allocations: 0 / 0.5386 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.5913, allocations: 411.2 kB / 0.539 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5914, allocations: 0 / 0.539 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.5914, allocations: 8 kB / 0.539 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5915, allocations: 0 / 0.539 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.5915, allocations: 4 kB / 0.539 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5915, allocations: 0 / 0.539 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5915, allocations: 4.031 kB / 0.539 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.5919, allocations: 229.8 kB / 0.5392 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.592, allocations: 97 kB / 0.5393 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5921, allocations: 0 / 0.5393 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5922, allocations: 4 kB / 0.5393 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.5923, allocations: 11.98 kB / 0.5393 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.5923, allocations: 8 kB / 0.5393 GB, free: 15.49 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.5924, allocations: 114.8 kB / 0.5395 GB, free: 15.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5924, allocations: 0 / 0.5395 GB, free: 15.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.5929, allocations: 51.98 kB / 0.5395 GB, free: 15.33 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.002175/0.595, allocations: 1.249 MB / 0.5407 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.5955, allocations: 147.4 kB / 0.5409 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5955, allocations: 0 / 0.5409 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.5957, allocations: 35.92 kB / 0.5409 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.596, allocations: 19.94 kB / 0.5409 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5971, allocations: 0.5936 MB / 0.5415 GB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.5974, allocations: 0.7083 MB / 0.5422 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.5976, allocations: 20.5 kB / 0.5422 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.5977, allocations: 27.42 kB / 0.5422 GB, free: 12.47 MB / 394.7 MB Notification: Performance of SimCode: time 4.449e-06/0.5977, allocations: 0 / 0.5422 GB, free: 12.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.6287, allocations: 3.092 MB / 0.5453 GB, free: 9.41 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/0.629, allocations: 211.8 kB / 0.5455 GB, free: 9.172 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.153, allocations: 4.062 kB / 0.5455 GB, free: 9.168 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat