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.Test43.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.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.041/2.041, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.92e-05, allocations: 4 kB / 277.8 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08466, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3314/0.4161, allocations: 75.78 MB / 402.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4163, allocations: 71.56 kB / 402.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01526/0.4316, allocations: 4.075 MB / 406.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4317, allocations: 4 kB / 406.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.4317, allocations: 3.844 kB / 406.5 MB, free: 8.578 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.0003591/0.4321, allocations: 413.4 kB / 406.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4321, allocations: 11.5 kB / 406.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.4322, allocations: 7.781 kB / 406.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.4324, allocations: 204.4 kB / 407.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.4324, allocations: 0 / 407.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4325, allocations: 3.781 kB / 407.1 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.731e-05/0.4326, allocations: 49.17 kB / 407.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4326, allocations: 3.812 kB / 407.2 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4326, allocations: 0 / 407.2 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.4326, allocations: 0 / 407.2 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.374e-05/0.4327, allocations: 11.66 kB / 407.2 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.433, allocations: 294.7 kB / 407.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.4332, allocations: 45.84 kB / 407.5 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.4333, allocations: 16.23 kB / 407.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.4333, allocations: 0 / 407.5 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.4334, allocations: 57.67 kB / 407.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.27e-06/0.4335, allocations: 0 / 407.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003801/0.4338, allocations: 117.1 kB / 407.7 MB, free: 7.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.4339, allocations: 51.41 kB / 407.7 MB, free: 7.379 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4341, allocations: 178.4 kB / 407.9 MB, free: 7.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4341, allocations: 29.7 kB / 407.9 MB, free: 7.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.4342, allocations: 161.6 kB / 408.1 MB, free: 7.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.4342, allocations: 11.12 kB / 408.1 MB, free: 7.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-06/0.4342, allocations: 7.781 kB / 408.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.4343, allocations: 317.9 kB / 408.4 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.646e-05/0.4344, allocations: 22 kB / 408.4 MB, free: 6.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.4344, allocations: 22.75 kB / 408.5 MB, free: 6.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.018e-05/0.4345, allocations: 55.53 kB / 408.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4345, allocations: 0 / 408.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002206/0.4348, allocations: 122.5 kB / 408.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4348, allocations: 37.45 kB / 408.7 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.67e-06/0.4348, allocations: 4.141 kB / 408.7 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4349, allocations: 3.938 kB / 408.7 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.86e-05/0.4349, allocations: 7.719 kB / 408.7 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4349, allocations: 3.984 kB / 408.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.435, allocations: 11.61 kB / 408.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.435, allocations: 11.89 kB / 408.7 MB, free: 6.578 MB / 314.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 5.676e-05/0.4351, allocations: 108.8 kB / 408.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.4351, allocations: 11.81 kB / 408.8 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.4354, allocations: 91.11 kB / 408.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4354, allocations: 0 / 408.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-06/0.4354, allocations: 0 / 408.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.583e-06/0.4354, allocations: 0 / 408.9 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.4358, allocations: 358.6 kB / 409.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-06/0.4358, allocations: 0 / 409.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.4359, allocations: 7.781 kB / 409.3 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.629e-06/0.4359, allocations: 4 kB / 409.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.4359, allocations: 3.312 kB / 409.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.704e-06/0.4359, allocations: 96 / 409.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.451e-06/0.4359, allocations: 7.844 kB / 409.3 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.4361, allocations: 180.6 kB / 409.5 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.4362, allocations: 92.52 kB / 409.6 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.4362, allocations: 3.984 kB / 409.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.4363, allocations: 0 / 409.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.4364, allocations: 7.844 kB / 409.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4364, allocations: 3.938 kB / 409.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.4365, allocations: 141.2 kB / 409.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4365, allocations: 0 / 409.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.4369, allocations: 38.72 kB / 409.8 MB, free: 5.734 MB / 314.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.001042/0.438, allocations: 358.5 kB / 410.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.4382, allocations: 111.4 kB / 410.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.918e-06/0.4382, allocations: 3.938 kB / 410.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.4383, allocations: 18.5 kB / 410.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.4386, allocations: 19.14 kB / 410.3 MB, free: 5.438 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.4389, allocations: 166.4 kB / 410.4 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.4391, allocations: 0.7107 MB / 411.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.4392, allocations: 15.12 kB / 411.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4392, allocations: 0 / 411.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of Templates: time 0.003597/0.4428, allocations: 1.728 MB / 412.9 MB, free: 3.727 MB / 314.7 MB