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.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.252/2.252, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004455/0.0004454, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3426, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.4944, allocations: 82.91 MB / 452.3 MB, free: 7.598 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.4948, allocations: 75.89 kB / 452.3 MB, free: 7.523 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.0161/0.5109, allocations: 3.623 MB / 456 MB, free: 3.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.428e-06/0.5109, allocations: 4 kB / 456 MB, free: 3.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.511, allocations: 0 / 456 MB, free: 3.883 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.0008271/0.5118, allocations: 0.5231 MB / 456.5 MB, free: 3.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5119, allocations: 12.03 kB / 456.5 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/0.5119, allocations: 38.52 kB / 456.5 MB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.512, allocations: 15.81 kB / 456.6 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.5124, allocations: 219.5 kB / 456.8 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.5124, allocations: 4 kB / 456.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.5125, allocations: 11.98 kB / 456.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.5128, allocations: 81.59 kB / 456.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5128, allocations: 0 / 456.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.5128, allocations: 11.95 kB / 456.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5128, allocations: 0 / 456.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.5131, allocations: 51.95 kB / 456.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.5138, allocations: 368.6 kB / 457.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.5143, allocations: 106.5 kB / 457.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.5144, allocations: 0 / 457.4 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.5146, allocations: 87.31 kB / 457.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.5147, allocations: 0 / 457.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006283/0.5153, allocations: 153.7 kB / 457.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.5154, allocations: 59.39 kB / 457.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.5156, allocations: 154.6 kB / 457.8 MB, free: 1.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.5156, allocations: 33.64 kB / 457.9 MB, free: 1.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5158, allocations: 174.4 kB / 458 MB, free: 1.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.5158, allocations: 23.7 kB / 458.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.5158, allocations: 4 kB / 458.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.516, allocations: 318.8 kB / 458.4 MB, free: 1.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.5162, allocations: 43.97 kB / 458.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.5164, allocations: 68.58 kB / 458.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.5167, allocations: 85.81 kB / 458.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5167, allocations: 4 kB / 458.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005581/0.5173, allocations: 203.3 kB / 458.8 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.5173, allocations: 37.69 kB / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5173, allocations: 7.875 kB / 458.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5174, allocations: 0 / 458.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.5176, allocations: 28.05 kB / 458.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5176, allocations: 0 / 458.8 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.5177, allocations: 19.84 kB / 458.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5177, allocations: 8 kB / 458.9 MB, free: 0.7031 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.0001463/0.5179, allocations: 125.8 kB / 459 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.5179, allocations: 11.86 kB / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.5184, allocations: 139 kB / 459.1 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5185, allocations: 4 kB / 459.1 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5185, allocations: 0 / 459.1 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.5185, allocations: 0 / 459.1 MB, free: 424 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.5187, allocations: 221.5 kB / 459.4 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5188, allocations: 0 / 459.4 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.5189, allocations: 15.98 kB / 459.4 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.5189, allocations: 0 / 459.4 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.5189, allocations: 7.953 kB / 459.4 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.519, allocations: 4 kB / 459.4 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.519, allocations: 0 / 459.4 MB, free: 124 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.5196, allocations: 201 kB / 459.6 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.5198, allocations: 100.9 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.5198, allocations: 64 / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.5199, allocations: 11.95 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.52, allocations: 11.98 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.52, allocations: 4 kB / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.5202, allocations: 128.9 kB / 459.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5202, allocations: 0 / 459.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.5206, allocations: 39.94 kB / 459.9 MB, free: 15.6 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.001972/0.5225, allocations: 1.041 MB / 460.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.5231, allocations: 187.3 kB / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.5231, allocations: 0 / 461.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.5233, allocations: 48.09 kB / 461.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.5236, allocations: 27.92 kB / 461.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5249, allocations: 0.8532 MB / 462 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.5252, allocations: 0.7164 MB / 462.7 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.5253, allocations: 39.42 kB / 462.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5254, allocations: 0 / 462.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.805/3.331, allocations: 2.592 MB / 465.4 MB, free: 10.05 MB / 394.7 MB