Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 2.052/2.052, allocations: 209.2 MB / 225.4 MB, free: 292 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006033/0.0006037, allocations: 12 kB / 283.1 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3812, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.5271, allocations: 76.61 MB / 408.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5275, allocations: 71.95 kB / 408.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.5419, allocations: 3.197 MB / 411.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.861e-06/0.542, allocations: 0 / 411.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.542, allocations: 11.88 kB / 411.7 MB, free: 14.55 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007614/0.5428, allocations: 490.2 kB / 412.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5428, allocations: 8.031 kB / 412.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.5429, allocations: 11.91 kB / 412.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.5433, allocations: 198.8 kB / 412.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.5433, allocations: 11.94 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.5433, allocations: 4 kB / 412.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.5436, allocations: 81.59 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5437, allocations: 0 / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5437, allocations: 0 / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5437, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.5439, allocations: 43.97 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.5447, allocations: 352.6 kB / 412.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.5451, allocations: 70.67 kB / 413 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.5451, allocations: 0 / 413 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.5454, allocations: 79.39 kB / 413 MB, free: 13.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.5454, allocations: 0 / 413 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005271/0.5459, allocations: 129.5 kB / 413.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.546, allocations: 55.36 kB / 413.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.5462, allocations: 170.1 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.5463, allocations: 29.7 kB / 413.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5464, allocations: 162.6 kB / 413.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.5465, allocations: 27.64 kB / 413.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.5465, allocations: 0 / 413.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5466, allocations: 315 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.5468, allocations: 39.91 kB / 413.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.547, allocations: 49.7 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.5472, allocations: 71.31 kB / 414.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5472, allocations: 0 / 414.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004797/0.5477, allocations: 151.3 kB / 414.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.5477, allocations: 34.33 kB / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5478, allocations: 0 / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.5478, allocations: 3.969 kB / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.548, allocations: 23.98 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.548, allocations: 4 kB / 414.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.5481, allocations: 7.953 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.5481, allocations: 4 kB / 414.3 MB, free: 11.73 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001548/0.5483, allocations: 121.8 kB / 414.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.5483, allocations: 15.81 kB / 414.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.5487, allocations: 114.5 kB / 414.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.5488, allocations: 4 kB / 414.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5488, allocations: 7.875 kB / 414.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5488, allocations: 3.984 kB / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.5491, allocations: 205.5 kB / 414.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5491, allocations: 0 / 414.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.5493, allocations: 12 kB / 414.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.5493, allocations: 3.984 kB / 414.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.5493, allocations: 0 / 414.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5493, allocations: 8.391 kB / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5493, allocations: 0 / 414.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.5499, allocations: 168.9 kB / 414.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.55, allocations: 92.89 kB / 415 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.55, allocations: 0 / 415 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.5501, allocations: 16.06 kB / 415 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.5502, allocations: 3.984 kB / 415 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.5502, allocations: 4 kB / 415 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.5504, allocations: 121.9 kB / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.5504, allocations: 0 / 415.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003318/0.5507, allocations: 39.92 kB / 415.2 MB, free: 10.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.001002/0.5517, allocations: 333.6 kB / 415.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.5522, allocations: 143.3 kB / 415.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5522, allocations: 0 / 415.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.5524, allocations: 31.98 kB / 415.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.5527, allocations: 19.94 kB / 415.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.5535, allocations: 299.4 kB / 416 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.5538, allocations: 0.7043 MB / 416.7 MB, free: 9.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.5539, allocations: 23.42 kB / 416.7 MB, free: 9.16 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5539, allocations: 0 / 416.7 MB, free: 9.16 MB / 346.7 MB Notification: Performance of Templates: time 0.005798/0.5597, allocations: 1.868 MB / 418.6 MB, free: 7.297 MB / 346.7 MB