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.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.468e-05, allocations: 8 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2588, allocations: 48.69 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.3744, allocations: 76.81 MB / 396.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.3747, allocations: 67.97 kB / 396.9 MB, free: 3.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.3914, allocations: 3.981 MB / 400.9 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.037e-06/0.3914, allocations: 4 kB / 400.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.3914, allocations: 4 kB / 400.9 MB, free: 15.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000902/0.3924, allocations: 0.5375 MB / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3924, allocations: 12.03 kB / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.3925, allocations: 15.91 kB / 401.5 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.3929, allocations: 235.3 kB / 401.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3929, allocations: 3.984 kB / 401.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.393, allocations: 8 kB / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001636/0.3931, allocations: 40 kB / 401.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3933, allocations: 78.53 kB / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.807e-06/0.3934, allocations: 0 / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3934, allocations: 0 / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-06/0.3934, allocations: 4 kB / 401.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008503/0.3943, allocations: 401.1 kB / 402.2 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.3946, allocations: 82.67 kB / 402.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.3947, allocations: 32.86 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3948, allocations: 4 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.395, allocations: 103.4 kB / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.636e-06/0.395, allocations: 0 / 402.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003425/0.3954, allocations: 113.4 kB / 402.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3954, allocations: 53.25 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.3957, allocations: 170.4 kB / 402.8 MB, free: 13.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3957, allocations: 29.7 kB / 402.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3959, allocations: 178.4 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.3959, allocations: 23.7 kB / 403 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.396, allocations: 3.938 kB / 403 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3961, allocations: 326.8 kB / 403.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3963, allocations: 36 kB / 403.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.3964, allocations: 54.48 kB / 403.4 MB, free: 12.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3965, allocations: 44.91 kB / 403.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-06/0.3966, allocations: 0 / 403.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003849/0.397, allocations: 137.5 kB / 403.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/0.397, allocations: 65.73 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.053e-06/0.3971, allocations: 0 / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3971, allocations: 4.031 kB / 403.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.3973, allocations: 35.97 kB / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.3973, allocations: 7.984 kB / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.3976, allocations: 35.89 kB / 403.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.3976, allocations: 15.94 kB / 403.7 MB, free: 12.41 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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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.0001162/0.3978, allocations: 112.9 kB / 403.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.3978, allocations: 11.81 kB / 403.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.3982, allocations: 127.4 kB / 404 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-06/0.3982, allocations: 0 / 404 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-06/0.3982, allocations: 8 kB / 404 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-06/0.3982, allocations: 3.984 kB / 404 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.3985, allocations: 194.1 kB / 404.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-06/0.3985, allocations: 0 / 404.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.3987, allocations: 35.91 kB / 404.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.843e-06/0.3987, allocations: 4 kB / 404.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.3988, allocations: 4 kB / 404.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-06/0.3988, allocations: 0 / 404.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3988, allocations: 0 / 404.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.3992, allocations: 192.8 kB / 404.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.3993, allocations: 101 kB / 404.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.3994, allocations: 0 / 404.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3996, allocations: 23.97 kB / 404.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.3997, allocations: 15.98 kB / 404.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.3998, allocations: 7.984 kB / 404.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4, allocations: 141.2 kB / 404.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.13e-07/0.4, allocations: 4 kB / 404.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.4003, allocations: 48.05 kB / 404.7 MB, free: 11.31 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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008537/0.4012, allocations: 286.1 kB / 405 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003961/0.4016, allocations: 214.7 kB / 405.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.958e-06/0.4017, allocations: 4 kB / 405.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4018, allocations: 35.98 kB / 405.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4021, allocations: 45.53 kB / 405.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.4028, allocations: 222 kB / 405.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.4032, allocations: 0.7158 MB / 406.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.4033, allocations: 27.42 kB / 406.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.4033, allocations: 3.938 kB / 406.3 MB, free: 9.73 MB / 346.7 MB Notification: Performance of Templates: time 0.005614/0.4089, allocations: 2.471 MB / 408.7 MB, free: 7.262 MB / 346.7 MB