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.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004356, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3297, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00252/0.3323, allocations: 1.353 MB / 370.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.334, allocations: 0.7163 MB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.3341, allocations: 0 / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3344, allocations: 43.81 kB / 371.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.3346, allocations: 35.89 kB / 371.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3349, allocations: 59.81 kB / 371.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.3351, allocations: 95.81 kB / 371.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.3352, allocations: 4 kB / 371.6 MB, free: 8.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3353, allocations: 43.84 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3354, allocations: 43.83 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.3355, allocations: 4 kB / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3356, allocations: 23.98 kB / 371.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.3356, allocations: 23.91 kB / 371.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.3357, allocations: 53.58 kB / 371.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3359, allocations: 88.84 kB / 371.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.336, allocations: 0 / 371.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.336, allocations: 0 / 371.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.336, allocations: 0 / 371.9 MB, free: 8.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006152/0.3366, allocations: 474.1 kB / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3366, allocations: 8.031 kB / 372.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.3367, allocations: 30.56 kB / 372.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.3368, allocations: 11.91 kB / 372.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3371, allocations: 214.8 kB / 372.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3371, allocations: 4 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3372, allocations: 7.938 kB / 372.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3374, allocations: 73.58 kB / 372.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3374, allocations: 4 kB / 372.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3375, allocations: 3.953 kB / 372.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3375, allocations: 4 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.3376, allocations: 35.97 kB / 372.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.3382, allocations: 332.7 kB / 373 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.3385, allocations: 82.59 kB / 373.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3385, allocations: 0 / 373.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.3388, allocations: 83.33 kB / 373.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.3388, allocations: 4 kB / 373.2 MB, free: 6.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009071/0.3397, allocations: 237.2 kB / 373.4 MB, free: 6.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3398, allocations: 51.41 kB / 373.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.34, allocations: 179.3 kB / 373.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3401, allocations: 33.7 kB / 373.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.3402, allocations: 162.7 kB / 373.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3402, allocations: 35.58 kB / 373.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.3403, allocations: 0 / 373.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3404, allocations: 322.8 kB / 374.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3406, allocations: 35.98 kB / 374.2 MB, free: 5.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.3407, allocations: 63.72 kB / 374.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3409, allocations: 75.8 kB / 374.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3409, allocations: 0 / 374.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004594/0.3414, allocations: 191 kB / 374.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.3415, allocations: 41.69 kB / 374.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3415, allocations: 8.031 kB / 374.6 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3415, allocations: 4 kB / 374.6 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3417, allocations: 19.98 kB / 374.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.3417, allocations: 0 / 374.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.3418, allocations: 4 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3418, allocations: 4 kB / 374.6 MB, free: 5.066 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 (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.0001635/0.342, allocations: 133.8 kB / 374.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3421, allocations: 15.77 kB / 374.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.3421, allocations: 17.41 kB / 374.8 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3421, allocations: 4 kB / 374.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3422, allocations: 0 / 374.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3422, allocations: 3.984 kB / 374.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.3429, allocations: 443.3 kB / 375.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3429, allocations: 0 / 375.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.343, allocations: 12 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.343, allocations: 4 kB / 375.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3431, allocations: 0 / 375.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3431, allocations: 8.031 kB / 375.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3431, allocations: 3.938 kB / 375.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.3435, allocations: 228.2 kB / 375.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.269e-05/0.3436, allocations: 100.9 kB / 375.6 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.3437, allocations: 7.984 kB / 375.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3438, allocations: 4 kB / 375.6 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3438, allocations: 15.98 kB / 375.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.3439, allocations: 4 kB / 375.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.344, allocations: 128 kB / 375.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.344, allocations: 0 / 375.7 MB, free: 3.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003499/0.3444, allocations: 35.98 kB / 375.8 MB, free: 3.82 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 (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.001842/0.3462, allocations: 1.112 MB / 376.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004049/0.3467, allocations: 175.2 kB / 377.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3467, allocations: 0 / 377.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.3468, allocations: 43.92 kB / 377.1 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3472, allocations: 32.08 kB / 377.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/0.3481, allocations: 0.5151 MB / 377.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3485, allocations: 0.7121 MB / 378.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.3486, allocations: 35.42 kB / 378.4 MB, free: 1.164 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3486, allocations: 0 / 378.4 MB, free: 1.164 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.672/3.02, allocations: 2.596 MB / 381 MB, free: 14.57 MB / 314.7 MB