Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test28",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.01492/0.01492, allocations: 177.5 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.978/1.978, allocations: 194.5 MB / 210.3 MB, free: 8.789 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.00278/0.002779, allocations: 120.6 kB / 255.6 MB, free: 11.4 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.2744/0.2744, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007548/0.0007548, allocations: 12.84 kB / 406.3 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1052, allocations: 54.88 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.2563, allocations: 82.12 MB / 0.5305 GB, free: 1.105 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.2566, allocations: 71.95 kB / 0.5306 GB, free: 1.035 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.3322/0.5888, allocations: 4.485 MB / 0.535 GB, free: 80.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5889, allocations: 0 / 0.535 GB, free: 80.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.5889, allocations: 1.281 kB / 0.535 GB, free: 80.62 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.0006095/0.5895, allocations: 478.2 kB / 0.5354 GB, free: 80.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5896, allocations: 9.531 kB / 0.5355 GB, free: 80.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.5896, allocations: 35.62 kB / 0.5355 GB, free: 80.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.5897, allocations: 9.594 kB / 0.5355 GB, free: 80.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.59, allocations: 206.9 kB / 0.5357 GB, free: 79.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5901, allocations: 7.859 kB / 0.5357 GB, free: 79.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.5901, allocations: 12.03 kB / 0.5357 GB, free: 79.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.5903, allocations: 55.06 kB / 0.5358 GB, free: 79.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.5903, allocations: 1.406 kB / 0.5358 GB, free: 79.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5904, allocations: 8.453 kB / 0.5358 GB, free: 79.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.5904, allocations: 1.25 kB / 0.5358 GB, free: 79.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.5905, allocations: 23.38 kB / 0.5358 GB, free: 79.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.591, allocations: 311.7 kB / 0.5361 GB, free: 79.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.5913, allocations: 58.83 kB / 0.5361 GB, free: 79.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.5913, allocations: 1.094 kB / 0.5362 GB, free: 79.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.5915, allocations: 78.95 kB / 0.5362 GB, free: 79.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.5916, allocations: 0 / 0.5362 GB, free: 79.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008327/0.5924, allocations: 183.7 kB / 0.5364 GB, free: 79.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.5925, allocations: 57.17 kB / 0.5365 GB, free: 79.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.5927, allocations: 164.9 kB / 0.5366 GB, free: 79.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.5928, allocations: 31.66 kB / 0.5366 GB, free: 79.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.5928, allocations: 102.4 kB / 0.5367 GB, free: 79.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.5929, allocations: 31.09 kB / 0.5368 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.5929, allocations: 1.156 kB / 0.5368 GB, free: 79.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.593, allocations: 324.7 kB / 0.5371 GB, free: 78.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.5931, allocations: 40.83 kB / 0.5371 GB, free: 78.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.5933, allocations: 53.62 kB / 0.5372 GB, free: 78.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.5935, allocations: 71.56 kB / 0.5372 GB, free: 78.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5935, allocations: 1.031 kB / 0.5372 GB, free: 78.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004486/0.594, allocations: 186.2 kB / 0.5374 GB, free: 78.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.594, allocations: 35.7 kB / 0.5375 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.594, allocations: 1.438 kB / 0.5375 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5941, allocations: 6.328 kB / 0.5375 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5942, allocations: 14 kB / 0.5375 GB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.5943, allocations: 6.141 kB / 0.5375 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.5944, allocations: 7.922 kB / 0.5375 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.5944, allocations: 5.703 kB / 0.5375 GB, free: 78.67 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.0001266/0.5945, allocations: 132.4 kB / 0.5376 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.5946, allocations: 13.67 kB / 0.5376 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.595, allocations: 126.9 kB / 0.5378 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.595, allocations: 1.625 kB / 0.5378 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.595, allocations: 192 / 0.5378 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.595, allocations: 1.703 kB / 0.5378 GB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.5957, allocations: 414.9 kB / 0.5382 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5957, allocations: 0 / 0.5382 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-05/0.5958, allocations: 10.05 kB / 0.5382 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.5958, allocations: 2.188 kB / 0.5382 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5958, allocations: 10.02 kB / 0.5382 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5958, allocations: 1.312 kB / 0.5382 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5959, allocations: 0.7031 kB / 0.5382 GB, free: 78.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.5962, allocations: 223.5 kB / 0.5384 GB, free: 78.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.5963, allocations: 96.84 kB / 0.5385 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.5964, allocations: 5.266 kB / 0.5385 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.5965, allocations: 7.25 kB / 0.5385 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.5966, allocations: 10.58 kB / 0.5385 GB, free: 77.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.5966, allocations: 8.188 kB / 0.5385 GB, free: 77.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.5968, allocations: 138 kB / 0.5386 GB, free: 77.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5968, allocations: 0.9688 kB / 0.5386 GB, free: 77.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.5972, allocations: 39.03 kB / 0.5387 GB, free: 77.82 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.001706/0.5989, allocations: 1.168 MB / 0.5398 GB, free: 76.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.5994, allocations: 166.1 kB / 0.54 GB, free: 76.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5994, allocations: 0 / 0.54 GB, free: 76.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5996, allocations: 34.73 kB / 0.54 GB, free: 76.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.5999, allocations: 21.09 kB / 0.54 GB, free: 76.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009865/0.6009, allocations: 0.6375 MB / 0.5407 GB, free: 76.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.6012, allocations: 0.7083 MB / 0.5413 GB, free: 75.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.6013, allocations: 15.98 kB / 0.5414 GB, free: 75.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.6014, allocations: 34.91 kB / 0.5414 GB, free: 75.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.163e-06/0.6014, allocations: 3.938 kB / 0.5414 GB, free: 75.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.6296, allocations: 2.967 MB / 0.5443 GB, free: 75.09 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003624/0.63, allocations: 220.4 kB / 0.5445 GB, free: 74.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.145, allocations: 5.156 kB / 0.5445 GB, free: 74.84 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat