Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test50.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004536, allocations: 12 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3082, allocations: 48.7 MB / 331.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001903/0.3102, allocations: 1.299 MB / 332.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3117, allocations: 0.9942 MB / 333.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.3118, allocations: 3.812 kB / 333.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.312, allocations: 19.06 kB / 333.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.3122, allocations: 42.48 kB / 333.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.3124, allocations: 55.62 kB / 333.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3126, allocations: 62.45 kB / 333.7 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.3127, allocations: 14.56 kB / 333.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.3128, allocations: 27.88 kB / 333.7 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3129, allocations: 35.16 kB / 333.7 MB, free: 5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.313, allocations: 2.875 kB / 333.7 MB, free: 5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3131, allocations: 44.97 kB / 333.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.3132, allocations: 17.16 kB / 333.8 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.3132, allocations: 33.61 kB / 333.8 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3134, allocations: 99.2 kB / 333.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.493e-06/0.3135, allocations: 0 / 333.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.519e-06/0.3135, allocations: 0.75 kB / 333.9 MB, free: 4.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.916e-06/0.3135, allocations: 4 kB / 333.9 MB, free: 4.914 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004218/0.3139, allocations: 417.4 kB / 334.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.314, allocations: 9.938 kB / 334.4 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.314, allocations: 8.578 kB / 334.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3142, allocations: 193.9 kB / 334.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3143, allocations: 5 kB / 334.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.3143, allocations: 2.594 kB / 334.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3145, allocations: 67.44 kB / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3145, allocations: 1.719 kB / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3145, allocations: 4.688 kB / 334.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-06/0.3145, allocations: 0 / 334.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.3146, allocations: 23.83 kB / 334.7 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.315, allocations: 289.1 kB / 334.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.3151, allocations: 48.28 kB / 335 MB, free: 3.875 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3151, allocations: 5.375 kB / 335 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3153, allocations: 62.5 kB / 335.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 3.499e-06/0.3153, allocations: 5.297 kB / 335.1 MB, free: 3.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000473/0.3158, allocations: 134.5 kB / 335.2 MB, free: 3.738 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.3159, allocations: 79.08 kB / 335.3 MB, free: 3.645 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.316, allocations: 143.8 kB / 335.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3161, allocations: 35.14 kB / 335.4 MB, free: 3.492 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.3161, allocations: 158.2 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3162, allocations: 20.98 kB / 335.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/0.3162, allocations: 0 / 335.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.3162, allocations: 318.1 kB / 335.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.3163, allocations: 23.56 kB / 336 MB, free: 3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.719e-05/0.3164, allocations: 40.42 kB / 336 MB, free: 2.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.3165, allocations: 53.11 kB / 336 MB, free: 2.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-06/0.3165, allocations: 4.031 kB / 336 MB, free: 2.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002335/0.3168, allocations: 128.6 kB / 336.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.3168, allocations: 33.19 kB / 336.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.246e-06/0.3168, allocations: 5.281 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3169, allocations: 0.6562 kB / 336.2 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.317, allocations: 14.78 kB / 336.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.385e-06/0.317, allocations: 2.344 kB / 336.2 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.317, allocations: 6.75 kB / 336.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3171, allocations: 3.312 kB / 336.2 MB, free: 2.797 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 (8): * Single equations (assignments): 7 * 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 8.659e-05/0.3172, allocations: 133.7 kB / 336.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.3172, allocations: 3.562 kB / 336.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.3173, allocations: 15.09 kB / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-06/0.3173, allocations: 1.172 kB / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.539e-06/0.3173, allocations: 1.125 kB / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-06/0.3173, allocations: 0 / 336.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.3177, allocations: 352.2 kB / 336.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3177, allocations: 0 / 336.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.3178, allocations: 11.64 kB / 336.7 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3178, allocations: 9.406 kB / 336.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3178, allocations: 1.953 kB / 336.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.738e-06/0.3178, allocations: 0.6562 kB / 336.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-06/0.3178, allocations: 0 / 336.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.318, allocations: 176.9 kB / 336.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3181, allocations: 89.33 kB / 337 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.3181, allocations: 0.9688 kB / 337 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.3182, allocations: 3.281 kB / 337 MB, free: 2.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3183, allocations: 8.703 kB / 337 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.3183, allocations: 8.156 kB / 337 MB, free: 2.059 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.33e-05/0.3184, allocations: 109.2 kB / 337.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.3184, allocations: 0 / 337.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.3188, allocations: 40.28 kB / 337.2 MB, free: 1.961 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 (6): * Single equations (assignments): 5 * 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.001322/0.3202, allocations: 456.6 kB / 337.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.3204, allocations: 109.4 kB / 337.7 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3205, allocations: 5.312 kB / 337.7 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.3205, allocations: 18.95 kB / 337.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3208, allocations: 19.53 kB / 337.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.3213, allocations: 210.7 kB / 338 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.3214, allocations: 0.7029 MB / 338.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.3215, allocations: 17.55 kB / 338.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3215, allocations: 0 / 338.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of Templates: time 0.004735/0.3263, allocations: 2.034 MB / 340.7 MB, free: 15.87 MB / 282.7 MB