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.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006105, allocations: 12 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.365, allocations: 48.71 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002447/0.3675, allocations: 1.292 MB / 332.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3685, allocations: 417 kB / 333 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.3687, allocations: 3.938 kB / 333 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.369, allocations: 78.33 kB / 333.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.3693, allocations: 52.64 kB / 333.1 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.3696, allocations: 63.22 kB / 333.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.3699, allocations: 65.55 kB / 333.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.37, allocations: 8.922 kB / 333.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.3701, allocations: 39.73 kB / 333.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.3703, allocations: 42.45 kB / 333.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3703, allocations: 2.688 kB / 333.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.3705, allocations: 32.75 kB / 333.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.517e-05/0.3705, allocations: 20.67 kB / 333.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.3706, allocations: 38.41 kB / 333.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.3709, allocations: 89 kB / 333.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.3709, allocations: 0 / 333.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3709, allocations: 0 / 333.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.3709, allocations: 1.344 kB / 333.5 MB, free: 5.379 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005403/0.3715, allocations: 419.8 kB / 333.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3715, allocations: 11.12 kB / 333.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.3716, allocations: 31.22 kB / 334 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3716, allocations: 8.594 kB / 334 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3719, allocations: 200.8 kB / 334.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3719, allocations: 5.781 kB / 334.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.3719, allocations: 2.25 kB / 334.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3721, allocations: 47.45 kB / 334.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3721, allocations: 0 / 334.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3721, allocations: 1.688 kB / 334.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3721, allocations: 1.156 kB / 334.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.3722, allocations: 16.97 kB / 334.2 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.3726, allocations: 286.3 kB / 334.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.3729, allocations: 45.94 kB / 334.6 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3729, allocations: 1.438 kB / 334.6 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.3731, allocations: 59.55 kB / 334.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3731, allocations: 0 / 334.6 MB, free: 4.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000487/0.3736, allocations: 117.3 kB / 334.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.3737, allocations: 60.66 kB / 334.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.374, allocations: 212.9 kB / 335 MB, free: 3.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.374, allocations: 32.02 kB / 335 MB, free: 3.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.3741, allocations: 159.8 kB / 335.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3741, allocations: 16.14 kB / 335.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/0.3741, allocations: 1.375 kB / 335.2 MB, free: 3.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.3742, allocations: 321.9 kB / 335.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/0.3743, allocations: 15.31 kB / 335.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.139e-05/0.3744, allocations: 21.08 kB / 335.6 MB, free: 3.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.088e-05/0.3745, allocations: 54.94 kB / 335.6 MB, free: 3.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3745, allocations: 0 / 335.6 MB, free: 3.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002346/0.3747, allocations: 108.2 kB / 335.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.3748, allocations: 37.81 kB / 335.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3748, allocations: 0 / 335.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3748, allocations: 1.031 kB / 335.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.3749, allocations: 13.05 kB / 335.8 MB, free: 3.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.3749, allocations: 5.531 kB / 335.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.375, allocations: 3.547 kB / 335.8 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3751, allocations: 1.531 kB / 335.8 MB, free: 3.285 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$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 (7): * Single equations (assignments): 6 * 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.0001221/0.3752, allocations: 133.7 kB / 335.9 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.3752, allocations: 8 kB / 335.9 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.3753, allocations: 24.8 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3753, allocations: 1.25 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.3753, allocations: 0.5625 kB / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3753, allocations: 0 / 335.9 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.3758, allocations: 341.1 kB / 336.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3758, allocations: 3.938 kB / 336.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.3758, allocations: 10.64 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3759, allocations: 0 / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3759, allocations: 2.469 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3759, allocations: 0.9688 kB / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3759, allocations: 160 / 336.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3761, allocations: 173.5 kB / 336.5 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.3762, allocations: 84.34 kB / 336.5 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3762, allocations: 6.094 kB / 336.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.3763, allocations: 7.375 kB / 336.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.3764, allocations: 3.469 kB / 336.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3764, allocations: 3.438 kB / 336.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.3766, allocations: 155.3 kB / 336.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3766, allocations: 0 / 336.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003677/0.377, allocations: 32.31 kB / 336.7 MB, free: 2.445 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001386/0.3784, allocations: 0.9743 MB / 337.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.3786, allocations: 109.9 kB / 337.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3787, allocations: 0 / 337.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.137e-05/0.3787, allocations: 15.36 kB / 337.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.3791, allocations: 23.72 kB / 337.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.3799, allocations: 0.4884 MB / 338.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.3801, allocations: 0.7074 MB / 339.1 MB, free: 412 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.3802, allocations: 29 kB / 339.1 MB, free: 392 kB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3802, allocations: 0 / 339.1 MB, free: 392 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/3.058, allocations: 2.241 MB / 341.3 MB, free: 15.44 MB / 282.7 MB