Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test48",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.01545/0.01545, allocations: 173.8 kB / 15.12 MB, free: 5.973 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.999/1.999, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.002036/0.002036, allocations: 116.7 kB / 255.6 MB, free: 11.2 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.2867/0.2867, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004674, allocations: 11.94 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 54.87 MB / 461.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.249, allocations: 82.16 MB / 0.5306 GB, free: 1.027 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.2494, allocations: 75.95 kB / 0.5306 GB, free: 0.9531 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.3257/0.5751, allocations: 4.902 MB / 0.5354 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.5752, allocations: 1.188 kB / 0.5354 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.5752, allocations: 1.031 kB / 0.5354 GB, free: 82.95 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.0006451/0.5758, allocations: 0.4917 MB / 0.5359 GB, free: 82.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5759, allocations: 9.062 kB / 0.5359 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.576, allocations: 36.69 kB / 0.536 GB, free: 82.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.576, allocations: 15.03 kB / 0.536 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.5764, allocations: 219.8 kB / 0.5362 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5765, allocations: 2.938 kB / 0.5362 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.5765, allocations: 9.594 kB / 0.5362 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5767, allocations: 52.08 kB / 0.5362 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5767, allocations: 3.938 kB / 0.5362 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.5768, allocations: 9.281 kB / 0.5363 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5768, allocations: 1.375 kB / 0.5363 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5769, allocations: 20.02 kB / 0.5363 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.5774, allocations: 327.3 kB / 0.5366 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.5777, allocations: 68.12 kB / 0.5367 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.5777, allocations: 1.688 kB / 0.5367 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.5779, allocations: 72.91 kB / 0.5367 GB, free: 81.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.5779, allocations: 0 / 0.5367 GB, free: 81.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008077/0.5788, allocations: 196.9 kB / 0.5369 GB, free: 81.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.5788, allocations: 53.42 kB / 0.537 GB, free: 81.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.5792, allocations: 231.2 kB / 0.5372 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5792, allocations: 31.55 kB / 0.5372 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.5793, allocations: 113.3 kB / 0.5373 GB, free: 81.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.5794, allocations: 22.53 kB / 0.5373 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.5794, allocations: 1.344 kB / 0.5373 GB, free: 81.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.5795, allocations: 333 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.5796, allocations: 35.66 kB / 0.5377 GB, free: 81.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.5798, allocations: 52.94 kB / 0.5377 GB, free: 81.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.58, allocations: 76.3 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5801, allocations: 1.25 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004729/0.5805, allocations: 188.4 kB / 0.538 GB, free: 81.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.5806, allocations: 35.59 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.5806, allocations: 5.188 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5806, allocations: 1.406 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.5808, allocations: 22.16 kB / 0.5381 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.5808, allocations: 2.422 kB / 0.5381 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.5809, allocations: 8.641 kB / 0.5381 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.581, allocations: 6.906 kB / 0.5381 GB, free: 80.97 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.0001467/0.5811, allocations: 134.3 kB / 0.5382 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.5812, allocations: 21.34 kB / 0.5382 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.5816, allocations: 129.4 kB / 0.5384 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5816, allocations: 1.156 kB / 0.5384 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5816, allocations: 2.031 kB / 0.5384 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5816, allocations: 0 / 0.5384 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006871/0.5823, allocations: 440.5 kB / 0.5388 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5823, allocations: 1 kB / 0.5388 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.5824, allocations: 10.36 kB / 0.5388 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.5824, allocations: 5.094 kB / 0.5388 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.5825, allocations: 6.891 kB / 0.5388 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5825, allocations: 1.125 kB / 0.5388 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5825, allocations: 5.156 kB / 0.5388 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.5828, allocations: 229.5 kB / 0.539 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.583, allocations: 104.8 kB / 0.5391 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.583, allocations: 10.39 kB / 0.5391 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.5831, allocations: 3.609 kB / 0.5391 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.5832, allocations: 6.672 kB / 0.5391 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5832, allocations: 4.391 kB / 0.5391 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002733/0.5835, allocations: 191.9 kB / 0.5393 GB, free: 80.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5835, allocations: 0 / 0.5393 GB, free: 80.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.584, allocations: 43.88 kB / 0.5394 GB, free: 80.11 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.001696/0.5857, allocations: 1.168 MB / 0.5405 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004759/0.5862, allocations: 170.6 kB / 0.5407 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5862, allocations: 0 / 0.5407 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.5863, allocations: 38.66 kB / 0.5407 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.5868, allocations: 19.69 kB / 0.5407 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.588, allocations: 0.7185 MB / 0.5414 GB, free: 78.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.5883, allocations: 0.7268 MB / 0.5421 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.5884, allocations: 14.84 kB / 0.5422 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5886, allocations: 41.77 kB / 0.5422 GB, free: 77.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5886, allocations: 1.125 kB / 0.5422 GB, free: 77.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.6169, allocations: 3.431 MB / 0.5455 GB, free: 76.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/0.6172, allocations: 208.5 kB / 0.5457 GB, free: 76.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.117, allocations: 0 / 0.5457 GB, free: 76.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat