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.Test64.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.Test64,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.Test64") Notification: Performance of loadModel(ModelicaTest): time 1.806/1.806, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.423e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08679, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3315/0.4184, allocations: 75.62 MB / 402.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.4186, allocations: 70.5 kB / 402.2 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.4335, allocations: 4.127 MB / 406.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4335, allocations: 0 / 406.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.4335, allocations: 7.766 kB / 406.4 MB, free: 8.473 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003481/0.4339, allocations: 422.3 kB / 406.8 MB, free: 8.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4339, allocations: 7.844 kB / 406.8 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.434, allocations: 11.69 kB / 406.8 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.4342, allocations: 216.4 kB / 407 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4343, allocations: 0 / 407 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.4343, allocations: 3.875 kB / 407 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.4344, allocations: 41.41 kB / 407.1 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.419e-06/0.4344, allocations: 3.781 kB / 407.1 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-06/0.4344, allocations: 4 kB / 407.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-06/0.4344, allocations: 0 / 407.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.4345, allocations: 6.906 kB / 407.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.4347, allocations: 193.7 kB / 407.3 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.206e-05/0.4347, allocations: 29.78 kB / 407.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.4348, allocations: 12.08 kB / 407.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.4348, allocations: 3.969 kB / 407.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.4349, allocations: 62.42 kB / 407.4 MB, free: 7.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.367e-06/0.4349, allocations: 0 / 407.4 MB, free: 7.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001772/0.4351, allocations: 63.34 kB / 407.4 MB, free: 7.434 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.4352, allocations: 51.41 kB / 407.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.4354, allocations: 220.9 kB / 407.7 MB, free: 7.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.4355, allocations: 29.52 kB / 407.7 MB, free: 7.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.4355, allocations: 164.2 kB / 407.9 MB, free: 7.074 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4356, allocations: 19.12 kB / 407.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-06/0.4356, allocations: 0 / 407.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.713e-05/0.4356, allocations: 314.8 kB / 408.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.4357, allocations: 18.47 kB / 408.2 MB, free: 6.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.4357, allocations: 26.09 kB / 408.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.4358, allocations: 54.98 kB / 408.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-06/0.4358, allocations: 0 / 408.3 MB, free: 6.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001787/0.436, allocations: 104.2 kB / 408.4 MB, free: 6.629 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4361, allocations: 33.38 kB / 408.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.643e-06/0.4361, allocations: 3.906 kB / 408.4 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4361, allocations: 4 kB / 408.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.4362, allocations: 3.938 kB / 408.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.967e-06/0.4362, allocations: 0 / 408.4 MB, free: 6.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.4363, allocations: 10.91 kB / 408.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.4363, allocations: 3.969 kB / 408.5 MB, free: 6.586 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 (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 5.411e-05/0.4364, allocations: 108.9 kB / 408.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.4364, allocations: 19.31 kB / 408.6 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.4366, allocations: 71.67 kB / 408.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-06/0.4366, allocations: 7.938 kB / 408.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4366, allocations: 3.984 kB / 408.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-06/0.4366, allocations: 0 / 408.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.4367, allocations: 197.2 kB / 408.9 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-06/0.4368, allocations: 3.953 kB / 408.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.4368, allocations: 3.844 kB / 408.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-06/0.4368, allocations: 0 / 408.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4368, allocations: 7.828 kB / 408.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.049e-06/0.4369, allocations: 4.125 kB / 408.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-06/0.4369, allocations: 0 / 408.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.437, allocations: 96.19 kB / 409 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.4371, allocations: 100.7 kB / 409.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4371, allocations: 0 / 409.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.4372, allocations: 6.781 kB / 409.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.4372, allocations: 0 / 409.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4373, allocations: 3.984 kB / 409.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.4375, allocations: 182.8 kB / 409.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4375, allocations: 0 / 409.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.4378, allocations: 39.14 kB / 409.3 MB, free: 5.895 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 (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.0008822/0.4387, allocations: 306.4 kB / 409.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.4389, allocations: 104 kB / 409.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.456e-06/0.4389, allocations: 0 / 409.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.4389, allocations: 14.47 kB / 409.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.4392, allocations: 18.42 kB / 409.7 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.4396, allocations: 217 kB / 409.9 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.4397, allocations: 0.7109 MB / 410.7 MB, free: 4.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.4398, allocations: 18.45 kB / 410.7 MB, free: 4.773 MB / 314.7 MB Notification: Performance of SimCode: time 1.318e-06/0.4398, allocations: 0 / 410.7 MB, free: 4.773 MB / 314.7 MB Notification: Performance of Templates: time 0.003485/0.4433, allocations: 1.712 MB / 412.4 MB, free: 3.918 MB / 314.7 MB