Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test46",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.0104/0.01041, allocations: 176.5 kB / 15.12 MB, free: 5.973 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.998/1.998, 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.002073/0.002073, allocations: 116.7 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.2499/0.2499, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006368/0.0006368, allocations: 14.59 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1115, allocations: 54.88 MB / 461.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.2664, allocations: 82.15 MB / 0.5306 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.2668, allocations: 79.95 kB / 0.5306 GB, free: 0.8438 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.3358/0.6026, allocations: 4.891 MB / 0.5354 GB, free: 82.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6027, allocations: 0 / 0.5354 GB, free: 82.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.6027, allocations: 2.125 kB / 0.5354 GB, free: 82.74 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.0006372/0.6033, allocations: 0.4933 MB / 0.5359 GB, free: 82.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6034, allocations: 9.375 kB / 0.5359 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.685e-05/0.6034, allocations: 32.81 kB / 0.5359 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.6035, allocations: 14.66 kB / 0.536 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.6039, allocations: 217.6 kB / 0.5362 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.6039, allocations: 3.5 kB / 0.5362 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.604, allocations: 8.609 kB / 0.5362 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.6042, allocations: 61.14 kB / 0.5362 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6042, allocations: 1.125 kB / 0.5362 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6042, allocations: 4.656 kB / 0.5362 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6042, allocations: 1.156 kB / 0.5362 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.6044, allocations: 22.7 kB / 0.5363 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.6049, allocations: 328.2 kB / 0.5366 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.6051, allocations: 66.59 kB / 0.5366 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.6052, allocations: 0 / 0.5366 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.6054, allocations: 70.83 kB / 0.5367 GB, free: 81.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.6054, allocations: 4 kB / 0.5367 GB, free: 81.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008727/0.6063, allocations: 199.3 kB / 0.5369 GB, free: 81.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6063, allocations: 53.34 kB / 0.5369 GB, free: 81.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.6067, allocations: 233.3 kB / 0.5372 GB, free: 81.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.6068, allocations: 27.52 kB / 0.5372 GB, free: 81.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.6068, allocations: 114.8 kB / 0.5373 GB, free: 81.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.6069, allocations: 21.97 kB / 0.5373 GB, free: 81.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.6069, allocations: 1.562 kB / 0.5373 GB, free: 81.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.607, allocations: 330.4 kB / 0.5376 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.6071, allocations: 38.5 kB / 0.5377 GB, free: 80.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.6073, allocations: 58.56 kB / 0.5377 GB, free: 80.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.6075, allocations: 79.83 kB / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6075, allocations: 1.125 kB / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004737/0.608, allocations: 183.9 kB / 0.538 GB, free: 80.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.6081, allocations: 35.69 kB / 0.538 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6081, allocations: 4.828 kB / 0.538 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6081, allocations: 5.375 kB / 0.538 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.6083, allocations: 19.59 kB / 0.5381 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6083, allocations: 1.344 kB / 0.5381 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.6084, allocations: 4.922 kB / 0.5381 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.6084, allocations: 6.078 kB / 0.5381 GB, free: 80.76 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.000151/0.6086, allocations: 136.2 kB / 0.5382 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.6086, allocations: 19.42 kB / 0.5382 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.609, allocations: 128 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6091, allocations: 2.25 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6091, allocations: 0.6094 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6091, allocations: 0.5625 kB / 0.5383 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.6098, allocations: 439.6 kB / 0.5388 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6099, allocations: 1.062 kB / 0.5388 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/0.6099, allocations: 14.59 kB / 0.5388 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.61, allocations: 9.156 kB / 0.5388 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.61, allocations: 3.203 kB / 0.5388 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.61, allocations: 4.609 kB / 0.5388 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.61, allocations: 1.688 kB / 0.5388 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.6104, allocations: 230.4 kB / 0.539 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6105, allocations: 101.7 kB / 0.5391 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.6105, allocations: 5.156 kB / 0.5391 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6107, allocations: 7.5 kB / 0.5391 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.6107, allocations: 6.547 kB / 0.5391 GB, free: 79.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.6108, allocations: 3.938 kB / 0.5391 GB, free: 79.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002709/0.611, allocations: 192.6 kB / 0.5393 GB, free: 79.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6111, allocations: 0 / 0.5393 GB, free: 79.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004264/0.6115, allocations: 46.55 kB / 0.5394 GB, free: 79.9 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.001667/0.6132, allocations: 1.162 MB / 0.5405 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.6137, allocations: 175.5 kB / 0.5407 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6137, allocations: 5.281 kB / 0.5407 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6138, allocations: 32.95 kB / 0.5407 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.6142, allocations: 24.17 kB / 0.5407 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.6154, allocations: 0.7183 MB / 0.5414 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.6156, allocations: 0.7252 MB / 0.5421 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.853e-05/0.6158, allocations: 22.94 kB / 0.5421 GB, free: 77.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6159, allocations: 38.08 kB / 0.5422 GB, free: 77.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6159, allocations: 0 / 0.5422 GB, free: 77.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.6467, allocations: 3.416 MB / 0.5455 GB, free: 76.5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.647, allocations: 212.5 kB / 0.5457 GB, free: 76.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.097, allocations: 0 / 0.5457 GB, free: 76.26 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat