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.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 234.9 MB / 250.4 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 16 kB / 314.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3527, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002401/0.3552, allocations: 1.349 MB / 370.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3568, allocations: 0.7163 MB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.3569, allocations: 3.938 kB / 371.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.3572, allocations: 31.83 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3574, allocations: 27.95 kB / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.3576, allocations: 51.83 kB / 371.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.3578, allocations: 71.84 kB / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.358, allocations: 8 kB / 371.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3581, allocations: 39.84 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.3582, allocations: 27.84 kB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3582, allocations: 4 kB / 371.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.3583, allocations: 27.98 kB / 371.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.3584, allocations: 19.86 kB / 371.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.3584, allocations: 29.7 kB / 371.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3586, allocations: 80.86 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.3587, allocations: 0 / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.569e-06/0.3587, allocations: 4 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3587, allocations: 4 kB / 371.8 MB, free: 10.25 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.0005541/0.3593, allocations: 446.3 kB / 372.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3593, allocations: 12.03 kB / 372.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.3594, allocations: 34.55 kB / 372.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3594, allocations: 7.906 kB / 372.3 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.3597, allocations: 196.6 kB / 372.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3597, allocations: 7.984 kB / 372.5 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3597, allocations: 7.938 kB / 372.5 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3599, allocations: 61.62 kB / 372.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.36, allocations: 0 / 372.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.36, allocations: 0 / 372.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.36, allocations: 0 / 372.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3601, allocations: 27.86 kB / 372.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.3606, allocations: 292.9 kB / 372.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.3608, allocations: 66.62 kB / 372.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3609, allocations: 0 / 372.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3611, allocations: 67.33 kB / 373 MB, free: 8.867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.3611, allocations: 0 / 373 MB, free: 8.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007347/0.3619, allocations: 177.4 kB / 373.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.3619, allocations: 55.41 kB / 373.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3621, allocations: 165.1 kB / 373.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.3622, allocations: 25.7 kB / 373.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.3622, allocations: 162.4 kB / 373.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.3623, allocations: 27.64 kB / 373.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.3623, allocations: 4 kB / 373.6 MB, free: 8.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3624, allocations: 314.8 kB / 373.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3626, allocations: 27.98 kB / 373.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3627, allocations: 49.69 kB / 373.9 MB, free: 7.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3629, allocations: 65.7 kB / 374 MB, free: 7.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3629, allocations: 0 / 374 MB, free: 7.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003667/0.3633, allocations: 155.2 kB / 374.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.3633, allocations: 40.5 kB / 374.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3633, allocations: 128 / 374.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3634, allocations: 4 kB / 374.2 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3635, allocations: 27.92 kB / 374.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3635, allocations: 0 / 374.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.329e-05/0.3636, allocations: 8.031 kB / 374.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.3637, allocations: 4 kB / 374.2 MB, free: 7.512 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.0001198/0.3638, allocations: 121.8 kB / 374.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.3638, allocations: 15.84 kB / 374.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/0.3639, allocations: 16.66 kB / 374.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3639, allocations: 4 kB / 374.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3639, allocations: 0 / 374.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3639, allocations: 0 / 374.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.3646, allocations: 395.3 kB / 374.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3646, allocations: 0 / 374.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.3646, allocations: 8 kB / 374.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3647, allocations: 0 / 374.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3647, allocations: 4 kB / 374.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3647, allocations: 0 / 374.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3647, allocations: 0 / 374.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.365, allocations: 216.2 kB / 375 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.3651, allocations: 100.9 kB / 375.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.3652, allocations: 4.094 kB / 375.1 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3653, allocations: 7.938 kB / 375.1 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3653, allocations: 3.984 kB / 375.1 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.3654, allocations: 7.984 kB / 375.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3655, allocations: 119.8 kB / 375.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3655, allocations: 0 / 375.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.3659, allocations: 32 kB / 375.3 MB, free: 6.371 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.001776/0.3677, allocations: 1.076 MB / 376.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.3681, allocations: 151.3 kB / 376.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3681, allocations: 4 kB / 376.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3682, allocations: 31.97 kB / 376.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3685, allocations: 19.89 kB / 376.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.3694, allocations: 474.9 kB / 377 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.3697, allocations: 0.7043 MB / 377.7 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-05/0.3698, allocations: 31.42 kB / 377.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3698, allocations: 0 / 377.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.534/2.903, allocations: 2.242 MB / 380 MB, free: 1.617 MB / 298.7 MB