Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.257/2.257, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006076/0.0006075, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3685, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.5197, allocations: 82.15 MB / 451.5 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.52, allocations: 75.8 kB / 451.6 MB, free: 8.371 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.0213/0.5413, allocations: 4.653 MB / 456.2 MB, free: 3.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5414, allocations: 0 / 456.2 MB, free: 3.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.5414, allocations: 4 kB / 456.2 MB, free: 3.707 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.0007108/0.5421, allocations: 482 kB / 456.7 MB, free: 3.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5422, allocations: 8.031 kB / 456.7 MB, free: 3.168 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.5423, allocations: 38.56 kB / 456.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/0.5423, allocations: 15.89 kB / 456.8 MB, free: 3.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.5427, allocations: 202.9 kB / 457 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.5428, allocations: 7.984 kB / 457 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.5428, allocations: 4 kB / 457 MB, free: 2.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.543, allocations: 57.67 kB / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5431, allocations: 0 / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.5431, allocations: 3.953 kB / 457 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.5431, allocations: 0 / 457 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.5432, allocations: 23.92 kB / 457.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.5438, allocations: 324.7 kB / 457.4 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.5441, allocations: 58.69 kB / 457.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.5441, allocations: 0 / 457.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.5443, allocations: 76.11 kB / 457.5 MB, free: 2.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.5443, allocations: 7.938 kB / 457.5 MB, free: 2.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008439/0.5452, allocations: 185.2 kB / 457.7 MB, free: 2.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.5452, allocations: 51.41 kB / 457.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.5455, allocations: 186.4 kB / 457.9 MB, free: 1.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.5456, allocations: 29.7 kB / 458 MB, free: 1.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.5457, allocations: 158.6 kB / 458.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.5457, allocations: 23.7 kB / 458.1 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.5457, allocations: 8 kB / 458.2 MB, free: 1.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5459, allocations: 314.8 kB / 458.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.546, allocations: 39.98 kB / 458.5 MB, free: 1.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.5462, allocations: 53.62 kB / 458.6 MB, free: 1.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.5464, allocations: 77.69 kB / 458.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5464, allocations: 0 / 458.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000466/0.5469, allocations: 175.2 kB / 458.8 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.912e-05/0.547, allocations: 41.69 kB / 458.8 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.547, allocations: 4.031 kB / 458.8 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.547, allocations: 4 kB / 458.9 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.5472, allocations: 19.92 kB / 458.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5472, allocations: 0 / 458.9 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.5473, allocations: 4 kB / 458.9 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.5473, allocations: 12 kB / 458.9 MB, free: 0.7969 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.0001533/0.5475, allocations: 125.8 kB / 459 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.5476, allocations: 11.86 kB / 459 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.548, allocations: 131 kB / 459.1 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.548, allocations: 4 kB / 459.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.548, allocations: 0 / 459.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.548, allocations: 0 / 459.2 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007278/0.5488, allocations: 419.5 kB / 459.6 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5488, allocations: 0 / 459.6 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.5489, allocations: 23.92 kB / 459.6 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.5489, allocations: 4.031 kB / 459.6 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.549, allocations: 4 kB / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.549, allocations: 0 / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.549, allocations: 0 / 459.6 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.5494, allocations: 226 kB / 459.8 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5495, allocations: 100.9 kB / 459.9 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.5496, allocations: 11.98 kB / 459.9 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5497, allocations: 4 kB / 459.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.5498, allocations: 7.938 kB / 459.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5498, allocations: 3.984 kB / 459.9 MB, free: 15.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.55, allocations: 147.9 kB / 460.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.55, allocations: 0 / 460.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.5504, allocations: 39.94 kB / 460.1 MB, free: 15.43 MB / 394.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.001927/0.5524, allocations: 1.173 MB / 461.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.5528, allocations: 167.3 kB / 461.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5529, allocations: 4.062 kB / 461.5 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.553, allocations: 31.98 kB / 461.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.5534, allocations: 28.06 kB / 461.5 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.5545, allocations: 0.6632 MB / 462.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.5549, allocations: 0.7121 MB / 462.9 MB, free: 12.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.555, allocations: 43.36 kB / 462.9 MB, free: 12.56 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.555, allocations: 0 / 462.9 MB, free: 12.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.565/3.12, allocations: 2.483 MB / 465.4 MB, free: 10.08 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat