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.Test29.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.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.9e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08772, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.4274, allocations: 75.78 MB / 402.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.4277, allocations: 71.02 kB / 402.4 MB, free: 10 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.4429, allocations: 4.01 MB / 406.4 MB, free: 8.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.01e-06/0.443, allocations: 0 / 406.4 MB, free: 8.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.443, allocations: 0 / 406.4 MB, free: 8.461 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.0003738/0.4434, allocations: 417.6 kB / 406.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4435, allocations: 7.688 kB / 406.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4435, allocations: 7.719 kB / 406.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4437, allocations: 201.2 kB / 407 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.4437, allocations: 0 / 407 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.4438, allocations: 7.75 kB / 407 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.793e-05/0.4439, allocations: 55.73 kB / 407.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4439, allocations: 0 / 407.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4439, allocations: 3.906 kB / 407.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.56e-06/0.444, allocations: 0 / 407.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.766e-05/0.444, allocations: 15.28 kB / 407.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.4444, allocations: 292.7 kB / 407.4 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.4447, allocations: 49.41 kB / 407.4 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.4447, allocations: 16.27 kB / 407.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.4448, allocations: 0 / 407.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.4449, allocations: 58.92 kB / 407.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.454e-06/0.4449, allocations: 0 / 407.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003874/0.4453, allocations: 109 kB / 407.6 MB, free: 7.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.4453, allocations: 51.41 kB / 407.7 MB, free: 7.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.4455, allocations: 160.1 kB / 407.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4455, allocations: 32.52 kB / 407.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.4456, allocations: 159.9 kB / 408 MB, free: 6.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.4456, allocations: 18.95 kB / 408 MB, free: 6.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-06/0.4457, allocations: 0 / 408 MB, free: 6.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.4457, allocations: 313.7 kB / 408.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.154e-05/0.4458, allocations: 24 kB / 408.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.4458, allocations: 21.33 kB / 408.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.4459, allocations: 54.19 kB / 408.4 MB, free: 6.602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-06/0.446, allocations: 4 kB / 408.4 MB, free: 6.598 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002216/0.4462, allocations: 123.9 kB / 408.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.4462, allocations: 41.28 kB / 408.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.656e-06/0.4462, allocations: 0 / 408.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4463, allocations: 0 / 408.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.4463, allocations: 10.78 kB / 408.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.407e-06/0.4464, allocations: 7.734 kB / 408.6 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.4464, allocations: 0 / 408.6 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.4465, allocations: 3.969 kB / 408.6 MB, free: 6.48 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.944e-05/0.4465, allocations: 120.7 kB / 408.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.4466, allocations: 11.7 kB / 408.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.4468, allocations: 85.2 kB / 408.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-06/0.4468, allocations: 0 / 408.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.672e-06/0.4468, allocations: 0 / 408.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-06/0.4468, allocations: 3.953 kB / 408.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.4472, allocations: 352.1 kB / 409.2 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4472, allocations: 4 kB / 409.2 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.4473, allocations: 11.75 kB / 409.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.551e-06/0.4473, allocations: 144 / 409.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4473, allocations: 3.984 kB / 409.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.443e-06/0.4474, allocations: 7.922 kB / 409.2 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.51e-06/0.4474, allocations: 3.984 kB / 409.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.4476, allocations: 172.1 kB / 409.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.4476, allocations: 88.84 kB / 409.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.4477, allocations: 6.844 kB / 409.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.4478, allocations: 4 kB / 409.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.4478, allocations: 7.859 kB / 409.5 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4478, allocations: 3.984 kB / 409.5 MB, free: 5.719 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.448, allocations: 131 kB / 409.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.448, allocations: 0 / 409.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.4484, allocations: 33.53 kB / 409.6 MB, free: 5.633 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.001056/0.4494, allocations: 348.1 kB / 410 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.4497, allocations: 118.5 kB / 410.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4497, allocations: 3.938 kB / 410.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.4498, allocations: 14.53 kB / 410.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4501, allocations: 15.39 kB / 410.1 MB, free: 5.344 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.4504, allocations: 164.4 kB / 410.3 MB, free: 5.219 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.4506, allocations: 0.6998 MB / 411 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.4507, allocations: 18.81 kB / 411 MB, free: 4.5 MB / 314.7 MB Notification: Performance of SimCode: time 1.814e-06/0.4507, allocations: 0 / 411 MB, free: 4.5 MB / 314.7 MB Notification: Performance of Templates: time 0.003592/0.4543, allocations: 1.717 MB / 412.7 MB, free: 3.629 MB / 314.7 MB