Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test74",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.0102/0.0102, 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 1.904/1.904, 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.001978/0.001977, allocations: 120.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.2351/0.2351, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.000481, allocations: 16.44 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09615, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.2904, allocations: 82.26 MB / 0.5307 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.2908, allocations: 75.97 kB / 0.5307 GB, free: 0.7422 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.3153/0.6061, allocations: 7.109 MB / 0.5377 GB, free: 82.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6061, allocations: 4 kB / 0.5377 GB, free: 82.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.539e-05/0.6061, allocations: 3.656 kB / 0.5377 GB, free: 82.63 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.0009248/0.6071, allocations: 0.6807 MB / 0.5384 GB, free: 82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6071, allocations: 9.25 kB / 0.5384 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.6072, allocations: 34.69 kB / 0.5384 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.6073, allocations: 35.44 kB / 0.5384 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.6079, allocations: 287.9 kB / 0.5387 GB, free: 81.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.6079, allocations: 13.56 kB / 0.5387 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.608, allocations: 12.89 kB / 0.5387 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.6083, allocations: 100.5 kB / 0.5388 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6083, allocations: 0 / 0.5388 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.6083, allocations: 7.688 kB / 0.5388 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.6083, allocations: 1.438 kB / 0.5388 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.6085, allocations: 42.2 kB / 0.5389 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007948/0.6094, allocations: 0.5248 MB / 0.5394 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.6098, allocations: 120.7 kB / 0.5395 GB, free: 81.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.6099, allocations: 11.03 kB / 0.5395 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.6102, allocations: 113.5 kB / 0.5396 GB, free: 81.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/0.6102, allocations: 0 / 0.5396 GB, free: 81.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001554/0.6117, allocations: 398.3 kB / 0.54 GB, free: 81.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.6118, allocations: 83.33 kB / 0.5401 GB, free: 80.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.6126, allocations: 429.2 kB / 0.5405 GB, free: 80.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.6127, allocations: 33.45 kB / 0.5405 GB, free: 80.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.6129, allocations: 160.8 kB / 0.5407 GB, free: 80.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.6129, allocations: 46.14 kB / 0.5407 GB, free: 80.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.613, allocations: 5.781 kB / 0.5407 GB, free: 80.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.6131, allocations: 349.1 kB / 0.5411 GB, free: 80.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.6134, allocations: 76.28 kB / 0.5411 GB, free: 80.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.6137, allocations: 112.8 kB / 0.5412 GB, free: 80.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.614, allocations: 147.1 kB / 0.5414 GB, free: 80.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6141, allocations: 0 / 0.5414 GB, free: 80.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009075/0.615, allocations: 341.4 kB / 0.5417 GB, free: 80.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.6151, allocations: 68.14 kB / 0.5418 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6151, allocations: 5.375 kB / 0.5418 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.6151, allocations: 2.25 kB / 0.5418 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.6154, allocations: 31.73 kB / 0.5418 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.6154, allocations: 1.25 kB / 0.5418 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.6156, allocations: 15.06 kB / 0.5418 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.6157, allocations: 12.75 kB / 0.5418 GB, free: 80.09 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.000264/0.6159, allocations: 175.8 kB / 0.542 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.312e-05/0.616, allocations: 31.25 kB / 0.542 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007001/0.6167, allocations: 233.8 kB / 0.5423 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.6167, allocations: 2.75 kB / 0.5423 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6168, allocations: 0 / 0.5423 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6168, allocations: 1.375 kB / 0.5423 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6181, allocations: 0.7055 MB / 0.543 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.6181, allocations: 5.375 kB / 0.543 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.6182, allocations: 23.23 kB / 0.543 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.6182, allocations: 5.312 kB / 0.543 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.6183, allocations: 6.062 kB / 0.543 GB, free: 79.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.6183, allocations: 5.312 kB / 0.543 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6183, allocations: 5.312 kB / 0.543 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.6189, allocations: 427.1 kB / 0.5434 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.6191, allocations: 140.3 kB / 0.5435 GB, free: 78.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.6192, allocations: 2.75 kB / 0.5435 GB, free: 78.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.6195, allocations: 16.73 kB / 0.5436 GB, free: 78.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.6195, allocations: 16.17 kB / 0.5436 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.6196, allocations: 8.688 kB / 0.5436 GB, free: 78.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005357/0.6201, allocations: 343.8 kB / 0.5439 GB, free: 78.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6201, allocations: 0 / 0.5439 GB, free: 78.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006076/0.6207, allocations: 91.52 kB / 0.544 GB, free: 78.76 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.002576/0.6233, allocations: 1.722 MB / 0.5457 GB, free: 77.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.6241, allocations: 335.3 kB / 0.546 GB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6241, allocations: 1.281 kB / 0.546 GB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.6243, allocations: 71.09 kB / 0.5461 GB, free: 77.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.6249, allocations: 51.92 kB / 0.5461 GB, free: 77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.6268, allocations: 1.415 MB / 0.5475 GB, free: 75.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.6271, allocations: 0.7773 MB / 0.5483 GB, free: 75.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.6273, allocations: 43.06 kB / 0.5483 GB, free: 75.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.6275, allocations: 87.84 kB / 0.5484 GB, free: 74.96 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6275, allocations: 0 / 0.5484 GB, free: 74.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.6591, allocations: 6.272 MB / 0.5545 GB, free: 71.22 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.6593, allocations: 209.9 kB / 0.5547 GB, free: 70.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.256, allocations: 0 / 0.5547 GB, free: 70.98 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat