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.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.085/2.085, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004827, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.363, allocations: 48.7 MB / 331.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002705/0.3658, allocations: 1.446 MB / 332.7 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.367, allocations: 446.8 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.3672, allocations: 5.5 kB / 333.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3675, allocations: 20.06 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.3678, allocations: 42.48 kB / 333.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.3682, allocations: 67.7 kB / 333.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3684, allocations: 80.34 kB / 333.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3686, allocations: 22.86 kB / 333.4 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.3687, allocations: 35.73 kB / 333.4 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.3688, allocations: 29.42 kB / 333.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3688, allocations: 3.094 kB / 333.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.369, allocations: 38.14 kB / 333.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.3691, allocations: 17.72 kB / 333.5 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.3692, allocations: 39.48 kB / 333.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.3694, allocations: 100.5 kB / 333.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3695, allocations: 0 / 333.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3695, allocations: 5.781 kB / 333.7 MB, free: 5.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3695, allocations: 0 / 333.7 MB, free: 5.23 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006532/0.3702, allocations: 463.3 kB / 334.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3702, allocations: 13.72 kB / 334.1 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.3703, allocations: 40.88 kB / 334.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.3703, allocations: 10.12 kB / 334.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.3706, allocations: 203.2 kB / 334.4 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3706, allocations: 8.125 kB / 334.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.3707, allocations: 3.625 kB / 334.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.371, allocations: 76.33 kB / 334.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.371, allocations: 0 / 334.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.371, allocations: 0 / 334.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.371, allocations: 5.156 kB / 334.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.3712, allocations: 48.05 kB / 334.5 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3719, allocations: 335.1 kB / 334.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.3722, allocations: 72.73 kB / 334.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.3723, allocations: 1.781 kB / 334.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.3726, allocations: 81.66 kB / 335 MB, free: 4.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.3726, allocations: 4 kB / 335 MB, free: 4.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004907/0.3731, allocations: 111 kB / 335.1 MB, free: 3.965 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3731, allocations: 57.69 kB / 335.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3733, allocations: 162.8 kB / 335.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3734, allocations: 27.98 kB / 335.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3735, allocations: 167.1 kB / 335.5 MB, free: 3.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3735, allocations: 25.19 kB / 335.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.3735, allocations: 4 kB / 335.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.3736, allocations: 315.1 kB / 335.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3737, allocations: 27.97 kB / 335.9 MB, free: 3.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3739, allocations: 45.95 kB / 335.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.374, allocations: 68.02 kB / 336 MB, free: 3.164 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3741, allocations: 1.188 kB / 336 MB, free: 3.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000383/0.3744, allocations: 141.3 kB / 336.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.3745, allocations: 37.39 kB / 336.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3745, allocations: 2.531 kB / 336.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3746, allocations: 1.375 kB / 336.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.3747, allocations: 14.91 kB / 336.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3747, allocations: 1.812 kB / 336.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3748, allocations: 11.5 kB / 336.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3749, allocations: 11.77 kB / 336.2 MB, free: 3.027 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: 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 (10): * Single equations (assignments): 9 * 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.000123/0.375, allocations: 126.1 kB / 336.3 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.375, allocations: 21.34 kB / 336.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.3751, allocations: 13.03 kB / 336.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3751, allocations: 1.906 kB / 336.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3751, allocations: 1.469 kB / 336.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3752, allocations: 0.75 kB / 336.4 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.3754, allocations: 207.9 kB / 336.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3754, allocations: 1.438 kB / 336.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.3755, allocations: 10.58 kB / 336.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3755, allocations: 1.406 kB / 336.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.3756, allocations: 4.734 kB / 336.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3756, allocations: 1.375 kB / 336.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3756, allocations: 0.5156 kB / 336.6 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.376, allocations: 157.8 kB / 336.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.3761, allocations: 85.23 kB / 336.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.3762, allocations: 6.125 kB / 336.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3763, allocations: 6.359 kB / 336.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.3764, allocations: 6.016 kB / 336.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3764, allocations: 2.828 kB / 336.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3765, allocations: 127.1 kB / 337 MB, free: 2.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3765, allocations: 1.25 kB / 337 MB, free: 2.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.3769, allocations: 32.86 kB / 337 MB, free: 2.352 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: 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 (7): * Single equations (assignments): 6 * 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.001463/0.3783, allocations: 0.9096 MB / 337.9 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.3788, allocations: 129.4 kB / 338 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3788, allocations: 1.312 kB / 338 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.379, allocations: 30.11 kB / 338.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3793, allocations: 25.2 kB / 338.1 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.3803, allocations: 0.5074 MB / 338.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.3805, allocations: 0.708 MB / 339.3 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.3806, allocations: 35.53 kB / 339.3 MB, free: 352 kB / 266.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3806, allocations: 0 / 339.3 MB, free: 352 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.717/3.098, allocations: 2.313 MB / 341.7 MB, free: 15.28 MB / 282.7 MB