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.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000615/0.0006152, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3587, allocations: 54.87 MB / 369.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5037, allocations: 82.9 MB / 452.3 MB, free: 7.617 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5041, allocations: 87.83 kB / 452.3 MB, free: 7.531 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.01665/0.5207, allocations: 3.615 MB / 456 MB, free: 3.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5208, allocations: 0 / 456 MB, free: 3.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.5208, allocations: 7.984 kB / 456 MB, free: 3.895 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.0008105/0.5216, allocations: 0.5193 MB / 456.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5217, allocations: 12.03 kB / 456.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.5218, allocations: 42.5 kB / 456.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.5218, allocations: 19.81 kB / 456.6 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.5223, allocations: 211.5 kB / 456.8 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5223, allocations: 4 kB / 456.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.5223, allocations: 8 kB / 456.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.5226, allocations: 89.58 kB / 456.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5227, allocations: 0 / 456.9 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.5227, allocations: 7.953 kB / 456.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5227, allocations: 4 kB / 456.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.523, allocations: 47.97 kB / 456.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007132/0.5237, allocations: 368.6 kB / 457.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.5242, allocations: 102.5 kB / 457.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.5242, allocations: 0 / 457.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.5245, allocations: 87.38 kB / 457.5 MB, free: 2.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.5246, allocations: 3.938 kB / 457.5 MB, free: 2.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006426/0.5252, allocations: 157.4 kB / 457.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5253, allocations: 55.34 kB / 457.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.5255, allocations: 158.5 kB / 457.8 MB, free: 1.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5255, allocations: 29.7 kB / 457.9 MB, free: 1.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/0.5256, allocations: 170.4 kB / 458 MB, free: 1.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.5257, allocations: 27.84 kB / 458.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.5257, allocations: 8 kB / 458.1 MB, free: 1.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5259, allocations: 314.8 kB / 458.4 MB, free: 1.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.5261, allocations: 43.98 kB / 458.4 MB, free: 1.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.5263, allocations: 78.53 kB / 458.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.5265, allocations: 81.81 kB / 458.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5266, allocations: 0 / 458.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005606/0.5271, allocations: 199.3 kB / 458.8 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.5272, allocations: 43.78 kB / 458.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5272, allocations: 7.938 kB / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5273, allocations: 0 / 458.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.5274, allocations: 23.92 kB / 458.8 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5275, allocations: 4 kB / 458.8 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.5276, allocations: 15.84 kB / 458.9 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.5276, allocations: 11.98 kB / 458.9 MB, free: 0.7148 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.0001464/0.5278, allocations: 121.8 kB / 459 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.5278, allocations: 15.86 kB / 459 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.5283, allocations: 135 kB / 459.1 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5283, allocations: 4 kB / 459.1 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5284, allocations: 0 / 459.1 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5284, allocations: 0 / 459.1 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.5286, allocations: 213.5 kB / 459.4 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5286, allocations: 4 kB / 459.4 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.5288, allocations: 24.48 kB / 459.4 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5288, allocations: 3.984 kB / 459.4 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.5288, allocations: 3.953 kB / 459.4 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5289, allocations: 4 kB / 459.4 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.5289, allocations: 0 / 459.4 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.5295, allocations: 200.8 kB / 459.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5296, allocations: 96.94 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.5297, allocations: 8 kB / 459.7 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5298, allocations: 11.94 kB / 459.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.5299, allocations: 7.984 kB / 459.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5299, allocations: 4 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.5301, allocations: 124.9 kB / 459.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5301, allocations: 0 / 459.8 MB, free: 15.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.5305, allocations: 47.98 kB / 459.9 MB, free: 15.61 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.001963/0.5325, allocations: 1.028 MB / 460.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005571/0.5331, allocations: 191.2 kB / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5331, allocations: 0 / 461.1 MB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.5333, allocations: 43.97 kB / 461.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5336, allocations: 28.31 kB / 461.2 MB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.5349, allocations: 0.8611 MB / 462 MB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.5352, allocations: 0.7121 MB / 462.7 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.5354, allocations: 35.42 kB / 462.8 MB, free: 12.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5354, allocations: 0 / 462.8 MB, free: 12.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.732/3.268, allocations: 2.597 MB / 465.4 MB, free: 10.06 MB / 394.7 MB