Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test47",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.01003/0.01003, allocations: 174 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.867/1.867, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.00202/0.002019, allocations: 124.5 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.2727/0.2727, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006633/0.0006633, allocations: 12.44 kB / 406.3 MB, free: 51.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1251, allocations: 54.89 MB / 461.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.279, allocations: 82.16 MB / 0.5306 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.2794, allocations: 75.91 kB / 0.5307 GB, free: 0.8242 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. Notification: Performance of FrontEnd - DAE generated: time 0.3475/0.6269, allocations: 4.892 MB / 0.5354 GB, free: 83.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6269, allocations: 1.719 kB / 0.5354 GB, free: 83.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.627, allocations: 6 kB / 0.5354 GB, free: 83.06 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006073/0.6276, allocations: 0.491 MB / 0.5359 GB, free: 82.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.6276, allocations: 8.062 kB / 0.5359 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.6277, allocations: 37.25 kB / 0.536 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.6278, allocations: 16.03 kB / 0.536 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.6281, allocations: 216.2 kB / 0.5362 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.6282, allocations: 6.219 kB / 0.5362 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.6282, allocations: 5.625 kB / 0.5362 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.6284, allocations: 63.17 kB / 0.5363 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6284, allocations: 1.281 kB / 0.5363 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.6284, allocations: 4.516 kB / 0.5363 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6284, allocations: 1.25 kB / 0.5363 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.6286, allocations: 22.48 kB / 0.5363 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.6291, allocations: 331.4 kB / 0.5366 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.6293, allocations: 66.61 kB / 0.5367 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.6293, allocations: 1.125 kB / 0.5367 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.6295, allocations: 70.86 kB / 0.5367 GB, free: 81.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.6296, allocations: 1.219 kB / 0.5367 GB, free: 81.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008066/0.6304, allocations: 198 kB / 0.5369 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.6304, allocations: 52.86 kB / 0.537 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.6308, allocations: 234.3 kB / 0.5372 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.6308, allocations: 27.95 kB / 0.5372 GB, free: 81.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.6309, allocations: 113.3 kB / 0.5373 GB, free: 81.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.6309, allocations: 22.78 kB / 0.5373 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.631, allocations: 5.062 kB / 0.5374 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.631, allocations: 324 kB / 0.5377 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.6312, allocations: 41.59 kB / 0.5377 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.6314, allocations: 54.88 kB / 0.5378 GB, free: 81.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.6315, allocations: 77.33 kB / 0.5378 GB, free: 81.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6316, allocations: 1.375 kB / 0.5378 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000445/0.632, allocations: 183.4 kB / 0.538 GB, free: 81.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.6321, allocations: 34.33 kB / 0.538 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6321, allocations: 1.125 kB / 0.538 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6321, allocations: 10.2 kB / 0.538 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.6323, allocations: 18.28 kB / 0.5381 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.6323, allocations: 1.844 kB / 0.5381 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.904e-05/0.6324, allocations: 6.516 kB / 0.5381 GB, free: 81.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.6324, allocations: 4.531 kB / 0.5381 GB, free: 81.08 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 (11): * Single equations (assignments): 10 * 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.0001332/0.6326, allocations: 134.5 kB / 0.5382 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.6326, allocations: 18.55 kB / 0.5382 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.633, allocations: 135.9 kB / 0.5384 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.633, allocations: 1.469 kB / 0.5384 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.633, allocations: 0 / 0.5384 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.633, allocations: 0.5156 kB / 0.5384 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.6337, allocations: 440.6 kB / 0.5388 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.6338, allocations: 1.25 kB / 0.5388 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.6338, allocations: 18.16 kB / 0.5388 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.6339, allocations: 1.406 kB / 0.5388 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.6339, allocations: 5.953 kB / 0.5388 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.6339, allocations: 5.25 kB / 0.5388 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6339, allocations: 0.7031 kB / 0.5388 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.6343, allocations: 229.3 kB / 0.539 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6344, allocations: 102.8 kB / 0.5391 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.6344, allocations: 1.984 kB / 0.5391 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.6346, allocations: 11.84 kB / 0.5391 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.6346, allocations: 6.5 kB / 0.5391 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.6346, allocations: 4.203 kB / 0.5391 GB, free: 80.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002578/0.6349, allocations: 191.3 kB / 0.5393 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6349, allocations: 0 / 0.5393 GB, free: 80.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004096/0.6353, allocations: 48.19 kB / 0.5394 GB, free: 80.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001666/0.637, allocations: 1.159 MB / 0.5405 GB, free: 79.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.6375, allocations: 172.1 kB / 0.5407 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6375, allocations: 0 / 0.5407 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6376, allocations: 41.39 kB / 0.5407 GB, free: 79.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.638, allocations: 22.41 kB / 0.5407 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.6391, allocations: 0.7206 MB / 0.5414 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.6394, allocations: 0.7309 MB / 0.5421 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.224e-05/0.6395, allocations: 16.23 kB / 0.5422 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6396, allocations: 41.14 kB / 0.5422 GB, free: 77.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.394e-06/0.6396, allocations: 0 / 0.5422 GB, free: 77.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.6628, allocations: 3.416 MB / 0.5455 GB, free: 76.81 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.6631, allocations: 216.3 kB / 0.5457 GB, free: 76.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.221, allocations: 0 / 0.5457 GB, free: 76.57 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat