Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test10",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.01113/0.01113, allocations: 175.9 kB / 15.12 MB, free: 5.984 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.09/2.09, 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.001997/0.001997, 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.2623/0.2623, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007334/0.0007335, allocations: 12.19 kB / 406.3 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1183, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.2727, allocations: 82.9 MB / 0.5313 GB, free: 188 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/0.2731, allocations: 79.95 kB / 0.5314 GB, free: 108 kB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.3351/0.6082, allocations: 3.615 MB / 0.5349 GB, free: 83.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6083, allocations: 0 / 0.5349 GB, free: 83.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.6083, allocations: 11.22 kB / 0.5349 GB, free: 83.17 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007614/0.6091, allocations: 0.5193 MB / 0.5354 GB, free: 82.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6092, allocations: 9.281 kB / 0.5354 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.6092, allocations: 41.81 kB / 0.5355 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.6093, allocations: 15.52 kB / 0.5355 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.6097, allocations: 214 kB / 0.5357 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.6097, allocations: 8.062 kB / 0.5357 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.6098, allocations: 13.69 kB / 0.5357 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.6101, allocations: 84.83 kB / 0.5358 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6101, allocations: 0 / 0.5358 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.6102, allocations: 5.047 kB / 0.5358 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6102, allocations: 1.219 kB / 0.5358 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.6104, allocations: 50.08 kB / 0.5358 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007454/0.6112, allocations: 377.3 kB / 0.5362 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.6117, allocations: 105.1 kB / 0.5363 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.6117, allocations: 1.656 kB / 0.5363 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.612, allocations: 85.67 kB / 0.5364 GB, free: 82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.907e-06/0.6121, allocations: 0 / 0.5364 GB, free: 82 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007049/0.6128, allocations: 160.9 kB / 0.5365 GB, free: 81.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6128, allocations: 53.3 kB / 0.5366 GB, free: 81.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.6131, allocations: 155.5 kB / 0.5367 GB, free: 81.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.6131, allocations: 29.14 kB / 0.5368 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.6132, allocations: 105 kB / 0.5369 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.6132, allocations: 27.75 kB / 0.5369 GB, free: 81.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/0.6133, allocations: 5.531 kB / 0.5369 GB, free: 81.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.481e-05/0.6133, allocations: 326.7 kB / 0.5372 GB, free: 81.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.6136, allocations: 44.7 kB / 0.5373 GB, free: 81.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.6138, allocations: 68.55 kB / 0.5373 GB, free: 81.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.614, allocations: 80.62 kB / 0.5374 GB, free: 81.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.614, allocations: 5.531 kB / 0.5374 GB, free: 81.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005975/0.6146, allocations: 211.3 kB / 0.5376 GB, free: 81.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.6147, allocations: 38.02 kB / 0.5376 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6147, allocations: 9 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.6148, allocations: 2.25 kB / 0.5376 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.615, allocations: 20.34 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.615, allocations: 2.125 kB / 0.5377 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.6151, allocations: 22.31 kB / 0.5377 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.6152, allocations: 8.719 kB / 0.5377 GB, free: 81.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001459/0.6153, allocations: 127.4 kB / 0.5378 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.6154, allocations: 14 kB / 0.5378 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.6159, allocations: 134.8 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6159, allocations: 6.703 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6159, allocations: 0 / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6159, allocations: 0.7969 kB / 0.538 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.6162, allocations: 214.2 kB / 0.5382 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6162, allocations: 0.6562 kB / 0.5382 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.6164, allocations: 13.14 kB / 0.5382 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6164, allocations: 1.031 kB / 0.5382 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.6164, allocations: 9.031 kB / 0.5382 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.6165, allocations: 1.906 kB / 0.5382 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6165, allocations: 0 / 0.5382 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.6171, allocations: 197.3 kB / 0.5384 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.6172, allocations: 98.78 kB / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.6173, allocations: 2.578 kB / 0.5385 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.6174, allocations: 15.8 kB / 0.5385 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.6175, allocations: 10.39 kB / 0.5385 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.6175, allocations: 3.453 kB / 0.5385 GB, free: 80.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.6177, allocations: 130.4 kB / 0.5386 GB, free: 80.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6177, allocations: 0 / 0.5386 GB, free: 80.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.6181, allocations: 42.61 kB / 0.5387 GB, free: 80.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001931/0.6201, allocations: 1.028 MB / 0.5397 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006562/0.6208, allocations: 186.6 kB / 0.5399 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6208, allocations: 1.094 kB / 0.5399 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.621, allocations: 42.8 kB / 0.5399 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.6214, allocations: 33.62 kB / 0.5399 GB, free: 79.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.6226, allocations: 0.8212 MB / 0.5407 GB, free: 78.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.6228, allocations: 0.716 MB / 0.5414 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.623, allocations: 16.88 kB / 0.5415 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.6231, allocations: 42.36 kB / 0.5415 GB, free: 78.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6231, allocations: 0 / 0.5415 GB, free: 78.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.652, allocations: 3.156 MB / 0.5446 GB, free: 77.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.6523, allocations: 215.3 kB / 0.5448 GB, free: 77.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.228, allocations: 0 / 0.5448 GB, free: 77.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat