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.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadModel(ModelicaTest): time 1.925/1.925, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007302/0.0007304, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3073, allocations: 48.7 MB / 331.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4202, allocations: 75.87 MB / 407.2 MB, free: 2.465 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4204, allocations: 67.97 kB / 407.2 MB, free: 2.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.438, allocations: 4.212 MB / 411.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.4381, allocations: 0 / 411.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.4381, allocations: 4 kB / 411.4 MB, free: 14.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005942/0.4387, allocations: 440.5 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4388, allocations: 12.03 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.4389, allocations: 7.906 kB / 411.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4392, allocations: 206.8 kB / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4392, allocations: 4 kB / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.4392, allocations: 0 / 412.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.4394, allocations: 49.61 kB / 412.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4394, allocations: 4 kB / 412.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4394, allocations: 0 / 412.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-06/0.4394, allocations: 0 / 412.1 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.4396, allocations: 15.98 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.44, allocations: 300.8 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.4403, allocations: 50.5 kB / 412.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4403, allocations: 0 / 412.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.4405, allocations: 59.47 kB / 412.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.428e-06/0.4405, allocations: 0 / 412.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004827/0.441, allocations: 125.5 kB / 412.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4411, allocations: 55.41 kB / 412.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.4414, allocations: 190.5 kB / 412.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.4414, allocations: 29.7 kB / 413 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.4415, allocations: 170.5 kB / 413.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.4416, allocations: 11.91 kB / 413.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-06/0.4416, allocations: 0 / 413.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4418, allocations: 318.8 kB / 413.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.4418, allocations: 23.92 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.4419, allocations: 23.98 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/0.442, allocations: 57.7 kB / 413.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4421, allocations: 96 / 413.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002678/0.4423, allocations: 135.1 kB / 413.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.4424, allocations: 37.7 kB / 413.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.357e-06/0.4424, allocations: 0 / 413.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4424, allocations: 0 / 413.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.4425, allocations: 16.05 kB / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.237e-06/0.4425, allocations: 0 / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.4426, allocations: 4 kB / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.4426, allocations: 7.938 kB / 413.7 MB, free: 11.63 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 0.0001401/0.4428, allocations: 133.8 kB / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.4428, allocations: 7.906 kB / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.4431, allocations: 94.67 kB / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-06/0.4431, allocations: 0 / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.699e-06/0.4431, allocations: 0 / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.523e-06/0.4432, allocations: 0 / 414 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.4437, allocations: 366.4 kB / 414.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-06/0.4437, allocations: 4 kB / 414.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.4438, allocations: 15.98 kB / 414.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.738e-06/0.4438, allocations: 0 / 414.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4438, allocations: 0 / 414.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.688e-06/0.4438, allocations: 0 / 414.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-06/0.4438, allocations: 4 kB / 414.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.4441, allocations: 175.3 kB / 414.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.4442, allocations: 96.94 kB / 414.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.4442, allocations: 4 kB / 414.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.4443, allocations: 4 kB / 414.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4444, allocations: 7.984 kB / 414.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4444, allocations: 0 / 414.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.4446, allocations: 155.9 kB / 414.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.4447, allocations: 0 / 414.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00039/0.4451, allocations: 47.94 kB / 414.8 MB, free: 10.43 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.001184/0.4463, allocations: 379.2 kB / 415.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.4465, allocations: 119.3 kB / 415.3 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.729e-06/0.4465, allocations: 0 / 415.3 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.293e-05/0.4466, allocations: 16 kB / 415.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4469, allocations: 15.98 kB / 415.4 MB, free: 9.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005825/0.4475, allocations: 267.4 kB / 415.6 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4479, allocations: 0.7082 MB / 416.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.448, allocations: 15.44 kB / 416.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.526e-06/0.448, allocations: 0 / 416.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of Templates: time 0.00463/0.4527, allocations: 1.815 MB / 418.2 MB, free: 7.121 MB / 346.7 MB