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.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.209e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2644, allocations: 48.68 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3782, allocations: 74.98 MB / 395 MB, free: 5.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.3785, allocations: 67.97 kB / 395.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02064/0.3991, allocations: 5.407 MB / 400.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3992, allocations: 4 kB / 400.5 MB, free: 15.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.3992, allocations: 8 kB / 400.5 MB, free: 15.89 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.0008663/0.4001, allocations: 0.6528 MB / 401.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4002, allocations: 8.031 kB / 401.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.4003, allocations: 43.44 kB / 401.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.4012, allocations: 451.3 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4012, allocations: 0 / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.4012, allocations: 4 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.506e-05/0.4013, allocations: 23.98 kB / 401.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.4015, allocations: 67.33 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4015, allocations: 4 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4015, allocations: 3.984 kB / 401.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-06/0.4015, allocations: 0 / 401.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.402, allocations: 354.8 kB / 402.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4022, allocations: 61.2 kB / 402.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.4022, allocations: 21.78 kB / 402.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4023, allocations: 4 kB / 402.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.4025, allocations: 85.03 kB / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.4025, allocations: 4 kB / 402.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003751/0.4029, allocations: 133 kB / 402.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4029, allocations: 77.11 kB / 402.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.4046, allocations: 0.8846 MB / 403.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.4046, allocations: 25.7 kB / 403.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.4049, allocations: 258.5 kB / 403.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.4049, allocations: 15.8 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.4049, allocations: 4 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4051, allocations: 314.8 kB / 403.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.4052, allocations: 31.98 kB / 404 MB, free: 12.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.93e-05/0.4053, allocations: 47.34 kB / 404 MB, free: 12.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.4055, allocations: 43.92 kB / 404.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.4055, allocations: 0 / 404.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003461/0.4058, allocations: 125.6 kB / 404.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.961e-05/0.4059, allocations: 64.17 kB / 404.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.32e-06/0.4059, allocations: 96 / 404.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.406, allocations: 7.938 kB / 404.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.4061, allocations: 19.98 kB / 404.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.4061, allocations: 0 / 404.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.4063, allocations: 15.84 kB / 404.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.4063, allocations: 8 kB / 404.3 MB, free: 11.8 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.0001085/0.4064, allocations: 115.9 kB / 404.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4066, allocations: 51.42 kB / 404.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.4069, allocations: 145.6 kB / 404.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-06/0.407, allocations: 4 kB / 404.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.407, allocations: 0 / 404.6 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-06/0.407, allocations: 3.984 kB / 404.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.4075, allocations: 337.9 kB / 404.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.4075, allocations: 4 kB / 404.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.4076, allocations: 11.92 kB / 405 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.187e-06/0.4076, allocations: 7.953 kB / 405 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4076, allocations: 0 / 405 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.134e-06/0.4076, allocations: 0 / 405 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.784e-06/0.4076, allocations: 0 / 405 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.408, allocations: 183.1 kB / 405.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.4083, allocations: 188.5 kB / 405.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.4084, allocations: 4 kB / 405.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4085, allocations: 4.125 kB / 405.3 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.4086, allocations: 11.98 kB / 405.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.4086, allocations: 11.94 kB / 405.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001113/0.4097, allocations: 0.6941 MB / 406.1 MB, free: 9.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.98e-07/0.4098, allocations: 3.938 kB / 406.1 MB, free: 9.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004792/0.4102, allocations: 103.9 kB / 406.2 MB, free: 9.844 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.001213/0.4115, allocations: 382.7 kB / 406.5 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.4118, allocations: 194.7 kB / 406.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.631e-06/0.4119, allocations: 3.938 kB / 406.7 MB, free: 9.316 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.412, allocations: 31.98 kB / 406.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.4123, allocations: 39.5 kB / 406.8 MB, free: 9.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.4139, allocations: 0.7877 MB / 407.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.4145, allocations: 0.8385 MB / 408.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.4147, allocations: 39.44 kB / 408.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.785e-06/0.4147, allocations: 0 / 408.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of Templates: time 0.01175/0.4264, allocations: 5.467 MB / 413.9 MB, free: 2.055 MB / 346.7 MB