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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.37e-05/4.404e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 48.69 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3344/0.4348, allocations: 76.53 MB / 403.1 MB, free: 9.828 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.435, allocations: 68.72 kB / 403.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.4469, allocations: 3.221 MB / 406.4 MB, free: 8.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.4469, allocations: 0 / 406.4 MB, free: 8.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.447, allocations: 0 / 406.4 MB, free: 8.523 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004386/0.4474, allocations: 463.3 kB / 406.8 MB, free: 8.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4475, allocations: 7.719 kB / 406.8 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.4475, allocations: 15.58 kB / 406.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.4478, allocations: 208.6 kB / 407 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4478, allocations: 4 kB / 407 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4478, allocations: 11.47 kB / 407.1 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.448, allocations: 64.44 kB / 407.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.448, allocations: 0 / 407.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.448, allocations: 0 / 407.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4481, allocations: 3.938 kB / 407.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.224e-05/0.4482, allocations: 38.2 kB / 407.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.4487, allocations: 354.7 kB / 407.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.4489, allocations: 66.09 kB / 407.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/0.449, allocations: 23.8 kB / 407.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.449, allocations: 3.844 kB / 407.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.4492, allocations: 73.95 kB / 407.7 MB, free: 7.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.67e-06/0.4492, allocations: 0 / 407.7 MB, free: 7.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002473/0.4495, allocations: 94.58 kB / 407.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.4495, allocations: 55.36 kB / 407.8 MB, free: 7.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4497, allocations: 142.1 kB / 408 MB, free: 7.152 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4497, allocations: 33.47 kB / 408 MB, free: 7.121 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.4498, allocations: 169.6 kB / 408.1 MB, free: 6.965 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.4498, allocations: 27.14 kB / 408.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-06/0.4498, allocations: 0 / 408.2 MB, free: 6.945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.4499, allocations: 314.8 kB / 408.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.45, allocations: 23.03 kB / 408.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.4501, allocations: 47.11 kB / 408.6 MB, free: 6.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.4502, allocations: 59.84 kB / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.671e-06/0.4502, allocations: 0 / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002573/0.4504, allocations: 142.3 kB / 408.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.4505, allocations: 33.42 kB / 408.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-06/0.4505, allocations: 0 / 408.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4505, allocations: 3.984 kB / 408.8 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4506, allocations: 22.94 kB / 408.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.269e-06/0.4507, allocations: 3.938 kB / 408.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.4508, allocations: 23.62 kB / 408.8 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.4508, allocations: 3.969 kB / 408.8 MB, free: 6.434 MB / 314.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 6.025e-05/0.4509, allocations: 116.1 kB / 409 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.4509, allocations: 7.812 kB / 409 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.4511, allocations: 101.8 kB / 409.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.816e-06/0.4511, allocations: 3.844 kB / 409.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.321e-06/0.4512, allocations: 0 / 409.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.184e-06/0.4512, allocations: 0 / 409.1 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.4513, allocations: 198.4 kB / 409.3 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.423e-06/0.4513, allocations: 3.938 kB / 409.3 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4515, allocations: 15.52 kB / 409.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.4515, allocations: 4 kB / 409.3 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4515, allocations: 4.156 kB / 409.3 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.674e-06/0.4515, allocations: 0 / 409.3 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4515, allocations: 3.938 kB / 409.3 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.4518, allocations: 149.4 kB / 409.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.4519, allocations: 84.86 kB / 409.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.4519, allocations: 6.672 kB / 409.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.452, allocations: 11.69 kB / 409.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.452, allocations: 11.83 kB / 409.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4521, allocations: 3.438 kB / 409.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.315e-05/0.4522, allocations: 119.3 kB / 409.7 MB, free: 5.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.4522, allocations: 0 / 409.7 MB, free: 5.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.4525, allocations: 34.66 kB / 409.7 MB, free: 5.766 MB / 314.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.000916/0.4534, allocations: 316.6 kB / 410 MB, free: 5.578 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.4537, allocations: 134.5 kB / 410.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4537, allocations: 0 / 410.1 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.4538, allocations: 22.84 kB / 410.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.4541, allocations: 25.78 kB / 410.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.4545, allocations: 187.8 kB / 410.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.4547, allocations: 0.719 MB / 411.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.4547, allocations: 19.23 kB / 411.1 MB, free: 4.617 MB / 314.7 MB Notification: Performance of SimCode: time 1.54e-06/0.4547, allocations: 0 / 411.1 MB, free: 4.617 MB / 314.7 MB Notification: Performance of Templates: time 0.003906/0.4586, allocations: 1.868 MB / 413 MB, free: 3.672 MB / 314.7 MB