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.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.4 MB / 217.3 MB, free: 4.145 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.242e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.4556, allocations: 75.86 MB / 395.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4559, allocations: 67.97 kB / 395.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0127/0.4686, allocations: 3.183 MB / 399.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.143e-06/0.4687, allocations: 0 / 399.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.4687, allocations: 7.938 kB / 399.1 MB, free: 1.324 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005978/0.4693, allocations: 453.7 kB / 399.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4694, allocations: 8.031 kB / 399.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.4694, allocations: 7.906 kB / 399.6 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.4697, allocations: 204.2 kB / 399.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4698, allocations: 4 kB / 399.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.4698, allocations: 4 kB / 399.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/0.47, allocations: 31.98 kB / 399.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4701, allocations: 65.55 kB / 399.9 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.798e-06/0.4701, allocations: 4 kB / 399.9 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4702, allocations: 4 kB / 399.9 MB, free: 464 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-06/0.4702, allocations: 3.938 kB / 399.9 MB, free: 460 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.4708, allocations: 329.1 kB / 400.2 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.471, allocations: 58.69 kB / 400.3 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.121e-05/0.4711, allocations: 24.98 kB / 400.3 MB, free: 16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.4712, allocations: 4 kB / 400.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4713, allocations: 63.39 kB / 400.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.646e-06/0.4714, allocations: 3.938 kB / 400.4 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002596/0.4716, allocations: 85.47 kB / 400.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.4717, allocations: 63.41 kB / 400.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.4719, allocations: 141.3 kB / 400.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4719, allocations: 29.7 kB / 400.7 MB, free: 15.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.472, allocations: 166.5 kB / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.4721, allocations: 19.73 kB / 400.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-06/0.4721, allocations: 0 / 400.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4723, allocations: 318.8 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.4724, allocations: 24 kB / 401.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.4725, allocations: 41.7 kB / 401.2 MB, free: 15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.4726, allocations: 27.98 kB / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-06/0.4726, allocations: 0 / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002685/0.4728, allocations: 113.6 kB / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.4729, allocations: 32.05 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.509e-06/0.4729, allocations: 0 / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4729, allocations: 4 kB / 401.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4731, allocations: 15.98 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4731, allocations: 7.969 kB / 401.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.4732, allocations: 15.84 kB / 401.5 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.4732, allocations: 4 kB / 401.5 MB, free: 14.77 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.564e-05/0.4733, allocations: 107.7 kB / 401.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.4734, allocations: 19.89 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4736, allocations: 86.28 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.372e-06/0.4737, allocations: 0 / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.327e-06/0.4737, allocations: 8 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4737, allocations: 4 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.4739, allocations: 174.1 kB / 401.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-06/0.4739, allocations: 0 / 401.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.474, allocations: 19.92 kB / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.885e-06/0.4741, allocations: 0 / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4741, allocations: 0 / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.485e-06/0.4741, allocations: 4 kB / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4741, allocations: 192 / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.4744, allocations: 150.5 kB / 402 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.4745, allocations: 93.02 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4746, allocations: 0 / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.4747, allocations: 8 kB / 402.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.4747, allocations: 3.984 kB / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4747, allocations: 8 kB / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001234/0.4749, allocations: 115.3 kB / 402.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.043e-06/0.4749, allocations: 3.938 kB / 402.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.4752, allocations: 47.92 kB / 402.3 MB, free: 13.85 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0008463/0.4761, allocations: 263.7 kB / 402.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4764, allocations: 119.3 kB / 402.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4764, allocations: 0 / 402.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.4765, allocations: 27.98 kB / 402.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.4767, allocations: 24.69 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.0004744/0.4772, allocations: 185.7 kB / 402.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.4776, allocations: 0.7119 MB / 403.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.4777, allocations: 11.44 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/0.4777, allocations: 0 / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of Templates: time 0.004566/0.4823, allocations: 1.867 MB / 405.5 MB, free: 10.63 MB / 346.7 MB