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.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.047/2.047, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.755e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2659, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3795, allocations: 74.98 MB / 395 MB, free: 5.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.3798, allocations: 67.97 kB / 395.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01993/0.3997, allocations: 5.359 MB / 400.4 MB, free: 56 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3997, allocations: 4 kB / 400.4 MB, free: 52 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.3998, allocations: 4 kB / 400.4 MB, free: 48 kB / 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.0008597/0.4007, allocations: 0.6483 MB / 401.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4007, allocations: 12.03 kB / 401.1 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.4008, allocations: 43.44 kB / 401.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/0.4017, allocations: 447.2 kB / 401.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-06/0.4017, allocations: 0 / 401.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.4017, allocations: 4 kB / 401.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.027e-05/0.4018, allocations: 23.98 kB / 401.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.4019, allocations: 67.33 kB / 401.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.378e-06/0.402, allocations: 4 kB / 401.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-06/0.402, allocations: 0 / 401.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-06/0.402, allocations: 0 / 401.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.4025, allocations: 358.8 kB / 402 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4026, allocations: 49.22 kB / 402.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.4027, allocations: 33.7 kB / 402.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.4027, allocations: 0 / 402.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.4029, allocations: 93 kB / 402.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.095e-06/0.4029, allocations: 0 / 402.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000339/0.4033, allocations: 117.1 kB / 402.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.4033, allocations: 81.11 kB / 402.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.405, allocations: 0.8612 MB / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.405, allocations: 29.7 kB / 403.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4052, allocations: 246.6 kB / 403.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.4053, allocations: 19.8 kB / 403.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-06/0.4053, allocations: 3.938 kB / 403.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4055, allocations: 314.8 kB / 403.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.319e-05/0.4056, allocations: 28 kB / 403.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.4057, allocations: 54.83 kB / 403.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.4058, allocations: 43.92 kB / 404 MB, free: 12.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-06/0.4059, allocations: 96 / 404 MB, free: 12.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003431/0.4062, allocations: 133.4 kB / 404.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.4063, allocations: 64.17 kB / 404.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-06/0.4063, allocations: 0 / 404.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4063, allocations: 0 / 404.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.4064, allocations: 16 kB / 404.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4065, allocations: 0 / 404.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.4067, allocations: 15.92 kB / 404.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.4067, allocations: 8 kB / 404.2 MB, free: 12.01 MB / 346.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001037/0.4068, allocations: 112.9 kB / 404.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.407, allocations: 47.44 kB / 404.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.4073, allocations: 145.5 kB / 404.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4074, allocations: 0 / 404.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.983e-06/0.4074, allocations: 4.125 kB / 404.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.056e-06/0.4074, allocations: 4 kB / 404.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.4078, allocations: 341.8 kB / 404.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.4079, allocations: 4 kB / 404.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.308e-05/0.4079, allocations: 8 kB / 404.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4079, allocations: 3.953 kB / 404.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.408, allocations: 4 kB / 404.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.408, allocations: 0 / 404.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.677e-06/0.408, allocations: 0 / 404.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.4083, allocations: 179.1 kB / 405 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.4087, allocations: 188.4 kB / 405.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.532e-05/0.4087, allocations: 4.125 kB / 405.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4089, allocations: 8 kB / 405.2 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.4089, allocations: 11.92 kB / 405.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.409, allocations: 4 kB / 405.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.4101, allocations: 0.6746 MB / 405.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.43e-07/0.4101, allocations: 0 / 405.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.4106, allocations: 99.86 kB / 406 MB, free: 10.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001197/0.4118, allocations: 392.3 kB / 406.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.4122, allocations: 198.7 kB / 406.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.595e-06/0.4122, allocations: 0 / 406.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.4123, allocations: 24 kB / 406.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.4127, allocations: 47.48 kB / 406.7 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4142, allocations: 0.7605 MB / 407.4 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.4149, allocations: 0.8347 MB / 408.3 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.415, allocations: 35.42 kB / 408.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of SimCode: time 1.813e-06/0.4151, allocations: 0 / 408.3 MB, free: 7.785 MB / 346.7 MB Notification: Performance of Templates: time 0.01147/0.4265, allocations: 5.354 MB / 413.6 MB, free: 2.43 MB / 346.7 MB