Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004495, allocations: 16 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3545, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002839/0.3574, allocations: 1.523 MB / 332.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3594, allocations: 0.8304 MB / 333.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.3597, allocations: 5.5 kB / 333.6 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.36, allocations: 29.86 kB / 333.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.3604, allocations: 46.17 kB / 333.7 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.3609, allocations: 77.77 kB / 333.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.3612, allocations: 109.2 kB / 333.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.3614, allocations: 28.08 kB / 333.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3616, allocations: 61.41 kB / 334 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3618, allocations: 58.86 kB / 334 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.3618, allocations: 13.72 kB / 334.1 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.3621, allocations: 35.78 kB / 334.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.3622, allocations: 22.58 kB / 334.1 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.3622, allocations: 46.92 kB / 334.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.3626, allocations: 124.2 kB / 334.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3626, allocations: 0 / 334.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3627, allocations: 0 / 334.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3627, allocations: 5.156 kB / 334.3 MB, free: 4.832 MB / 266.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.001256/0.3639, allocations: 0.5471 MB / 334.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.364, allocations: 9.219 kB / 334.8 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.3641, allocations: 38.56 kB / 334.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.3642, allocations: 20.86 kB / 334.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.3645, allocations: 217.2 kB / 335.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3645, allocations: 11.41 kB / 335.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3646, allocations: 6.25 kB / 335.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.3652, allocations: 131.6 kB / 335.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3652, allocations: 0 / 335.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3653, allocations: 1.438 kB / 335.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3653, allocations: 1.656 kB / 335.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007909/0.3661, allocations: 124.2 kB / 335.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.3669, allocations: 383.2 kB / 335.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.368, allocations: 159.7 kB / 335.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.3681, allocations: 5.219 kB / 335.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006383/0.3687, allocations: 138.8 kB / 336.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.975e-06/0.3688, allocations: 0 / 336.1 MB, free: 3.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001462/0.3702, allocations: 261.6 kB / 336.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3703, allocations: 58.42 kB / 336.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.3707, allocations: 198.2 kB / 336.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.3707, allocations: 29.19 kB / 336.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.3708, allocations: 174.9 kB / 336.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.3709, allocations: 31.64 kB / 336.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.3709, allocations: 5.188 kB / 336.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.371, allocations: 326.8 kB / 337.1 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.3715, allocations: 77.12 kB / 337.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.3719, allocations: 96.05 kB / 337.3 MB, free: 2.633 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.3724, allocations: 132.1 kB / 337.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3725, allocations: 1.219 kB / 337.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001095/0.3736, allocations: 278.1 kB / 337.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.3737, allocations: 63.89 kB / 337.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3737, allocations: 0 / 337.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3737, allocations: 1.344 kB / 337.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.374, allocations: 36.28 kB / 337.8 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3741, allocations: 9.422 kB / 337.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3744, allocations: 34.41 kB / 337.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.3745, allocations: 13.61 kB / 337.8 MB, free: 2.301 MB / 266.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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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.0001708/0.3746, allocations: 128 kB / 338 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.3747, allocations: 10.47 kB / 338 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.3748, allocations: 21.64 kB / 338 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3748, allocations: 5.469 kB / 338 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3748, allocations: 1.469 kB / 338 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3748, allocations: 3.953 kB / 338 MB, free: 2.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.3751, allocations: 223.2 kB / 338.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3751, allocations: 0 / 338.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.3754, allocations: 32.95 kB / 338.3 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.3754, allocations: 1.531 kB / 338.3 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.3755, allocations: 3.984 kB / 338.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3755, allocations: 5.062 kB / 338.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3755, allocations: 1.594 kB / 338.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.377, allocations: 312.3 kB / 338.6 MB, free: 1.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.3771, allocations: 84.45 kB / 338.7 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.3771, allocations: 9.25 kB / 338.7 MB, free: 1.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.3775, allocations: 26.16 kB / 338.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3776, allocations: 18.06 kB / 338.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.3776, allocations: 3 kB / 338.7 MB, free: 1.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.3778, allocations: 151 kB / 338.9 MB, free: 1.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3778, allocations: 3.938 kB / 338.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000388/0.3782, allocations: 41.88 kB / 338.9 MB, free: 1.461 MB / 266.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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002515/0.3808, allocations: 1.071 MB / 340 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.3819, allocations: 289.2 kB / 340.3 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.331e-06/0.382, allocations: 0 / 340.3 MB, free: 452 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.3825, allocations: 86.09 kB / 340.3 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.3829, allocations: 27.48 kB / 340.4 MB, free: 404 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3843, allocations: 0.5721 MB / 340.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3847, allocations: 0.7296 MB / 341.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3849, allocations: 39.67 kB / 341.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of SimCode: time 3.537e-06/0.3849, allocations: 3.938 kB / 341.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/3.116, allocations: 3.048 MB / 344.8 MB, free: 13.55 MB / 282.7 MB