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.Test5.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.433/2.433, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.468e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3674, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.5164, allocations: 81.43 MB / 439.6 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5168, allocations: 75.95 kB / 439.6 MB, free: 13.31 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02227/0.5391, allocations: 5.103 MB / 444.7 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5391, allocations: 0 / 444.7 MB, free: 8.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5391, allocations: 0 / 444.7 MB, free: 8.199 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006354/0.5398, allocations: 477.5 kB / 445.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5398, allocations: 12.03 kB / 445.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.5399, allocations: 19.81 kB / 445.2 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.5403, allocations: 222.7 kB / 445.5 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.5404, allocations: 0 / 445.5 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.5404, allocations: 8 kB / 445.5 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001496/0.5406, allocations: 39.98 kB / 445.5 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5407, allocations: 65.56 kB / 445.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5408, allocations: 0 / 445.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.5408, allocations: 0 / 445.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.5408, allocations: 11.92 kB / 445.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.5414, allocations: 321.4 kB / 445.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.5416, allocations: 70.84 kB / 446 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.055e-05/0.5417, allocations: 28.78 kB / 446 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.5417, allocations: 3.953 kB / 446 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.5419, allocations: 75.39 kB / 446.1 MB, free: 6.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.5419, allocations: 0 / 446.1 MB, free: 6.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007656/0.5427, allocations: 209.7 kB / 446.3 MB, free: 6.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.5427, allocations: 55.39 kB / 446.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.5431, allocations: 217.6 kB / 446.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.5431, allocations: 29.7 kB / 446.6 MB, free: 6.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.5432, allocations: 170.5 kB / 446.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.5433, allocations: 35.55 kB / 446.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.5433, allocations: 4 kB / 446.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5434, allocations: 314.8 kB / 447.1 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.5436, allocations: 51.92 kB / 447.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5437, allocations: 55.12 kB / 447.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.5439, allocations: 53.17 kB / 447.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5439, allocations: 0 / 447.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004377/0.5444, allocations: 175.5 kB / 447.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.5444, allocations: 37.73 kB / 447.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5444, allocations: 0 / 447.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5445, allocations: 4 kB / 447.4 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.5447, allocations: 19.98 kB / 447.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5447, allocations: 240 / 447.5 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.5448, allocations: 4 kB / 447.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.5448, allocations: 11.98 kB / 447.5 MB, free: 5.234 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001001/0.545, allocations: 116.9 kB / 447.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002955/0.5453, allocations: 125.4 kB / 447.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.5453, allocations: 19.81 kB / 447.7 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.5458, allocations: 151.5 kB / 447.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.5458, allocations: 4 kB / 447.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5458, allocations: 0 / 447.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5458, allocations: 0 / 447.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009423/0.5468, allocations: 455.7 kB / 448.3 MB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5468, allocations: 8.031 kB / 448.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5469, allocations: 12 kB / 448.4 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.5469, allocations: 4 kB / 448.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.547, allocations: 3.984 kB / 448.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.547, allocations: 0 / 448.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.547, allocations: 4 kB / 448.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.5474, allocations: 249.8 kB / 448.6 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.5475, allocations: 116.8 kB / 448.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.5476, allocations: 4 kB / 448.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.5477, allocations: 0 / 448.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.5478, allocations: 15.97 kB / 448.7 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.5478, allocations: 19.92 kB / 448.8 MB, free: 3.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002324/0.5481, allocations: 163.2 kB / 448.9 MB, free: 3.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5481, allocations: 0 / 448.9 MB, free: 3.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.5485, allocations: 51.94 kB / 449 MB, free: 3.629 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001673/0.5502, allocations: 1.123 MB / 450.1 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.5507, allocations: 187.3 kB / 450.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5507, allocations: 0 / 450.3 MB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.5508, allocations: 40 kB / 450.3 MB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.5512, allocations: 24.92 kB / 450.3 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009559/0.5522, allocations: 330.5 kB / 450.7 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5526, allocations: 0.7275 MB / 451.4 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.5527, allocations: 55.34 kB / 451.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5527, allocations: 0 / 451.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.563/3.115, allocations: 3.038 MB / 454.5 MB, free: 14.05 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat