Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test39",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.01067/0.01067, allocations: 175.9 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.925/1.925, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.001997/0.001997, allocations: 116.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.2664/0.2664, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004579, allocations: 14.34 kB / 406.3 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09751/0.09801, allocations: 54.87 MB / 461.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.2926, allocations: 81.99 MB / 0.5304 GB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.293, allocations: 75.95 kB / 0.5305 GB, free: 1.117 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.316/0.6091, allocations: 4.422 MB / 0.5348 GB, free: 82.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.6091, allocations: 0 / 0.5348 GB, free: 82.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.6091, allocations: 5.219 kB / 0.5348 GB, free: 82.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006058/0.6098, allocations: 469.9 kB / 0.5353 GB, free: 82.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.6098, allocations: 11.78 kB / 0.5353 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.6099, allocations: 36.3 kB / 0.5353 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.6099, allocations: 10.17 kB / 0.5353 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.6103, allocations: 205.2 kB / 0.5355 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6103, allocations: 2.188 kB / 0.5355 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.6104, allocations: 4.016 kB / 0.5355 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.6105, allocations: 52.16 kB / 0.5356 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6106, allocations: 0 / 0.5356 GB, free: 81.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.6106, allocations: 4.844 kB / 0.5356 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.6106, allocations: 4.906 kB / 0.5356 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.6107, allocations: 21.12 kB / 0.5356 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.611, allocations: 193.8 kB / 0.5358 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.6112, allocations: 54.78 kB / 0.5358 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.6113, allocations: 0 / 0.5358 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.6115, allocations: 72.62 kB / 0.5359 GB, free: 81.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.983e-06/0.6115, allocations: 0 / 0.5359 GB, free: 81.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004461/0.612, allocations: 104.6 kB / 0.536 GB, free: 81.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.612, allocations: 52.16 kB / 0.536 GB, free: 81.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.6123, allocations: 170.5 kB / 0.5362 GB, free: 81.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.6123, allocations: 27.92 kB / 0.5362 GB, free: 81.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.6124, allocations: 97.62 kB / 0.5363 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.6124, allocations: 14.39 kB / 0.5363 GB, free: 81.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.6124, allocations: 8.594 kB / 0.5364 GB, free: 81.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.6125, allocations: 321.4 kB / 0.5367 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.6126, allocations: 37.88 kB / 0.5367 GB, free: 80.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.6128, allocations: 51.81 kB / 0.5367 GB, free: 80.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.613, allocations: 62.17 kB / 0.5368 GB, free: 80.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.613, allocations: 5.094 kB / 0.5368 GB, free: 80.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004194/0.6134, allocations: 162.2 kB / 0.537 GB, free: 80.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.6135, allocations: 40.22 kB / 0.537 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.6135, allocations: 0.5625 kB / 0.537 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6136, allocations: 1.562 kB / 0.537 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.6137, allocations: 10.45 kB / 0.537 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.6137, allocations: 5.453 kB / 0.537 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.6138, allocations: 5.562 kB / 0.537 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.6139, allocations: 8.953 kB / 0.537 GB, free: 80.75 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 (8): * Single equations (assignments): 7 * 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.0001305/0.614, allocations: 125.9 kB / 0.5372 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.614, allocations: 17.62 kB / 0.5372 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.6144, allocations: 93.88 kB / 0.5373 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6144, allocations: 1.031 kB / 0.5373 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6144, allocations: 0 / 0.5373 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6144, allocations: 8.5 kB / 0.5373 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.6146, allocations: 188.3 kB / 0.5374 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6146, allocations: 384 / 0.5374 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.6147, allocations: 5.938 kB / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.6147, allocations: 4.719 kB / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.6147, allocations: 2.109 kB / 0.5375 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6147, allocations: 4 kB / 0.5375 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6148, allocations: 4.641 kB / 0.5375 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.615, allocations: 118 kB / 0.5376 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.6151, allocations: 93.98 kB / 0.5377 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.6152, allocations: 6.609 kB / 0.5377 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.874e-05/0.6153, allocations: 2.953 kB / 0.5377 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.6153, allocations: 4.5 kB / 0.5377 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.6153, allocations: 5.906 kB / 0.5377 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.6155, allocations: 139 kB / 0.5378 GB, free: 80.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6155, allocations: 0 / 0.5378 GB, free: 80.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.6159, allocations: 30.14 kB / 0.5378 GB, free: 80.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001525/0.6174, allocations: 0.9327 MB / 0.5388 GB, free: 79.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.6179, allocations: 150.2 kB / 0.5389 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6179, allocations: 64 / 0.5389 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.6181, allocations: 31.06 kB / 0.5389 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.6184, allocations: 19.77 kB / 0.539 GB, free: 79.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.6193, allocations: 0.6043 MB / 0.5395 GB, free: 78.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.6196, allocations: 0.7008 MB / 0.5402 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.6197, allocations: 13.69 kB / 0.5402 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.6198, allocations: 30.47 kB / 0.5403 GB, free: 78.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6198, allocations: 4 kB / 0.5403 GB, free: 78.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.6451, allocations: 2.668 MB / 0.5429 GB, free: 77.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.6454, allocations: 216.9 kB / 0.5431 GB, free: 77.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.132, allocations: 3.938 kB / 0.5431 GB, free: 77.37 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat