Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test14",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.01354/0.01355, 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.151/2.151, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001992/0.001991, allocations: 116.7 kB / 255.6 MB, free: 10.24 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.289/0.289, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005411/0.000541, allocations: 16.17 kB / 406.3 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1164, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.5863, allocations: 83.48 MB / 0.5319 GB, free: 25.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/0.5867, allocations: 77.28 kB / 0.5319 GB, free: 25.55 MB / 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.02425/0.611, allocations: 4.191 MB / 0.536 GB, free: 25.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.611, allocations: 0 / 0.536 GB, free: 25.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.6111, allocations: 1.969 kB / 0.536 GB, free: 25.04 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001527/0.6126, allocations: 0.6211 MB / 0.5366 GB, free: 24.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.6127, allocations: 13.38 kB / 0.5366 GB, free: 24.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.6128, allocations: 43.06 kB / 0.5367 GB, free: 24.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.165e-05/0.6129, allocations: 17.25 kB / 0.5367 GB, free: 24.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.6134, allocations: 226.2 kB / 0.5369 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.6134, allocations: 8.594 kB / 0.5369 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.6135, allocations: 8.328 kB / 0.5369 GB, free: 24.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/0.6143, allocations: 143.8 kB / 0.5371 GB, free: 24.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6144, allocations: 1.438 kB / 0.5371 GB, free: 24.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.6144, allocations: 9.984 kB / 0.5371 GB, free: 24.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6144, allocations: 1.984 kB / 0.5371 GB, free: 24.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.6155, allocations: 135.6 kB / 0.5372 GB, free: 24.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.6169, allocations: 443 kB / 0.5376 GB, free: 23.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.6183, allocations: 196.7 kB / 0.5378 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.6184, allocations: 5.375 kB / 0.5378 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007751/0.6192, allocations: 154.7 kB / 0.538 GB, free: 23.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 3.306e-06/0.6192, allocations: 4 kB / 0.538 GB, free: 23.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.002052/0.6213, allocations: 297.7 kB / 0.5383 GB, free: 23.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.6213, allocations: 53.56 kB / 0.5383 GB, free: 23.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003615/0.6217, allocations: 200.4 kB / 0.5385 GB, free: 23.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.6218, allocations: 31.61 kB / 0.5385 GB, free: 23.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.6219, allocations: 114.6 kB / 0.5386 GB, free: 23.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.622, allocations: 32.53 kB / 0.5387 GB, free: 23.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.622, allocations: 2.219 kB / 0.5387 GB, free: 23.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.6221, allocations: 328.4 kB / 0.539 GB, free: 23.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/0.6228, allocations: 97.16 kB / 0.5391 GB, free: 23.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006977/0.6235, allocations: 124 kB / 0.5392 GB, free: 23.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.6243, allocations: 159.4 kB / 0.5394 GB, free: 23.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6243, allocations: 0 / 0.5394 GB, free: 23.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001677/0.626, allocations: 343.8 kB / 0.5397 GB, free: 22.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.6261, allocations: 66.78 kB / 0.5398 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.6261, allocations: 0.8438 kB / 0.5398 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.6261, allocations: 6.141 kB / 0.5398 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.6266, allocations: 36.92 kB / 0.5398 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6266, allocations: 1.031 kB / 0.5398 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.6271, allocations: 43.95 kB / 0.5398 GB, free: 22.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.6272, allocations: 7.109 kB / 0.5398 GB, free: 22.82 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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * 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.0001983/0.6274, allocations: 135.3 kB / 0.54 GB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.6275, allocations: 15.53 kB / 0.54 GB, free: 22.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.629, allocations: 232.9 kB / 0.5402 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.629, allocations: 6.25 kB / 0.5402 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.629, allocations: 3.953 kB / 0.5402 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.629, allocations: 5.109 kB / 0.5402 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.6294, allocations: 236.5 kB / 0.5404 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6294, allocations: 4.969 kB / 0.5405 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.6298, allocations: 33.47 kB / 0.5405 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.6298, allocations: 1.156 kB / 0.5405 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.6299, allocations: 6.484 kB / 0.5405 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6299, allocations: 5.25 kB / 0.5405 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6299, allocations: 0 / 0.5405 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.6321, allocations: 355.4 kB / 0.5408 GB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.6323, allocations: 107.1 kB / 0.5409 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.388e-05/0.6324, allocations: 4.516 kB / 0.5409 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.6329, allocations: 29.02 kB / 0.541 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.6331, allocations: 19.94 kB / 0.541 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.6331, allocations: 4.938 kB / 0.541 GB, free: 22.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.6334, allocations: 160.5 kB / 0.5411 GB, free: 22.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.883e-06/0.6334, allocations: 0 / 0.5411 GB, free: 22.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000773/0.6342, allocations: 58.8 kB / 0.5412 GB, free: 22.15 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.003941/0.6382, allocations: 1.172 MB / 0.5423 GB, free: 21.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.6399, allocations: 346.5 kB / 0.5427 GB, free: 21.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6399, allocations: 0 / 0.5427 GB, free: 21.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006792/0.6406, allocations: 96.8 kB / 0.5428 GB, free: 21.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.6412, allocations: 46.75 kB / 0.5428 GB, free: 21.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.643, allocations: 0.9023 MB / 0.5437 GB, free: 20.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.6433, allocations: 0.7234 MB / 0.5444 GB, free: 19.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.6436, allocations: 14.73 kB / 0.5444 GB, free: 19.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.6438, allocations: 55.88 kB / 0.5445 GB, free: 19.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6438, allocations: 0 / 0.5445 GB, free: 19.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.6722, allocations: 4.186 MB / 0.5486 GB, free: 19.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.6724, allocations: 211.5 kB / 0.5488 GB, free: 19.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.251, allocations: 4 kB / 0.5488 GB, free: 19.01 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat