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.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006177/0.0006177, allocations: 20 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4083, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5632, allocations: 82.89 MB / 452.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5636, allocations: 79.89 kB / 452.3 MB, free: 7.645 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01901/0.5826, allocations: 3.604 MB / 455.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.5827, allocations: 0 / 455.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.5827, allocations: 4 kB / 455.9 MB, free: 4.023 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001049/0.5838, allocations: 0.5193 MB / 456.5 MB, free: 3.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.5839, allocations: 12.03 kB / 456.5 MB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.695e-05/0.584, allocations: 42.45 kB / 456.5 MB, free: 3.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.88e-05/0.5841, allocations: 23.8 kB / 456.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.5846, allocations: 211.6 kB / 456.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.5846, allocations: 4 kB / 456.7 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.5847, allocations: 8 kB / 456.8 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.5851, allocations: 81.64 kB / 456.8 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5851, allocations: 3.984 kB / 456.8 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.5852, allocations: 7.953 kB / 456.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.5852, allocations: 8 kB / 456.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.5856, allocations: 47.91 kB / 456.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000977/0.5866, allocations: 368.6 kB / 457.3 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.5872, allocations: 102.5 kB / 457.4 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.5873, allocations: 4 kB / 457.4 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003756/0.5877, allocations: 87.38 kB / 457.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.466e-06/0.5877, allocations: 0 / 457.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008446/0.5886, allocations: 153.7 kB / 457.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.5886, allocations: 55.41 kB / 457.7 MB, free: 2.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.5889, allocations: 154.6 kB / 457.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.589, allocations: 37.58 kB / 457.8 MB, free: 1.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5891, allocations: 170.5 kB / 458 MB, free: 1.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.5892, allocations: 31.64 kB / 458 MB, free: 1.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.5893, allocations: 0 / 458 MB, free: 1.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5894, allocations: 322.8 kB / 458.4 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.5897, allocations: 39.98 kB / 458.4 MB, free: 1.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.59, allocations: 70.53 kB / 458.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.5904, allocations: 85.81 kB / 458.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5904, allocations: 0 / 458.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007538/0.5911, allocations: 203.3 kB / 458.7 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.5912, allocations: 39.72 kB / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5913, allocations: 8 kB / 458.8 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5913, allocations: 0 / 458.8 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.5916, allocations: 27.92 kB / 458.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5916, allocations: 0 / 458.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.5918, allocations: 19.84 kB / 458.8 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.5918, allocations: 4 kB / 458.8 MB, free: 0.8477 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001874/0.592, allocations: 127.8 kB / 459 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.5921, allocations: 15.86 kB / 459 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.5927, allocations: 139 kB / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5927, allocations: 0 / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5927, allocations: 0 / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5928, allocations: 0 / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.5931, allocations: 217.6 kB / 459.3 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5931, allocations: 0 / 459.3 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.5933, allocations: 19.92 kB / 459.3 MB, free: 284 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.5933, allocations: 8 kB / 459.4 MB, free: 276 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.5934, allocations: 7.953 kB / 459.4 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5934, allocations: 0 / 459.4 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5934, allocations: 0 / 459.4 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.5942, allocations: 201 kB / 459.6 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.5944, allocations: 101 kB / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.5945, allocations: 4 kB / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5946, allocations: 11.94 kB / 459.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.5947, allocations: 4 kB / 459.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.5947, allocations: 11.98 kB / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.5949, allocations: 124.9 kB / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.595, allocations: 0 / 459.8 MB, free: 15.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005473/0.5955, allocations: 39.94 kB / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002729/0.5983, allocations: 1.037 MB / 460.9 MB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007248/0.599, allocations: 183.3 kB / 461.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.5991, allocations: 4.125 kB / 461.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.5993, allocations: 47.91 kB / 461.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.5998, allocations: 23.94 kB / 461.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.6015, allocations: 0.8571 MB / 462 MB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.602, allocations: 0.7125 MB / 462.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.6021, allocations: 39.42 kB / 462.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6021, allocations: 0 / 462.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.741/3.343, allocations: 2.597 MB / 465.3 MB, free: 10.19 MB / 394.7 MB