Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test64",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.01025/0.01025, allocations: 176.1 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.043/2.043, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.001996/0.001995, allocations: 120.6 kB / 255.6 MB, free: 10.22 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.2582/0.2582, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004663, allocations: 13.94 kB / 406.3 MB, free: 51.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1002, allocations: 54.88 MB / 461.2 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.2747, allocations: 81.98 MB / 0.5304 GB, free: 1.059 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004349/0.2752, allocations: 75.95 kB / 0.5305 GB, free: 0.9844 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.3109/0.5861, allocations: 4.725 MB / 0.5351 GB, free: 82.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5861, allocations: 3.938 kB / 0.5351 GB, free: 82.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.5862, allocations: 1.938 kB / 0.5351 GB, free: 82.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000565/0.5867, allocations: 491 kB / 0.5356 GB, free: 82.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.5868, allocations: 8.656 kB / 0.5356 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.5868, allocations: 34.53 kB / 0.5356 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.5869, allocations: 14.97 kB / 0.5356 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.5873, allocations: 214.7 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.5873, allocations: 7.781 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.5873, allocations: 3.281 kB / 0.5358 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.5875, allocations: 57.19 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5876, allocations: 0 / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.5876, allocations: 5.906 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5876, allocations: 0 / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.5877, allocations: 16.62 kB / 0.5359 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.588, allocations: 207.3 kB / 0.5361 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.5882, allocations: 58 kB / 0.5362 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.5883, allocations: 1.344 kB / 0.5362 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.5885, allocations: 72.2 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.5885, allocations: 1.125 kB / 0.5362 GB, free: 81.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000412/0.5889, allocations: 108.9 kB / 0.5363 GB, free: 81.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.5889, allocations: 56.62 kB / 0.5364 GB, free: 81.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.5893, allocations: 230.4 kB / 0.5366 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.5894, allocations: 34.45 kB / 0.5367 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.5894, allocations: 114.4 kB / 0.5368 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.5895, allocations: 17.23 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.5895, allocations: 6.219 kB / 0.5368 GB, free: 81.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.5896, allocations: 326.5 kB / 0.5371 GB, free: 81.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5897, allocations: 30.12 kB / 0.5371 GB, free: 81.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.5898, allocations: 56.77 kB / 0.5372 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.59, allocations: 63.08 kB / 0.5372 GB, free: 81.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.59, allocations: 1.781 kB / 0.5372 GB, free: 81.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003835/0.5904, allocations: 159.5 kB / 0.5374 GB, free: 81.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.5905, allocations: 39.55 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5905, allocations: 1.094 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.5905, allocations: 1.125 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.5906, allocations: 10.69 kB / 0.5374 GB, free: 81.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5907, allocations: 8.766 kB / 0.5374 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.5908, allocations: 10.62 kB / 0.5375 GB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.5908, allocations: 5.188 kB / 0.5375 GB, free: 81.11 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 (8): * Single equations (assignments): 7 * 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.0001283/0.591, allocations: 137.4 kB / 0.5376 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.591, allocations: 10.56 kB / 0.5376 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.5913, allocations: 99.69 kB / 0.5377 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.5913, allocations: 5.266 kB / 0.5377 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5914, allocations: 1.062 kB / 0.5377 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5914, allocations: 8.75 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.5916, allocations: 201.8 kB / 0.5379 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5916, allocations: 0 / 0.5379 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.5917, allocations: 6.516 kB / 0.5379 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5917, allocations: 0.6562 kB / 0.5379 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5917, allocations: 5.641 kB / 0.5379 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.5917, allocations: 3.938 kB / 0.5379 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5917, allocations: 1.312 kB / 0.5379 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.592, allocations: 121.7 kB / 0.538 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5921, allocations: 107.6 kB / 0.5381 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.5922, allocations: 1.797 kB / 0.5381 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.5922, allocations: 11.66 kB / 0.5382 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.5923, allocations: 4.406 kB / 0.5382 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5923, allocations: 7.266 kB / 0.5382 GB, free: 80.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.5926, allocations: 189.9 kB / 0.5383 GB, free: 80.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5926, allocations: 1.469 kB / 0.5384 GB, free: 80.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.593, allocations: 34.55 kB / 0.5384 GB, free: 80.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001561/0.5946, allocations: 0.9346 MB / 0.5393 GB, free: 79.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.595, allocations: 147.9 kB / 0.5394 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.595, allocations: 0 / 0.5394 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.5951, allocations: 23.98 kB / 0.5395 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.5955, allocations: 16.52 kB / 0.5395 GB, free: 79.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5965, allocations: 0.6945 MB / 0.5402 GB, free: 79.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.5967, allocations: 0.7175 MB / 0.5409 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.155e-05/0.5968, allocations: 24.69 kB / 0.5409 GB, free: 78.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.5969, allocations: 38.72 kB / 0.5409 GB, free: 78.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.597, allocations: 0 / 0.5409 GB, free: 78.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.6232, allocations: 3.126 MB / 0.544 GB, free: 77.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.6236, allocations: 213.2 kB / 0.5442 GB, free: 77.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.018, allocations: 0 / 0.5442 GB, free: 77.31 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat