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.Test33.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/2.001e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2973, allocations: 48.7 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.414, allocations: 75.12 MB / 395.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4142, allocations: 71.97 kB / 395.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.4306, allocations: 3.98 MB / 399.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.081e-06/0.4306, allocations: 0 / 399.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.4306, allocations: 4 kB / 399.2 MB, free: 1.254 MB / 330.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.000501/0.4311, allocations: 419.9 kB / 399.6 MB, free: 0.793 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4312, allocations: 8.031 kB / 399.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.4312, allocations: 7.906 kB / 399.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4315, allocations: 190.9 kB / 399.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4316, allocations: 4 kB / 399.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.4316, allocations: 3.906 kB / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.188e-05/0.4317, allocations: 19.92 kB / 399.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.356e-05/0.4318, allocations: 41.69 kB / 399.9 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4318, allocations: 7.938 kB / 399.9 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-06/0.4318, allocations: 4 kB / 399.9 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-06/0.4318, allocations: 0 / 399.9 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4323, allocations: 265.5 kB / 400.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4325, allocations: 38.56 kB / 400.2 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.4325, allocations: 16.94 kB / 400.2 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4326, allocations: 3.938 kB / 400.2 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.4327, allocations: 59.41 kB / 400.3 MB, free: 28 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 6.18e-06/0.4327, allocations: 3.984 kB / 400.3 MB, free: 24 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004463/0.4332, allocations: 97.39 kB / 400.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4332, allocations: 59.33 kB / 400.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4334, allocations: 158.1 kB / 400.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4335, allocations: 25.7 kB / 400.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-05/0.4336, allocations: 166.5 kB / 400.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.4336, allocations: 15.81 kB / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-06/0.4337, allocations: 4 kB / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4338, allocations: 314.8 kB / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.4339, allocations: 20 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.434, allocations: 20 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.4341, allocations: 24.02 kB / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-06/0.4341, allocations: 4 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002271/0.4343, allocations: 93.52 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.4344, allocations: 38.47 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.007e-06/0.4344, allocations: 4 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4344, allocations: 0 / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.4345, allocations: 8 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.955e-06/0.4345, allocations: 0 / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.4346, allocations: 4 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.4346, allocations: 8.016 kB / 401.3 MB, free: 14.93 MB / 346.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 () * 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 9.03e-05/0.4347, allocations: 101 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.4347, allocations: 15.89 kB / 401.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.435, allocations: 98.16 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-06/0.435, allocations: 0 / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.655e-06/0.435, allocations: 4 kB / 401.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.435, allocations: 0 / 401.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.4355, allocations: 319.1 kB / 401.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-06/0.4355, allocations: 7.938 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.4355, allocations: 4 kB / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.224e-06/0.4356, allocations: 0 / 401.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4356, allocations: 4 kB / 401.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.017e-06/0.4356, allocations: 7.938 kB / 401.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.342e-06/0.4356, allocations: 0 / 401.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.4359, allocations: 171.4 kB / 402 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.436, allocations: 89.02 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.436, allocations: 0 / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-05/0.4361, allocations: 3.984 kB / 402.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.4362, allocations: 4 kB / 402.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4362, allocations: 8 kB / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.4363, allocations: 123.8 kB / 402.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.25e-07/0.4364, allocations: 0 / 402.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.4367, allocations: 35.94 kB / 402.3 MB, free: 13.86 MB / 346.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) * 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.0009195/0.4377, allocations: 315 kB / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.4379, allocations: 107.4 kB / 402.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.579e-06/0.4379, allocations: 0 / 402.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.438, allocations: 16 kB / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.4383, allocations: 17.41 kB / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.4387, allocations: 158.6 kB / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.4391, allocations: 0.708 MB / 403.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4391, allocations: 15.38 kB / 403.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.519e-06/0.4392, allocations: 7.938 kB / 403.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of Templates: time 0.004168/0.4433, allocations: 1.702 MB / 405.3 MB, free: 10.82 MB / 346.7 MB