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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004363, allocations: 12 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4147, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002515/0.4173, allocations: 1.345 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.419, allocations: 0.7086 MB / 371.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.4191, allocations: 0 / 371.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.4194, allocations: 27.84 kB / 371.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.4197, allocations: 39.89 kB / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.4199, allocations: 55.81 kB / 371.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4201, allocations: 71.84 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.4202, allocations: 4 kB / 371.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.4203, allocations: 31.86 kB / 371.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.4204, allocations: 35.83 kB / 371.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.4205, allocations: 4 kB / 371.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.4206, allocations: 23.94 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.4207, allocations: 19.86 kB / 371.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.4207, allocations: 37.7 kB / 371.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.4209, allocations: 80.86 kB / 371.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.421, allocations: 0 / 371.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.421, allocations: 0 / 371.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.421, allocations: 0 / 371.8 MB, free: 8.211 MB / 298.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.0006381/0.4216, allocations: 446.3 kB / 372.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4217, allocations: 11.97 kB / 372.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.4217, allocations: 34.56 kB / 372.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.4218, allocations: 7.906 kB / 372.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.4221, allocations: 206.8 kB / 372.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.4221, allocations: 4 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4221, allocations: 4 kB / 372.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.4223, allocations: 57.62 kB / 372.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.4224, allocations: 7.984 kB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4224, allocations: 0 / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4224, allocations: 0 / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4225, allocations: 27.92 kB / 372.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.423, allocations: 288.9 kB / 372.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.4233, allocations: 62.62 kB / 372.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.4233, allocations: 4 kB / 372.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.4235, allocations: 67.33 kB / 373 MB, free: 6.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.4236, allocations: 4 kB / 373 MB, free: 6.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007672/0.4243, allocations: 181.1 kB / 373.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.4244, allocations: 51.41 kB / 373.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.4246, allocations: 156.9 kB / 373.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.4247, allocations: 33.7 kB / 373.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.4248, allocations: 158.4 kB / 373.5 MB, free: 6.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.4248, allocations: 27.64 kB / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.4248, allocations: 4 kB / 373.6 MB, free: 6.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.425, allocations: 322.8 kB / 373.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4251, allocations: 31.98 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.4253, allocations: 46.41 kB / 374 MB, free: 5.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.4255, allocations: 65.69 kB / 374 MB, free: 5.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4255, allocations: 0 / 374 MB, free: 5.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003939/0.4259, allocations: 155.2 kB / 374.2 MB, free: 5.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.426, allocations: 33.7 kB / 374.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.426, allocations: 4.031 kB / 374.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.426, allocations: 0 / 374.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.4262, allocations: 19.98 kB / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4262, allocations: 0 / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.4263, allocations: 15.97 kB / 374.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4263, allocations: 7.938 kB / 374.3 MB, free: 5.457 MB / 298.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.0001414/0.4265, allocations: 124.9 kB / 374.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.4265, allocations: 11.86 kB / 374.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.4266, allocations: 12.72 kB / 374.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4266, allocations: 4 kB / 374.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4266, allocations: 0 / 374.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4266, allocations: 3.984 kB / 374.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.4273, allocations: 387.3 kB / 374.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4273, allocations: 0 / 374.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.4274, allocations: 11.98 kB / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4274, allocations: 0 / 374.8 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4274, allocations: 4 kB / 374.8 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4274, allocations: 4.406 kB / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4274, allocations: 0 / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.4278, allocations: 208.2 kB / 375 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.069e-05/0.4279, allocations: 96.91 kB / 375.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.4279, allocations: 8 kB / 375.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4281, allocations: 0 / 375.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.4281, allocations: 15.98 kB / 375.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4281, allocations: 4 kB / 375.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.4283, allocations: 118.6 kB / 375.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4283, allocations: 0 / 375.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000347/0.4287, allocations: 31.98 kB / 375.3 MB, free: 4.332 MB / 298.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 (8): * Single equations (assignments): 6 * 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.001873/0.4305, allocations: 1.082 MB / 376.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.431, allocations: 151.2 kB / 376.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.431, allocations: 0 / 376.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.4311, allocations: 31.97 kB / 376.5 MB, free: 3.113 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.4315, allocations: 24.11 kB / 376.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.4324, allocations: 470.8 kB / 377 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.4328, allocations: 0.7043 MB / 377.7 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.4328, allocations: 27.38 kB / 377.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4329, allocations: 0 / 377.8 MB, free: 1.812 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.442/2.875, allocations: 2.25 MB / 380 MB, free: 15.56 MB / 314.7 MB