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.Test41.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.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.037/2.037, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.957e-05/1.979e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2674, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.3836, allocations: 75.12 MB / 395.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3839, allocations: 63.97 kB / 395.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.4013, allocations: 4.11 MB / 399.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.4014, allocations: 0 / 399.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4014, allocations: 4 kB / 399.3 MB, free: 1.148 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005492/0.4019, allocations: 419.3 kB / 399.7 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.402, allocations: 8.031 kB / 399.7 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.4021, allocations: 7.906 kB / 399.7 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.4024, allocations: 212.1 kB / 399.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4024, allocations: 7.938 kB / 399.9 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.4024, allocations: 0 / 399.9 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.565e-05/0.4025, allocations: 19.98 kB / 400 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.94e-05/0.4027, allocations: 45.67 kB / 400 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4027, allocations: 4 kB / 400 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4027, allocations: 4 kB / 400 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-06/0.4027, allocations: 0 / 400 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.4032, allocations: 269.4 kB / 400.3 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.4034, allocations: 46.55 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.4035, allocations: 12.86 kB / 400.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4035, allocations: 4 kB / 400.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.4036, allocations: 55.45 kB / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.522e-06/0.4037, allocations: 0 / 400.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004334/0.4041, allocations: 109.2 kB / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4042, allocations: 51.41 kB / 400.6 MB, free: 15.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.4044, allocations: 178.4 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.4045, allocations: 29.69 kB / 400.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4046, allocations: 166.6 kB / 400.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.4046, allocations: 15.81 kB / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.4046, allocations: 0 / 400.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4048, allocations: 314.8 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.4049, allocations: 23.98 kB / 401.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.4049, allocations: 20 kB / 401.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.519e-05/0.405, allocations: 23.98 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.12e-06/0.405, allocations: 0 / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002235/0.4053, allocations: 85.62 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.4053, allocations: 34.48 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.483e-06/0.4054, allocations: 4.094 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4054, allocations: 7.922 kB / 401.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.4055, allocations: 8 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.43e-06/0.4055, allocations: 0 / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.4056, allocations: 4 kB / 401.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.4056, allocations: 4 kB / 401.5 MB, free: 14.79 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 (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.0001023/0.4057, allocations: 116.9 kB / 401.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4057, allocations: 11.81 kB / 401.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.406, allocations: 90.06 kB / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.033e-06/0.406, allocations: 3.938 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.932e-06/0.406, allocations: 0 / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.404e-06/0.4061, allocations: 0 / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.4065, allocations: 335 kB / 402 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4066, allocations: 0 / 402 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.4066, allocations: 11.98 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.4066, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4066, allocations: 4 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-06/0.4067, allocations: 4.188 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.839e-06/0.4067, allocations: 8 kB / 402 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.4069, allocations: 163.4 kB / 402.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.407, allocations: 100.9 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.4071, allocations: 0 / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.4072, allocations: 4 kB / 402.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.4072, allocations: 3.984 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4073, allocations: 11.94 kB / 402.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.4074, allocations: 140.1 kB / 402.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.4074, allocations: 0 / 402.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.4078, allocations: 35.94 kB / 402.5 MB, free: 13.68 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 (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.0009665/0.4088, allocations: 313.2 kB / 402.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.4091, allocations: 107.4 kB / 402.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.401e-06/0.4091, allocations: 0 / 402.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/0.4092, allocations: 19.94 kB / 402.9 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4095, allocations: 19.94 kB / 402.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.4099, allocations: 185.6 kB / 403.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.4103, allocations: 0.7041 MB / 403.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.4104, allocations: 23.44 kB / 403.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.504e-06/0.4104, allocations: 0 / 403.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of Templates: time 0.00447/0.4149, allocations: 1.763 MB / 405.6 MB, free: 10.54 MB / 346.7 MB