Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test7",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.01405/0.01405, allocations: 173.9 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 2.167/2.167, allocations: 194.5 MB / 210.3 MB, free: 8.793 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.002078/0.002078, allocations: 120.6 kB / 255.6 MB, free: 11.4 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.2762/0.2762, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007256/0.0007257, allocations: 14.91 kB / 406.3 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1037, allocations: 54.88 MB / 461.2 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.2713, allocations: 82.15 MB / 0.5306 GB, free: 1.074 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.2718, allocations: 71.97 kB / 0.5306 GB, free: 1.004 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.3365/0.6083, allocations: 4.844 MB / 0.5354 GB, free: 82.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6083, allocations: 0 / 0.5354 GB, free: 82.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.6084, allocations: 6.719 kB / 0.5354 GB, free: 82.93 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.0006594/0.609, allocations: 0.4908 MB / 0.5359 GB, free: 82.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6091, allocations: 9.516 kB / 0.5359 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.6092, allocations: 36.41 kB / 0.5359 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.6092, allocations: 11.22 kB / 0.5359 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.6096, allocations: 223.6 kB / 0.5361 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.6096, allocations: 3.344 kB / 0.5361 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.6097, allocations: 5.078 kB / 0.5361 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.6099, allocations: 61.36 kB / 0.5362 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6099, allocations: 2.141 kB / 0.5362 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.61, allocations: 3.953 kB / 0.5362 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.61, allocations: 1.562 kB / 0.5362 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.6101, allocations: 24.5 kB / 0.5362 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.6107, allocations: 320.1 kB / 0.5365 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.611, allocations: 59.81 kB / 0.5366 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.611, allocations: 1.031 kB / 0.5366 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.6112, allocations: 78.8 kB / 0.5367 GB, free: 81.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.6112, allocations: 1.188 kB / 0.5367 GB, free: 81.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008556/0.6121, allocations: 196.4 kB / 0.5368 GB, free: 81.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.6122, allocations: 53.69 kB / 0.5369 GB, free: 81.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.6125, allocations: 216.9 kB / 0.5371 GB, free: 81.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.6126, allocations: 28.11 kB / 0.5371 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.6126, allocations: 110.6 kB / 0.5372 GB, free: 81.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.6127, allocations: 24.62 kB / 0.5373 GB, free: 81.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.6127, allocations: 6 kB / 0.5373 GB, free: 81.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.6128, allocations: 326.2 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.613, allocations: 35.44 kB / 0.5376 GB, free: 81.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.6131, allocations: 61 kB / 0.5377 GB, free: 81.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.6133, allocations: 69.31 kB / 0.5377 GB, free: 81.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6133, allocations: 0.8438 kB / 0.5377 GB, free: 81.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005131/0.6139, allocations: 181.5 kB / 0.5379 GB, free: 81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.877e-05/0.6139, allocations: 39.02 kB / 0.5379 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6139, allocations: 0 / 0.5379 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.614, allocations: 1.188 kB / 0.5379 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.6141, allocations: 19.81 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6141, allocations: 1.188 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.6143, allocations: 13.41 kB / 0.538 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.6143, allocations: 9.688 kB / 0.538 GB, free: 80.96 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.0001502/0.6145, allocations: 134.2 kB / 0.5381 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.6145, allocations: 18.69 kB / 0.5381 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.6149, allocations: 129 kB / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6149, allocations: 1.031 kB / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.615, allocations: 0 / 0.5383 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.615, allocations: 5.859 kB / 0.5383 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.6157, allocations: 427.5 kB / 0.5387 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6157, allocations: 0 / 0.5387 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.6158, allocations: 11.06 kB / 0.5387 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.6158, allocations: 1.469 kB / 0.5387 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.6158, allocations: 4.594 kB / 0.5387 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.6159, allocations: 4.938 kB / 0.5387 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6159, allocations: 2.375 kB / 0.5387 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.6162, allocations: 233.2 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.6164, allocations: 103.1 kB / 0.539 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.6164, allocations: 2.953 kB / 0.539 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.6166, allocations: 7.062 kB / 0.539 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.6166, allocations: 6.031 kB / 0.539 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.6166, allocations: 8.484 kB / 0.539 GB, free: 80.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002504/0.6169, allocations: 177.7 kB / 0.5392 GB, free: 80.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6169, allocations: 3.938 kB / 0.5392 GB, free: 80.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004417/0.6174, allocations: 47.23 kB / 0.5393 GB, free: 80.1 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.002383/0.6198, allocations: 1.164 MB / 0.5404 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.6204, allocations: 168 kB / 0.5406 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.6205, allocations: 0 / 0.5406 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.6207, allocations: 32.31 kB / 0.5406 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.6212, allocations: 18.91 kB / 0.5406 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.6227, allocations: 0.7097 MB / 0.5413 GB, free: 78.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.623, allocations: 0.7143 MB / 0.542 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.6231, allocations: 15.8 kB / 0.542 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.6233, allocations: 42.09 kB / 0.542 GB, free: 77.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6233, allocations: 0 / 0.542 GB, free: 77.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08158/0.7049, allocations: 3.302 MB / 0.5453 GB, free: 76.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.7053, allocations: 214.1 kB / 0.5455 GB, free: 76.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.354, allocations: 3.938 kB / 0.5455 GB, free: 76.58 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat