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.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.668e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.4389, allocations: 74.91 MB / 394.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4392, allocations: 63.97 kB / 395 MB, free: 5.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.4546, allocations: 3.836 MB / 398.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.4547, allocations: 0 / 398.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.4547, allocations: 0 / 398.8 MB, free: 1.633 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004792/0.4552, allocations: 412 kB / 399.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4552, allocations: 12.02 kB / 399.2 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.4553, allocations: 7.906 kB / 399.3 MB, free: 1.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.4556, allocations: 208.1 kB / 399.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4556, allocations: 4 kB / 399.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.4557, allocations: 0 / 399.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.958e-05/0.4557, allocations: 8 kB / 399.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.726e-05/0.4558, allocations: 37.69 kB / 399.5 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.002e-06/0.4559, allocations: 3.938 kB / 399.5 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4559, allocations: 4 kB / 399.5 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4559, allocations: 0 / 399.5 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.4561, allocations: 170.2 kB / 399.7 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.142e-05/0.4562, allocations: 26.58 kB / 399.7 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.4562, allocations: 8.922 kB / 399.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.4563, allocations: 3.938 kB / 399.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.4564, allocations: 59.39 kB / 399.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.317e-06/0.4564, allocations: 0 / 399.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002009/0.4566, allocations: 61.59 kB / 399.8 MB, free: 476 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.4567, allocations: 51.41 kB / 399.9 MB, free: 412 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.4569, allocations: 174.2 kB / 400.1 MB, free: 232 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.457, allocations: 29.7 kB / 400.1 MB, free: 196 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.4571, allocations: 162.6 kB / 400.2 MB, free: 32 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.4571, allocations: 3.906 kB / 400.2 MB, free: 28 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-06/0.4571, allocations: 8 kB / 400.3 MB, free: 20 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4573, allocations: 314.8 kB / 400.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.4574, allocations: 15.98 kB / 400.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.4574, allocations: 19.94 kB / 400.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.4575, allocations: 19.98 kB / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.296e-06/0.4575, allocations: 0 / 400.6 MB, free: 15.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002012/0.4577, allocations: 81.53 kB / 400.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.4578, allocations: 34.48 kB / 400.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.4578, allocations: 128 / 400.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4578, allocations: 4 kB / 400.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.4579, allocations: 16.03 kB / 400.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.993e-06/0.4579, allocations: 0 / 400.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.482e-05/0.458, allocations: 11.92 kB / 400.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.458, allocations: 4 kB / 400.8 MB, free: 15.49 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 (5): * Single equations (assignments): 4 * 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 8.747e-05/0.4581, allocations: 104.1 kB / 400.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.4582, allocations: 11.86 kB / 400.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.4583, allocations: 73.95 kB / 400.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4584, allocations: 3.938 kB / 401 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4584, allocations: 4 kB / 401 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-06/0.4584, allocations: 0 / 401 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4586, allocations: 162.2 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-06/0.4586, allocations: 3.938 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.4586, allocations: 8 kB / 401.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.375e-06/0.4587, allocations: 0 / 401.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4587, allocations: 3.953 kB / 401.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.667e-06/0.4587, allocations: 80 / 401.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.4587, allocations: 3.984 kB / 401.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.4589, allocations: 100.9 kB / 401.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.459, allocations: 89.02 kB / 401.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.459, allocations: 0 / 401.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.4591, allocations: 3.953 kB / 401.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.4591, allocations: 7.984 kB / 401.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.4591, allocations: 0 / 401.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.4593, allocations: 143.2 kB / 401.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.4593, allocations: 0 / 401.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.4596, allocations: 27.94 kB / 401.5 MB, free: 14.67 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 (4): * Single equations (assignments): 3 * 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.0008177/0.4605, allocations: 276.7 kB / 401.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.4607, allocations: 95.39 kB / 401.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.72e-06/0.4607, allocations: 3.938 kB / 401.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.4608, allocations: 15.98 kB / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.461, allocations: 19.92 kB / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.4614, allocations: 165.8 kB / 402.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.4618, allocations: 0.7002 MB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.4618, allocations: 19.42 kB / 402.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.4618, allocations: 0 / 402.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of Templates: time 0.003915/0.4658, allocations: 1.571 MB / 404.4 MB, free: 11.79 MB / 346.7 MB