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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006024/0.0006025, allocations: 15.98 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3698, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.5324, allocations: 82.11 MB / 451.5 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5327, allocations: 71.91 kB / 451.5 MB, free: 8.422 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.01987/0.5526, allocations: 4.387 MB / 455.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5526, allocations: 0 / 455.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.5526, allocations: 4 kB / 455.9 MB, free: 4.02 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.0007285/0.5534, allocations: 481.1 kB / 456.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5534, allocations: 12.03 kB / 456.4 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.5535, allocations: 30.56 kB / 456.4 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.5536, allocations: 11.89 kB / 456.5 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.554, allocations: 202.9 kB / 456.6 MB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.554, allocations: 4 kB / 456.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.554, allocations: 4 kB / 456.7 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.5543, allocations: 61.61 kB / 456.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5543, allocations: 0 / 456.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5543, allocations: 4 kB / 456.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5543, allocations: 0 / 456.7 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5545, allocations: 27.92 kB / 456.7 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.555, allocations: 300.9 kB / 457 MB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.5553, allocations: 66.56 kB / 457.1 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.5553, allocations: 7.984 kB / 457.1 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.5555, allocations: 76.08 kB / 457.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.5555, allocations: 0 / 457.2 MB, free: 2.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000829/0.5564, allocations: 177.2 kB / 457.4 MB, free: 2.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5564, allocations: 51.41 kB / 457.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.5566, allocations: 147.2 kB / 457.6 MB, free: 2.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.5567, allocations: 29.7 kB / 457.6 MB, free: 2.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.5568, allocations: 162.6 kB / 457.7 MB, free: 1.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.5568, allocations: 27.64 kB / 457.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.5568, allocations: 4 kB / 457.8 MB, free: 1.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.557, allocations: 318.8 kB / 458.1 MB, free: 1.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.5571, allocations: 39.97 kB / 458.1 MB, free: 1.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.5573, allocations: 49.7 kB / 458.2 MB, free: 1.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.5575, allocations: 73.69 kB / 458.2 MB, free: 1.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5575, allocations: 4 kB / 458.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004539/0.558, allocations: 183.2 kB / 458.4 MB, free: 1.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.558, allocations: 33.7 kB / 458.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5581, allocations: 0 / 458.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.5581, allocations: 4 kB / 458.5 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5583, allocations: 19.92 kB / 458.5 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5583, allocations: 0 / 458.5 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/0.5584, allocations: 8.375 kB / 458.5 MB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.5584, allocations: 8 kB / 458.5 MB, free: 1.188 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.0001398/0.5586, allocations: 127.1 kB / 458.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.5586, allocations: 11.86 kB / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.559, allocations: 122.3 kB / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.559, allocations: 0 / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.559, allocations: 0 / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5591, allocations: 0 / 458.8 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006875/0.5598, allocations: 419.2 kB / 459.2 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5598, allocations: 0 / 459.2 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.5599, allocations: 11.98 kB / 459.2 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5599, allocations: 3.938 kB / 459.2 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5599, allocations: 4 kB / 459.2 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5599, allocations: 0 / 459.2 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5599, allocations: 0 / 459.2 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.5603, allocations: 225.9 kB / 459.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.5604, allocations: 101 kB / 459.5 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.5605, allocations: 0 / 459.5 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5606, allocations: 4.281 kB / 459.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.5607, allocations: 15.92 kB / 459.5 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.5607, allocations: 4 kB / 459.5 MB, free: 44 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.5609, allocations: 122.6 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5609, allocations: 0 / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003974/0.5613, allocations: 39.94 kB / 459.7 MB, free: 15.89 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.001906/0.5632, allocations: 1.18 MB / 460.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.5637, allocations: 167.3 kB / 461 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5637, allocations: 0 / 461 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.5638, allocations: 31.98 kB / 461.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.5642, allocations: 19.92 kB / 461.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5652, allocations: 0.6264 MB / 461.7 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.5656, allocations: 0.7043 MB / 462.4 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.5657, allocations: 31.42 kB / 462.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5657, allocations: 0 / 462.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.645/3.211, allocations: 2.299 MB / 464.7 MB, free: 10.77 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat