Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test49",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.01005/0.01005, allocations: 175.6 kB / 15.12 MB, free: 5.934 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.988/1.988, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001972/0.001972, 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.2623/0.2623, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006305/0.0006307, allocations: 17.06 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.102, allocations: 54.88 MB / 461.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.2718, allocations: 82.14 MB / 0.5306 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.2722, allocations: 83.94 kB / 0.5306 GB, free: 0.8516 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.3152/0.5874, allocations: 4.901 MB / 0.5354 GB, free: 83.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5875, allocations: 0 / 0.5354 GB, free: 83.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.5875, allocations: 8.156 kB / 0.5354 GB, free: 83.03 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.0006483/0.5881, allocations: 499.9 kB / 0.5359 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5882, allocations: 10.12 kB / 0.5359 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.5883, allocations: 35.19 kB / 0.536 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.5883, allocations: 15.81 kB / 0.536 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.5887, allocations: 216.4 kB / 0.5362 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5887, allocations: 3.125 kB / 0.5362 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.5888, allocations: 7.047 kB / 0.5362 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.589, allocations: 58.98 kB / 0.5362 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.589, allocations: 0 / 0.5362 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.589, allocations: 5.797 kB / 0.5362 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.589, allocations: 0 / 0.5362 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.5892, allocations: 22.72 kB / 0.5363 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.5898, allocations: 331 kB / 0.5366 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.59, allocations: 64.12 kB / 0.5366 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.5901, allocations: 1.219 kB / 0.5366 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.5903, allocations: 71.59 kB / 0.5367 GB, free: 81.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.5903, allocations: 4 kB / 0.5367 GB, free: 81.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008764/0.5912, allocations: 195.5 kB / 0.5369 GB, free: 81.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.5913, allocations: 55.81 kB / 0.537 GB, free: 81.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.5917, allocations: 229.5 kB / 0.5372 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.5917, allocations: 31.19 kB / 0.5372 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.5918, allocations: 114.8 kB / 0.5373 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.5918, allocations: 22.41 kB / 0.5373 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.5918, allocations: 0.9062 kB / 0.5373 GB, free: 81.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.5919, allocations: 332.7 kB / 0.5377 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.5921, allocations: 39.89 kB / 0.5377 GB, free: 81.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.5923, allocations: 54.81 kB / 0.5377 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.5924, allocations: 81.61 kB / 0.5378 GB, free: 81.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5925, allocations: 0 / 0.5378 GB, free: 81.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004629/0.5929, allocations: 181.6 kB / 0.538 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.593, allocations: 41.36 kB / 0.538 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.593, allocations: 5.312 kB / 0.538 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.593, allocations: 5.984 kB / 0.538 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.5932, allocations: 15.7 kB / 0.5381 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5933, allocations: 1.125 kB / 0.5381 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.5934, allocations: 5.062 kB / 0.5381 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.5934, allocations: 9.344 kB / 0.5381 GB, free: 81.05 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.0001532/0.5936, allocations: 134.1 kB / 0.5382 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.5936, allocations: 19.22 kB / 0.5382 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.5941, allocations: 128.1 kB / 0.5383 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5941, allocations: 2.594 kB / 0.5383 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5941, allocations: 0 / 0.5383 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5941, allocations: 0.5156 kB / 0.5384 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.5948, allocations: 442.3 kB / 0.5388 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5949, allocations: 1.188 kB / 0.5388 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.957e-05/0.5949, allocations: 17.89 kB / 0.5388 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.595, allocations: 10.11 kB / 0.5388 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.595, allocations: 2.188 kB / 0.5388 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.595, allocations: 0 / 0.5388 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.595, allocations: 1.781 kB / 0.5388 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.5954, allocations: 226.9 kB / 0.539 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5955, allocations: 104.9 kB / 0.5391 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.5955, allocations: 6.125 kB / 0.5391 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5957, allocations: 4.062 kB / 0.5391 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5957, allocations: 8.078 kB / 0.5391 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.5957, allocations: 3.906 kB / 0.5391 GB, free: 80.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.596, allocations: 192.2 kB / 0.5393 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.596, allocations: 3.938 kB / 0.5393 GB, free: 80.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.5965, allocations: 44.08 kB / 0.5394 GB, free: 80.19 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.001721/0.5982, allocations: 1.173 MB / 0.5405 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.5987, allocations: 165.2 kB / 0.5407 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5987, allocations: 5.406 kB / 0.5407 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.5989, allocations: 36.12 kB / 0.5407 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.5993, allocations: 19.28 kB / 0.5407 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.6004, allocations: 0.7173 MB / 0.5414 GB, free: 78.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.6007, allocations: 0.7275 MB / 0.5421 GB, free: 77.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.6008, allocations: 15.16 kB / 0.5422 GB, free: 77.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.6009, allocations: 43.34 kB / 0.5422 GB, free: 77.87 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6009, allocations: 0 / 0.5422 GB, free: 77.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.6276, allocations: 3.42 MB / 0.5455 GB, free: 76.8 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.6279, allocations: 208.5 kB / 0.5457 GB, free: 76.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.182, allocations: 0 / 0.5457 GB, free: 76.56 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat