Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test3",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.009674/0.009674, allocations: 176.4 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.029/2.029, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002075/0.002075, allocations: 116.6 kB / 255.6 MB, free: 10.24 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.3002/0.3002, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.000492, allocations: 14.84 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 54.88 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.2747, allocations: 82.1 MB / 0.5305 GB, free: 1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.275, allocations: 75.97 kB / 0.5306 GB, free: 0.9258 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.3278/0.6028, allocations: 4.385 MB / 0.5349 GB, free: 82.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6028, allocations: 0 / 0.5349 GB, free: 82.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.6028, allocations: 5.312 kB / 0.5349 GB, free: 82.95 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.000552/0.6034, allocations: 472.8 kB / 0.5353 GB, free: 82.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6035, allocations: 9.125 kB / 0.5353 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.6035, allocations: 36.92 kB / 0.5354 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.6036, allocations: 9.469 kB / 0.5354 GB, free: 82.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.6039, allocations: 201.5 kB / 0.5356 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6039, allocations: 2.562 kB / 0.5356 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.6039, allocations: 3.984 kB / 0.5356 GB, free: 82.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.6041, allocations: 61.08 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6042, allocations: 4 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.6042, allocations: 1.781 kB / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.6042, allocations: 0 / 0.5356 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.6043, allocations: 27.84 kB / 0.5357 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.6048, allocations: 303.5 kB / 0.536 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.6051, allocations: 74.12 kB / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.6051, allocations: 0 / 0.536 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.6053, allocations: 72.86 kB / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.6053, allocations: 1.344 kB / 0.5361 GB, free: 81.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007896/0.6061, allocations: 184.9 kB / 0.5363 GB, free: 81.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.6062, allocations: 53.05 kB / 0.5363 GB, free: 81.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.6063, allocations: 154 kB / 0.5365 GB, free: 81.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.6064, allocations: 28.02 kB / 0.5365 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.6064, allocations: 94.56 kB / 0.5366 GB, free: 81.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.6065, allocations: 27.66 kB / 0.5366 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.6065, allocations: 1.281 kB / 0.5366 GB, free: 81.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.6066, allocations: 324 kB / 0.5369 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.6067, allocations: 34.81 kB / 0.537 GB, free: 81.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.6069, allocations: 55.28 kB / 0.537 GB, free: 81.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.6071, allocations: 83.16 kB / 0.5371 GB, free: 81.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6071, allocations: 0 / 0.5371 GB, free: 81.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000439/0.6075, allocations: 183.6 kB / 0.5373 GB, free: 81.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.6076, allocations: 37.67 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6076, allocations: 1.219 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.6076, allocations: 1.688 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.6078, allocations: 14.98 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6078, allocations: 5.062 kB / 0.5373 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.6079, allocations: 12.97 kB / 0.5373 GB, free: 81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.608, allocations: 6.078 kB / 0.5373 GB, free: 81 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.0001102/0.6081, allocations: 120.5 kB / 0.5375 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.6081, allocations: 13.05 kB / 0.5375 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.6085, allocations: 124.3 kB / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6085, allocations: 1.797 kB / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6086, allocations: 0 / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6086, allocations: 0.6094 kB / 0.5376 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.6092, allocations: 404.7 kB / 0.538 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6092, allocations: 0.5625 kB / 0.538 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.6093, allocations: 10.23 kB / 0.538 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6093, allocations: 5.062 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.6093, allocations: 6.969 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6093, allocations: 0.6562 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6094, allocations: 1.188 kB / 0.538 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.6097, allocations: 230 kB / 0.5382 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.6098, allocations: 94.03 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.6098, allocations: 6.531 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.6099, allocations: 3.844 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.61, allocations: 5.641 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.61, allocations: 4.141 kB / 0.5383 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.6101, allocations: 127.4 kB / 0.5385 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6102, allocations: 0 / 0.5385 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000403/0.6106, allocations: 37.3 kB / 0.5385 GB, free: 80.16 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.001645/0.6122, allocations: 1.159 MB / 0.5396 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.6127, allocations: 169.3 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6127, allocations: 1.25 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.6129, allocations: 30.66 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.6132, allocations: 17.69 kB / 0.5398 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.6141, allocations: 0.6109 MB / 0.5404 GB, free: 78.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.6143, allocations: 0.7059 MB / 0.5411 GB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.6144, allocations: 12.22 kB / 0.5411 GB, free: 77.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.6145, allocations: 26.78 kB / 0.5412 GB, free: 77.88 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6145, allocations: 0 / 0.5412 GB, free: 77.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.644, allocations: 2.845 MB / 0.5439 GB, free: 77.31 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.6444, allocations: 210.4 kB / 0.5441 GB, free: 77.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.094, allocations: 0 / 0.5441 GB, free: 77.07 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat