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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.858/1.858, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.679e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08864, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4325, allocations: 75.73 MB / 402.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4328, allocations: 64.78 kB / 402.3 MB, free: 9.965 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.4475, allocations: 3.817 MB / 406.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.03e-06/0.4476, allocations: 3.969 kB / 406.2 MB, free: 8.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.4476, allocations: 0 / 406.2 MB, free: 8.496 MB / 314.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.0003805/0.448, allocations: 409.7 kB / 406.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.448, allocations: 11.81 kB / 406.6 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.4481, allocations: 7.781 kB / 406.6 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.4483, allocations: 194.2 kB / 406.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4483, allocations: 0 / 406.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.4484, allocations: 3.875 kB / 406.8 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4485, allocations: 47.77 kB / 406.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.4485, allocations: 3.812 kB / 406.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4485, allocations: 0 / 406.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4485, allocations: 0 / 406.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.4486, allocations: 11.25 kB / 406.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.449, allocations: 293.5 kB / 407.1 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.4492, allocations: 42.75 kB / 407.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.4492, allocations: 15.62 kB / 407.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.4493, allocations: 3.781 kB / 407.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.4494, allocations: 60.25 kB / 407.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.55e-06/0.4494, allocations: 0 / 407.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004331/0.4498, allocations: 113.3 kB / 407.4 MB, free: 7.367 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.4499, allocations: 51.41 kB / 407.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.45, allocations: 143.5 kB / 407.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4501, allocations: 25.7 kB / 407.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.4501, allocations: 158.5 kB / 407.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.4502, allocations: 18.53 kB / 407.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.991e-06/0.4502, allocations: 3.938 kB / 407.7 MB, free: 7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.4502, allocations: 318.6 kB / 408.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.4503, allocations: 30.3 kB / 408.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.4504, allocations: 18.75 kB / 408.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.331e-05/0.4505, allocations: 52.09 kB / 408.2 MB, free: 6.641 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-06/0.4505, allocations: 0 / 408.2 MB, free: 6.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002128/0.4507, allocations: 127.1 kB / 408.3 MB, free: 6.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.4507, allocations: 37.47 kB / 408.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4508, allocations: 0 / 408.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4508, allocations: 3.844 kB / 408.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.4509, allocations: 11.81 kB / 408.3 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.164e-06/0.4509, allocations: 64 / 408.3 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.407e-05/0.451, allocations: 7.875 kB / 408.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.451, allocations: 11.81 kB / 408.3 MB, free: 6.512 MB / 314.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 5.585e-05/0.451, allocations: 104.9 kB / 408.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.4511, allocations: 7.719 kB / 408.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.4513, allocations: 87.11 kB / 408.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.021e-06/0.4513, allocations: 3.781 kB / 408.5 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.999e-06/0.4513, allocations: 4 kB / 408.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4514, allocations: 0 / 408.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.4517, allocations: 344.1 kB / 408.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-06/0.4517, allocations: 0 / 408.9 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.4518, allocations: 11.75 kB / 408.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.321e-06/0.4518, allocations: 0 / 408.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4518, allocations: 0 / 408.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.462e-06/0.4518, allocations: 0 / 408.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4518, allocations: 0 / 408.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.452, allocations: 184.5 kB / 409.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.4521, allocations: 84.95 kB / 409.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.4521, allocations: 3.844 kB / 409.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.4522, allocations: 7.672 kB / 409.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.4523, allocations: 3.812 kB / 409.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4523, allocations: 3.875 kB / 409.2 MB, free: 5.777 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.4524, allocations: 116.4 kB / 409.3 MB, free: 5.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4524, allocations: 0 / 409.3 MB, free: 5.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003784/0.4528, allocations: 39.17 kB / 409.3 MB, free: 5.68 MB / 314.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.001071/0.4539, allocations: 353.1 kB / 409.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.4541, allocations: 111.5 kB / 409.8 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.719e-06/0.4541, allocations: 3.938 kB / 409.8 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.4542, allocations: 28.62 kB / 409.8 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.4545, allocations: 18.45 kB / 409.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.4548, allocations: 137.4 kB / 410 MB, free: 5.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.455, allocations: 0.696 MB / 410.7 MB, free: 4.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.036e-05/0.455, allocations: 11.25 kB / 410.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of SimCode: time 1.647e-06/0.455, allocations: 0 / 410.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of Templates: time 0.003625/0.4587, allocations: 1.635 MB / 412.3 MB, free: 3.723 MB / 314.7 MB