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/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.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.877/1.877, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.506e-05, allocations: 8 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1398, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4896, allocations: 75.64 MB / 402.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.4898, allocations: 61.91 kB / 402.2 MB, free: 9.945 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.5086, allocations: 5.472 MB / 407.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.176e-06/0.5086, allocations: 3.938 kB / 407.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.294e-05/0.5087, allocations: 3.875 kB / 407.7 MB, free: 7.805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006264/0.5093, allocations: 0.65 MB / 408.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5094, allocations: 7.688 kB / 408.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.5095, allocations: 46.59 kB / 408.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.5102, allocations: 453.8 kB / 408.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.5102, allocations: 3.75 kB / 408.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.5102, allocations: 3.969 kB / 408.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.5104, allocations: 69.5 kB / 408.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.491e-06/0.5104, allocations: 0 / 408.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.5104, allocations: 7.938 kB / 409 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-06/0.5104, allocations: 3.719 kB / 409 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.5105, allocations: 18.58 kB / 409 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.5109, allocations: 387.1 kB / 409.4 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.511, allocations: 58.11 kB / 409.4 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.5111, allocations: 25.34 kB / 409.4 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5111, allocations: 3.844 kB / 409.4 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.5113, allocations: 96.09 kB / 409.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.408e-06/0.5113, allocations: 0 / 409.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003035/0.5116, allocations: 126.5 kB / 409.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.5117, allocations: 92.97 kB / 409.7 MB, free: 6.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.5131, allocations: 0.9077 MB / 410.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.5132, allocations: 29.45 kB / 410.7 MB, free: 6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5133, allocations: 250.5 kB / 410.9 MB, free: 5.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.5134, allocations: 22.64 kB / 410.9 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.5134, allocations: 0 / 410.9 MB, free: 5.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.5135, allocations: 322.1 kB / 411.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.867e-05/0.5136, allocations: 32.92 kB / 411.3 MB, free: 5.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.5137, allocations: 59.06 kB / 411.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.5138, allocations: 96.25 kB / 411.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.5138, allocations: 0 / 411.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003453/0.5142, allocations: 191.4 kB / 411.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.5142, allocations: 66.73 kB / 411.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.937e-06/0.5143, allocations: 3.984 kB / 411.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5143, allocations: 0 / 411.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.5144, allocations: 11.53 kB / 411.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.909e-06/0.5144, allocations: 0 / 411.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.5146, allocations: 15.56 kB / 411.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.5146, allocations: 15.7 kB / 411.7 MB, free: 5.23 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: 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 6.471e-05/0.5147, allocations: 116.4 kB / 411.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.5148, allocations: 46.56 kB / 411.9 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.5151, allocations: 155.8 kB / 412.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-06/0.5151, allocations: 0 / 412.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.583e-06/0.5152, allocations: 0 / 412.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.463e-06/0.5152, allocations: 0 / 412.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.5155, allocations: 373.6 kB / 412.4 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-06/0.5155, allocations: 11.78 kB / 412.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.5156, allocations: 7.828 kB / 412.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.762e-06/0.5156, allocations: 4.156 kB / 412.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5156, allocations: 0 / 412.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.641e-06/0.5157, allocations: 0 / 412.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-06/0.5157, allocations: 0 / 412.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.516, allocations: 192.6 kB / 412.6 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.5162, allocations: 188.6 kB / 412.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.018e-05/0.5163, allocations: 3.875 kB / 412.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.5165, allocations: 4.062 kB / 412.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.5165, allocations: 14.61 kB / 412.8 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5165, allocations: 3.719 kB / 412.8 MB, free: 4.469 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009772/0.5175, allocations: 0.7194 MB / 413.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.5175, allocations: 0 / 413.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004723/0.518, allocations: 103.7 kB / 413.7 MB, free: 4.297 MB / 314.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.001343/0.5194, allocations: 449.5 kB / 414.1 MB, free: 4.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.5197, allocations: 197.3 kB / 414.3 MB, free: 3.887 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.274e-06/0.5197, allocations: 0 / 414.3 MB, free: 3.887 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.5198, allocations: 31.14 kB / 414.3 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.5202, allocations: 54.5 kB / 414.4 MB, free: 3.855 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.5214, allocations: 0.782 MB / 415.2 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5218, allocations: 0.8423 MB / 416 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.5219, allocations: 41.73 kB / 416 MB, free: 2.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.84e-06/0.5219, allocations: 0 / 416 MB, free: 2.23 MB / 314.7 MB Notification: Performance of Templates: time 0.01053/0.5325, allocations: 5.484 MB / 421.5 MB, free: 12.76 MB / 330.7 MB