Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test36",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.009854/0.009854, allocations: 177.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.955/1.955, 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.002003/0.002003, allocations: 124.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.2455/0.2455, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004798, allocations: 12.81 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 54.88 MB / 461.2 MB, free: 3.207 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.264, allocations: 82.14 MB / 0.5306 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.2644, allocations: 75.95 kB / 0.5306 GB, free: 0.8789 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.3604/0.6247, allocations: 4.792 MB / 0.5353 GB, free: 83.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6248, allocations: 0 / 0.5353 GB, free: 83.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.6248, allocations: 2 kB / 0.5353 GB, free: 83.01 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.0006302/0.6254, allocations: 494.8 kB / 0.5358 GB, free: 82.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.6255, allocations: 9.531 kB / 0.5358 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.6255, allocations: 36.52 kB / 0.5358 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.6256, allocations: 14.64 kB / 0.5358 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.6259, allocations: 208.5 kB / 0.536 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.626, allocations: 4.344 kB / 0.536 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.626, allocations: 4.531 kB / 0.536 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.6262, allocations: 58.73 kB / 0.5361 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6262, allocations: 0 / 0.5361 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.6262, allocations: 9.5 kB / 0.5361 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.6263, allocations: 3.938 kB / 0.5361 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.6264, allocations: 24.45 kB / 0.5361 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.6269, allocations: 318.1 kB / 0.5364 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.6271, allocations: 61.42 kB / 0.5365 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.6272, allocations: 5.219 kB / 0.5365 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.6273, allocations: 77.88 kB / 0.5366 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.6274, allocations: 0 / 0.5366 GB, free: 81.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007803/0.6282, allocations: 184.2 kB / 0.5368 GB, free: 81.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.6282, allocations: 53.16 kB / 0.5368 GB, free: 81.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.6285, allocations: 199.9 kB / 0.537 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.6285, allocations: 31.34 kB / 0.537 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.6286, allocations: 110.7 kB / 0.5371 GB, free: 81.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.6287, allocations: 27.94 kB / 0.5372 GB, free: 81.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.6287, allocations: 2.125 kB / 0.5372 GB, free: 81.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.6288, allocations: 325.5 kB / 0.5375 GB, free: 81.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.6289, allocations: 40.09 kB / 0.5375 GB, free: 81.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.6291, allocations: 52.48 kB / 0.5376 GB, free: 81.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.6292, allocations: 77.97 kB / 0.5376 GB, free: 81.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/0.6293, allocations: 0 / 0.5376 GB, free: 81.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004329/0.6297, allocations: 182.8 kB / 0.5378 GB, free: 81.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.6298, allocations: 38.73 kB / 0.5378 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6298, allocations: 384 / 0.5378 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6298, allocations: 2.594 kB / 0.5378 GB, free: 81.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.63, allocations: 20.61 kB / 0.5379 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.63, allocations: 1.906 kB / 0.5379 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.6301, allocations: 9.688 kB / 0.5379 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.6301, allocations: 8.656 kB / 0.5379 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.0001259/0.6303, allocations: 134.3 kB / 0.538 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.6303, allocations: 13.62 kB / 0.538 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.6307, allocations: 127.9 kB / 0.5381 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.6307, allocations: 1.859 kB / 0.5382 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6307, allocations: 0 / 0.5382 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.6308, allocations: 1.516 kB / 0.5382 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.6314, allocations: 431.3 kB / 0.5386 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6314, allocations: 0.75 kB / 0.5386 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.6315, allocations: 9.922 kB / 0.5386 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6315, allocations: 1.031 kB / 0.5386 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6315, allocations: 3.438 kB / 0.5386 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6316, allocations: 0 / 0.5386 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6316, allocations: 2.406 kB / 0.5386 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.6319, allocations: 231.3 kB / 0.5388 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.632, allocations: 101.9 kB / 0.5389 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.6321, allocations: 2.672 kB / 0.5389 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6322, allocations: 7.5 kB / 0.5389 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.6323, allocations: 10.3 kB / 0.5389 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.6323, allocations: 4.094 kB / 0.5389 GB, free: 80.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.6325, allocations: 164.9 kB / 0.5391 GB, free: 80.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6325, allocations: 4 kB / 0.5391 GB, free: 80.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.6329, allocations: 45.23 kB / 0.5391 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.001666/0.6346, allocations: 1.172 MB / 0.5403 GB, free: 79.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.635, allocations: 168 kB / 0.5404 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6351, allocations: 0 / 0.5404 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.6352, allocations: 35.62 kB / 0.5405 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.0003447/0.6356, allocations: 18.11 kB / 0.5405 GB, free: 79.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.6366, allocations: 0.6759 MB / 0.5411 GB, free: 78.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.6368, allocations: 0.7132 MB / 0.5418 GB, free: 77.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.646e-05/0.6369, allocations: 12.89 kB / 0.5419 GB, free: 77.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.637, allocations: 46.14 kB / 0.5419 GB, free: 77.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6371, allocations: 0 / 0.5419 GB, free: 77.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.6656, allocations: 3.199 MB / 0.545 GB, free: 76.97 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.6659, allocations: 212.5 kB / 0.5452 GB, free: 76.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.071, allocations: 3.938 kB / 0.5452 GB, free: 76.73 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat