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.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 224.9 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 12 kB / 282.6 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08897, allocations: 48.72 MB / 331.3 MB, free: 8.961 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4303, allocations: 77.56 MB / 408.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4306, allocations: 71.95 kB / 408.9 MB, free: 7.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.4505, allocations: 4.024 MB / 412.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.4505, allocations: 0 / 412.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.796e-05/0.4506, allocations: 4 kB / 413 MB, free: 3.535 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001676/0.4523, allocations: 0.5583 MB / 413.5 MB, free: 2.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.4524, allocations: 16.02 kB / 413.5 MB, free: 2.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.4525, allocations: 15.81 kB / 413.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.4531, allocations: 223.6 kB / 413.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/0.4532, allocations: 4 kB / 413.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.4533, allocations: 4 kB / 413.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.4541, allocations: 133.6 kB / 413.9 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4542, allocations: 0 / 413.9 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.4542, allocations: 4 kB / 413.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.882e-06/0.4542, allocations: 3.938 kB / 413.9 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4553, allocations: 127.9 kB / 414 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.4569, allocations: 430.3 kB / 414.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.4583, allocations: 166.6 kB / 414.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.4584, allocations: 7.938 kB / 414.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/0.4592, allocations: 143.2 kB / 414.8 MB, free: 1.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 4.647e-06/0.4592, allocations: 0 / 414.8 MB, free: 1.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001934/0.4612, allocations: 277.2 kB / 415 MB, free: 1.262 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.4613, allocations: 55.41 kB / 415.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.4618, allocations: 182.2 kB / 415.3 MB, free: 1.012 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.4619, allocations: 29.7 kB / 415.3 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.4621, allocations: 174.5 kB / 415.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.4622, allocations: 31.75 kB / 415.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.4622, allocations: 4 kB / 415.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.4625, allocations: 314.8 kB / 415.8 MB, free: 464 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/0.4631, allocations: 83.94 kB / 415.9 MB, free: 380 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.4638, allocations: 105.6 kB / 416 MB, free: 268 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.4645, allocations: 133.5 kB / 416.1 MB, free: 124 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4645, allocations: 4 kB / 416.1 MB, free: 120 kB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001651/0.4662, allocations: 292.8 kB / 416.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.4664, allocations: 67.39 kB / 416.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.245e-06/0.4664, allocations: 0 / 416.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.4664, allocations: 0 / 416.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.4668, allocations: 35.91 kB / 416.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.4669, allocations: 7.953 kB / 416.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.4673, allocations: 27.98 kB / 416.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.4674, allocations: 11.98 kB / 416.6 MB, free: 15.65 MB / 346.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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0002912/0.4677, allocations: 132.8 kB / 416.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.4678, allocations: 11.81 kB / 416.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.4693, allocations: 219.4 kB / 416.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.471e-06/0.4693, allocations: 8 kB / 416.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.4693, allocations: 4 kB / 416.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4694, allocations: 3.953 kB / 416.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.4699, allocations: 221.5 kB / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.22e-06/0.4699, allocations: 0 / 417.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.4703, allocations: 35.97 kB / 417.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.079e-06/0.4703, allocations: 0 / 417.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.4704, allocations: 0 / 417.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-06/0.4704, allocations: 4 kB / 417.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.678e-06/0.4704, allocations: 0 / 417.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.4725, allocations: 336.6 kB / 417.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.4726, allocations: 85.42 kB / 417.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.4727, allocations: 8 kB / 417.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.4732, allocations: 23.97 kB / 417.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.4733, allocations: 19.97 kB / 417.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.4734, allocations: 3.938 kB / 417.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003481/0.4737, allocations: 148.1 kB / 417.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.153e-06/0.4738, allocations: 4.062 kB / 417.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007901/0.4746, allocations: 51.95 kB / 417.8 MB, free: 14.26 MB / 346.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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001849/0.4764, allocations: 341.9 kB / 418.2 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.478, allocations: 294.6 kB / 418.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.4781, allocations: 4 kB / 418.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006271/0.4787, allocations: 83.94 kB / 418.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.4793, allocations: 37.09 kB / 418.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4808, allocations: 355.9 kB / 418.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.4815, allocations: 0.7274 MB / 419.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.4817, allocations: 15.44 kB / 419.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of SimCode: time 2.155e-06/0.4817, allocations: 0 / 419.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of Templates: time 0.01031/0.4921, allocations: 2.496 MB / 422.2 MB, free: 9.918 MB / 346.7 MB