Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test73",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.009645/0.009645, allocations: 177.9 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 1.967/1.967, 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.002096/0.002096, allocations: 120.6 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.2489/0.2489, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 11.56 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09696/0.09844, allocations: 54.88 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.2921, allocations: 82.26 MB / 0.5307 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.2924, allocations: 71.97 kB / 0.5307 GB, free: 0.7305 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.3159/0.6084, allocations: 6.785 MB / 0.5374 GB, free: 82.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6084, allocations: 5.031 kB / 0.5374 GB, free: 82.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.6085, allocations: 2.656 kB / 0.5374 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.0008353/0.6093, allocations: 0.6385 MB / 0.538 GB, free: 82.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6094, allocations: 9.781 kB / 0.538 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.6094, allocations: 36.08 kB / 0.538 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.6095, allocations: 25.14 kB / 0.5381 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.6102, allocations: 262.6 kB / 0.5383 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.6102, allocations: 8.125 kB / 0.5383 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.6103, allocations: 12.77 kB / 0.5383 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002832/0.6106, allocations: 107.5 kB / 0.5384 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.6106, allocations: 3.906 kB / 0.5384 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.6106, allocations: 1.125 kB / 0.5384 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6106, allocations: 2.094 kB / 0.5385 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.6108, allocations: 45.52 kB / 0.5385 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.6116, allocations: 498.4 kB / 0.539 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.612, allocations: 133.5 kB / 0.5391 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.6121, allocations: 1.562 kB / 0.5391 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.6124, allocations: 122.4 kB / 0.5392 GB, free: 81.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.574e-06/0.6124, allocations: 0 / 0.5392 GB, free: 81.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00152/0.6139, allocations: 380.1 kB / 0.5396 GB, free: 81.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.614, allocations: 79.89 kB / 0.5397 GB, free: 81.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.6146, allocations: 311.7 kB / 0.54 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.6147, allocations: 36.98 kB / 0.54 GB, free: 81.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.6148, allocations: 131.9 kB / 0.5401 GB, free: 81.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.6149, allocations: 52.41 kB / 0.5402 GB, free: 81.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.6149, allocations: 5.625 kB / 0.5402 GB, free: 81.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.615, allocations: 340.2 kB / 0.5405 GB, free: 80.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.6153, allocations: 72.39 kB / 0.5406 GB, free: 80.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.6156, allocations: 109.4 kB / 0.5407 GB, free: 80.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.616, allocations: 153.1 kB / 0.5408 GB, free: 80.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.616, allocations: 0 / 0.5408 GB, free: 80.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008981/0.6169, allocations: 336.1 kB / 0.5411 GB, free: 80.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.617, allocations: 67.61 kB / 0.5412 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.617, allocations: 5.094 kB / 0.5412 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.6171, allocations: 1.688 kB / 0.5412 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.6173, allocations: 38.62 kB / 0.5412 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.6173, allocations: 5.375 kB / 0.5412 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.6176, allocations: 10.59 kB / 0.5413 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.6176, allocations: 13.16 kB / 0.5413 GB, free: 80.49 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.0002295/0.6179, allocations: 162.4 kB / 0.5414 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.6179, allocations: 27.41 kB / 0.5414 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.6186, allocations: 216.9 kB / 0.5417 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.6186, allocations: 6.75 kB / 0.5417 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6187, allocations: 1.562 kB / 0.5417 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6187, allocations: 0 / 0.5417 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.6198, allocations: 0.6614 MB / 0.5423 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.6198, allocations: 5.328 kB / 0.5423 GB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.62, allocations: 25.69 kB / 0.5423 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.62, allocations: 9.312 kB / 0.5423 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.62, allocations: 6.172 kB / 0.5424 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.6201, allocations: 2.75 kB / 0.5424 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6201, allocations: 1.375 kB / 0.5424 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.6207, allocations: 415.6 kB / 0.5428 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.6208, allocations: 126.4 kB / 0.5429 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.6209, allocations: 12.08 kB / 0.5429 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.6211, allocations: 12.11 kB / 0.5429 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.6212, allocations: 12.23 kB / 0.5429 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.6212, allocations: 9.5 kB / 0.5429 GB, free: 79.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003795/0.6216, allocations: 249.8 kB / 0.5432 GB, free: 79.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6216, allocations: 0 / 0.5432 GB, free: 79.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006201/0.6223, allocations: 87.98 kB / 0.5432 GB, free: 79.2 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.002623/0.6249, allocations: 1.73 MB / 0.5449 GB, free: 77.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007651/0.6257, allocations: 335.4 kB / 0.5452 GB, free: 77.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6257, allocations: 1.125 kB / 0.5452 GB, free: 77.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.626, allocations: 70.88 kB / 0.5453 GB, free: 77.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.6266, allocations: 36.17 kB / 0.5454 GB, free: 77.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.6282, allocations: 1.261 MB / 0.5466 GB, free: 76.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.6285, allocations: 0.7543 MB / 0.5473 GB, free: 75.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.6287, allocations: 37.81 kB / 0.5474 GB, free: 75.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.6288, allocations: 70.06 kB / 0.5474 GB, free: 75.51 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6288, allocations: 0.6562 kB / 0.5474 GB, free: 75.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.6602, allocations: 5.539 MB / 0.5528 GB, free: 72.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/0.6605, allocations: 217.7 kB / 0.553 GB, free: 72.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.242, allocations: 3.938 kB / 0.553 GB, free: 72.48 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat