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.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.204/2.204, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005856/0.0005856, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3322, allocations: 54.87 MB / 369.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002891/0.3351, allocations: 1.586 MB / 370.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.337, allocations: 0.793 MB / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3372, allocations: 0 / 371.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3375, allocations: 35.77 kB / 371.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.3377, allocations: 43.88 kB / 371.7 MB, free: 8.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.338, allocations: 75.78 kB / 371.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.3383, allocations: 131.7 kB / 371.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3385, allocations: 29.53 kB / 372 MB, free: 7.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3386, allocations: 67.75 kB / 372 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.3388, allocations: 63.69 kB / 372.1 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.3388, allocations: 8 kB / 372.1 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.339, allocations: 35.86 kB / 372.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.339, allocations: 31.91 kB / 372.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3392, allocations: 53.62 kB / 372.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3394, allocations: 124.7 kB / 372.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.3395, allocations: 0 / 372.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3395, allocations: 0 / 372.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3395, allocations: 0 / 372.3 MB, free: 7.512 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00116/0.3406, allocations: 0.591 MB / 372.9 MB, free: 6.848 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3407, allocations: 12.03 kB / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/0.3408, allocations: 38.55 kB / 373 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.3408, allocations: 23.72 kB / 373 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3412, allocations: 222.8 kB / 373.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3412, allocations: 4 kB / 373.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.3413, allocations: 12 kB / 373.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.3419, allocations: 142.2 kB / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3419, allocations: 0 / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.342, allocations: 3.953 kB / 373.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.342, allocations: 0 / 373.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.3428, allocations: 139.9 kB / 373.5 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007576/0.3436, allocations: 384.5 kB / 373.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3447, allocations: 198.5 kB / 374.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.3448, allocations: 0 / 374.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006402/0.3454, allocations: 151.2 kB / 374.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/0.3455, allocations: 0 / 374.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001543/0.347, allocations: 289.3 kB / 374.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.3471, allocations: 59.39 kB / 374.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.3474, allocations: 210.5 kB / 374.8 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.3475, allocations: 33.7 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3476, allocations: 178.2 kB / 375 MB, free: 4.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.3477, allocations: 31.69 kB / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.3477, allocations: 0 / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3478, allocations: 322.8 kB / 375.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.3483, allocations: 88.12 kB / 375.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.3488, allocations: 120.7 kB / 375.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.3494, allocations: 143.3 kB / 375.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3494, allocations: 0 / 375.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0012/0.3506, allocations: 316.8 kB / 376 MB, free: 3.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.3507, allocations: 67.39 kB / 376.1 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3507, allocations: 8 kB / 376.1 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3508, allocations: 3.953 kB / 376.1 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.3511, allocations: 35.97 kB / 376.1 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3512, allocations: 7.938 kB / 376.1 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.3515, allocations: 43.81 kB / 376.2 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3516, allocations: 4 kB / 376.2 MB, free: 3.402 MB / 298.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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001764/0.3517, allocations: 141.7 kB / 376.3 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3518, allocations: 15.81 kB / 376.3 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.3519, allocations: 21.39 kB / 376.3 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3519, allocations: 11.94 kB / 376.3 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3519, allocations: 4 kB / 376.3 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3519, allocations: 0 / 376.3 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.3522, allocations: 225.6 kB / 376.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3522, allocations: 0 / 376.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.3525, allocations: 31.97 kB / 376.6 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3525, allocations: 0 / 376.6 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.3526, allocations: 4 kB / 376.6 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3526, allocations: 4 kB / 376.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.3526, allocations: 11.89 kB / 376.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3541, allocations: 332.7 kB / 376.9 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3543, allocations: 112.9 kB / 377.1 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.3543, allocations: 4 kB / 377.1 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.3546, allocations: 27.97 kB / 377.1 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.3548, allocations: 15.97 kB / 377.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.3548, allocations: 7.953 kB / 377.1 MB, free: 2.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.355, allocations: 156.2 kB / 377.3 MB, free: 2.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.355, allocations: 4 kB / 377.3 MB, free: 2.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.3554, allocations: 43.89 kB / 377.3 MB, free: 2.16 MB / 298.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002846/0.3582, allocations: 1.164 MB / 378.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3594, allocations: 326.6 kB / 378.8 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3594, allocations: 0 / 378.8 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.3599, allocations: 92 kB / 378.9 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.3603, allocations: 39.91 kB / 378.9 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3616, allocations: 0.6144 MB / 379.5 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.362, allocations: 0.7243 MB / 380.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3621, allocations: 43.42 kB / 380.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3621, allocations: 0 / 380.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/2.969, allocations: 3.28 MB / 383.6 MB, free: 11.83 MB / 314.7 MB