Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test78",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.009568/0.009568, allocations: 176.1 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.018/2.018, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.002024/0.002024, allocations: 120.7 kB / 255.6 MB, free: 11.2 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.2708/0.2708, allocations: 40 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006269/0.000627, allocations: 12.56 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09797, allocations: 54.87 MB / 461.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.2944, allocations: 82.26 MB / 0.5307 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.2948, allocations: 71.97 kB / 0.5307 GB, free: 0.8555 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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3192/0.614, allocations: 7.11 MB / 0.5377 GB, free: 82.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.614, allocations: 0 / 0.5377 GB, free: 82.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.6141, allocations: 7.406 kB / 0.5377 GB, free: 82.97 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001084/0.6152, allocations: 0.6776 MB / 0.5384 GB, free: 82.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6153, allocations: 9.406 kB / 0.5384 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.672e-05/0.6153, allocations: 36.31 kB / 0.5384 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.6155, allocations: 26.59 kB / 0.5384 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.6161, allocations: 296.2 kB / 0.5387 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.6162, allocations: 9.953 kB / 0.5387 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.6162, allocations: 17.61 kB / 0.5387 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.6166, allocations: 97.92 kB / 0.5388 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6166, allocations: 0 / 0.5388 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.6166, allocations: 2.25 kB / 0.5388 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6166, allocations: 5.844 kB / 0.5388 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.6168, allocations: 49.28 kB / 0.5389 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.6179, allocations: 0.5153 MB / 0.5394 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.6184, allocations: 128.3 kB / 0.5395 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.6185, allocations: 0.9688 kB / 0.5395 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.6189, allocations: 120.5 kB / 0.5396 GB, free: 81.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.565e-06/0.6189, allocations: 0 / 0.5396 GB, free: 81.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001733/0.6206, allocations: 401.8 kB / 0.54 GB, free: 81.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.6207, allocations: 83.41 kB / 0.5401 GB, free: 81.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.6218, allocations: 430.2 kB / 0.5405 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.434e-05/0.6219, allocations: 33.36 kB / 0.5405 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.6221, allocations: 156.8 kB / 0.5407 GB, free: 81.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6222, allocations: 48.31 kB / 0.5407 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.6223, allocations: 5.719 kB / 0.5407 GB, free: 81.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6224, allocations: 348.9 kB / 0.5411 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.6227, allocations: 73.67 kB / 0.5411 GB, free: 80.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.623, allocations: 115.3 kB / 0.5412 GB, free: 80.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.6234, allocations: 151.4 kB / 0.5414 GB, free: 80.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6234, allocations: 1.094 kB / 0.5414 GB, free: 80.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000942/0.6243, allocations: 334.1 kB / 0.5417 GB, free: 80.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.6244, allocations: 69.75 kB / 0.5418 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.6244, allocations: 1.25 kB / 0.5418 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.6245, allocations: 6.688 kB / 0.5418 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.6247, allocations: 33.86 kB / 0.5418 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6248, allocations: 2.375 kB / 0.5418 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.625, allocations: 15.19 kB / 0.5418 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.625, allocations: 11.69 kB / 0.5418 GB, free: 80.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002793/0.6253, allocations: 175.9 kB / 0.542 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.6254, allocations: 32.91 kB / 0.542 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/0.6261, allocations: 228.8 kB / 0.5423 GB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.6261, allocations: 10.34 kB / 0.5423 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6262, allocations: 0 / 0.5423 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6262, allocations: 1.469 kB / 0.5423 GB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.6275, allocations: 0.6953 MB / 0.5429 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.6275, allocations: 5.359 kB / 0.5429 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.6277, allocations: 20.44 kB / 0.543 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6277, allocations: 6.688 kB / 0.543 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.6277, allocations: 10.73 kB / 0.543 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6277, allocations: 2.75 kB / 0.543 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6277, allocations: 1.375 kB / 0.543 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.6284, allocations: 421.5 kB / 0.5434 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.6286, allocations: 149.3 kB / 0.5435 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.6287, allocations: 8.125 kB / 0.5435 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.6289, allocations: 9.5 kB / 0.5435 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.629, allocations: 15.48 kB / 0.5436 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.629, allocations: 10.86 kB / 0.5436 GB, free: 79.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005569/0.6296, allocations: 339.2 kB / 0.5439 GB, free: 78.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6296, allocations: 0 / 0.5439 GB, free: 78.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006409/0.6302, allocations: 94.64 kB / 0.544 GB, free: 78.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002718/0.633, allocations: 1.737 MB / 0.5457 GB, free: 77.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.6338, allocations: 340 kB / 0.546 GB, free: 77.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6339, allocations: 0 / 0.546 GB, free: 77.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.6341, allocations: 67.75 kB / 0.5461 GB, free: 77.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.6348, allocations: 40.67 kB / 0.5461 GB, free: 77.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.6369, allocations: 1.426 MB / 0.5475 GB, free: 75.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.6372, allocations: 0.7771 MB / 0.5483 GB, free: 75.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.6374, allocations: 35.42 kB / 0.5483 GB, free: 75.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.6376, allocations: 86.88 kB / 0.5484 GB, free: 75.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6376, allocations: 0 / 0.5484 GB, free: 75.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.6706, allocations: 6.276 MB / 0.5545 GB, free: 71.41 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.6709, allocations: 217.9 kB / 0.5547 GB, free: 71.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.285, allocations: 4 kB / 0.5547 GB, free: 71.16 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat