Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test38",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.009865/0.009867, allocations: 175.2 kB / 15.12 MB, free: 5.98 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.93/1.93, 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.0029/0.0029, allocations: 128.5 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.2778/0.2778, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004796, allocations: 16.92 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 54.87 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.2517, allocations: 81.99 MB / 0.5304 GB, free: 1.113 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.252, allocations: 75.95 kB / 0.5305 GB, free: 1.039 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.3338/0.5859, allocations: 4.418 MB / 0.5348 GB, free: 82.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.105e-06/0.5859, allocations: 0 / 0.5348 GB, free: 82.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.894e-05/0.586, allocations: 3.125 kB / 0.5348 GB, free: 82.61 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.0007613/0.5867, allocations: 475.4 kB / 0.5352 GB, free: 82.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.5868, allocations: 8.844 kB / 0.5353 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.392e-05/0.5869, allocations: 32 kB / 0.5353 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.587, allocations: 13.38 kB / 0.5353 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.5875, allocations: 203.6 kB / 0.5355 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5875, allocations: 2.531 kB / 0.5355 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.5876, allocations: 9.078 kB / 0.5355 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.5879, allocations: 59.91 kB / 0.5356 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5879, allocations: 0 / 0.5356 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.588, allocations: 4.656 kB / 0.5356 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.588, allocations: 0 / 0.5356 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.5882, allocations: 17.75 kB / 0.5356 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.5885, allocations: 196.7 kB / 0.5358 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.5889, allocations: 53.61 kB / 0.5358 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.5889, allocations: 9.438 kB / 0.5358 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/0.5892, allocations: 65 kB / 0.5359 GB, free: 81.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.675e-06/0.5892, allocations: 0 / 0.5359 GB, free: 81.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006297/0.5899, allocations: 101.9 kB / 0.536 GB, free: 81.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5899, allocations: 52.02 kB / 0.536 GB, free: 81.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.5903, allocations: 170 kB / 0.5362 GB, free: 81.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.5904, allocations: 30.61 kB / 0.5362 GB, free: 81.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.5904, allocations: 105.8 kB / 0.5363 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.5905, allocations: 14.06 kB / 0.5363 GB, free: 81.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.5905, allocations: 2.719 kB / 0.5363 GB, free: 81.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.5906, allocations: 321.8 kB / 0.5367 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.5909, allocations: 32.61 kB / 0.5367 GB, free: 80.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.5911, allocations: 51.94 kB / 0.5367 GB, free: 80.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.5914, allocations: 66.52 kB / 0.5368 GB, free: 80.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5914, allocations: 0 / 0.5368 GB, free: 80.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007024/0.5921, allocations: 161.3 kB / 0.537 GB, free: 80.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.5922, allocations: 38.17 kB / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.5922, allocations: 0 / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.5923, allocations: 1.703 kB / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.5924, allocations: 12.06 kB / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.5925, allocations: 5.266 kB / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5926, allocations: 5.562 kB / 0.537 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.5927, allocations: 5.266 kB / 0.537 GB, free: 80.77 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.0001785/0.5929, allocations: 130.3 kB / 0.5371 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.593, allocations: 16.53 kB / 0.5372 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.5935, allocations: 96.3 kB / 0.5372 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.5935, allocations: 1.156 kB / 0.5373 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5935, allocations: 0 / 0.5373 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5935, allocations: 4.656 kB / 0.5373 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.5938, allocations: 189.8 kB / 0.5374 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5938, allocations: 0 / 0.5374 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.5939, allocations: 8.969 kB / 0.5374 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.5939, allocations: 5.094 kB / 0.5374 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.594, allocations: 5.594 kB / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.594, allocations: 1.125 kB / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.594, allocations: 0 / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.5945, allocations: 115.3 kB / 0.5376 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.5946, allocations: 90.88 kB / 0.5377 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.5947, allocations: 6.609 kB / 0.5377 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5948, allocations: 6.578 kB / 0.5377 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.5949, allocations: 4.766 kB / 0.5377 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.5949, allocations: 1.969 kB / 0.5377 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.5952, allocations: 136.4 kB / 0.5378 GB, free: 80.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5952, allocations: 0 / 0.5378 GB, free: 80.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005836/0.5958, allocations: 32.83 kB / 0.5378 GB, free: 80.14 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.002217/0.598, allocations: 0.9384 MB / 0.5387 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.5987, allocations: 155.1 kB / 0.5389 GB, free: 79.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5987, allocations: 0 / 0.5389 GB, free: 79.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.5989, allocations: 23.42 kB / 0.5389 GB, free: 79.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.5993, allocations: 16.39 kB / 0.5389 GB, free: 79.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6006, allocations: 0.6018 MB / 0.5395 GB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.6009, allocations: 0.7044 MB / 0.5402 GB, free: 78.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.601, allocations: 14.17 kB / 0.5402 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.6011, allocations: 29.69 kB / 0.5403 GB, free: 78.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6012, allocations: 0 / 0.5403 GB, free: 78.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.6279, allocations: 2.687 MB / 0.5429 GB, free: 77.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.6283, allocations: 213.3 kB / 0.5431 GB, free: 77.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.07, allocations: 0 / 0.5431 GB, free: 77.38 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat