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.Test49.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.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004358, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3536, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.5007, allocations: 75.88 MB / 407.2 MB, free: 2.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.5009, allocations: 67.97 kB / 407.2 MB, free: 2.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01792/0.5189, allocations: 4.349 MB / 411.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.702e-06/0.5189, allocations: 0 / 411.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.435e-05/0.519, allocations: 4 kB / 411.6 MB, free: 14.16 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.0006492/0.5196, allocations: 448.5 kB / 412 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5197, allocations: 8.031 kB / 412 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.5198, allocations: 15.81 kB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.5201, allocations: 218.8 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5201, allocations: 0 / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.5202, allocations: 7.984 kB / 412.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.5203, allocations: 41.69 kB / 412.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5203, allocations: 0 / 412.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5203, allocations: 0 / 412.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-06/0.5203, allocations: 4 kB / 412.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.5204, allocations: 15.98 kB / 412.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.5209, allocations: 312.7 kB / 412.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.5212, allocations: 46.56 kB / 412.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.5212, allocations: 0 / 412.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.5214, allocations: 55.48 kB / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.361e-06/0.5214, allocations: 0 / 412.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004932/0.5219, allocations: 137.1 kB / 412.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.522, allocations: 55.41 kB / 412.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.5223, allocations: 218.7 kB / 413.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.5224, allocations: 25.7 kB / 413.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5225, allocations: 178.5 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.5225, allocations: 15.89 kB / 413.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-06/0.5225, allocations: 0 / 413.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5227, allocations: 314.8 kB / 413.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.5228, allocations: 31.86 kB / 413.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.5229, allocations: 23.98 kB / 413.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/0.523, allocations: 61.73 kB / 413.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-06/0.523, allocations: 0 / 413.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002634/0.5233, allocations: 127.2 kB / 413.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.5233, allocations: 33.7 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.915e-06/0.5233, allocations: 0 / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5234, allocations: 0 / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.5234, allocations: 11.98 kB / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.657e-06/0.5235, allocations: 0 / 413.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.251e-05/0.5235, allocations: 8 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.5236, allocations: 4 kB / 413.9 MB, free: 11.55 MB / 346.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 () * Number of clocked 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 0.0001472/0.5237, allocations: 137.8 kB / 414.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.5238, allocations: 7.906 kB / 414.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.524, allocations: 102.6 kB / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5241, allocations: 4 kB / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5241, allocations: 0 / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-06/0.5241, allocations: 3.984 kB / 414.2 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.5246, allocations: 370.5 kB / 414.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5247, allocations: 4 kB / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.5247, allocations: 11.98 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.236e-06/0.5247, allocations: 0 / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5248, allocations: 4 kB / 414.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-06/0.5248, allocations: 3.938 kB / 414.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.69e-06/0.5248, allocations: 0 / 414.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.5251, allocations: 175.4 kB / 414.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.5252, allocations: 96.91 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.5252, allocations: 12 kB / 414.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5253, allocations: 0 / 414.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.5254, allocations: 7.984 kB / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.5254, allocations: 4 kB / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002457/0.5257, allocations: 185.1 kB / 415 MB, free: 10.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.5257, allocations: 0 / 415 MB, free: 10.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.5261, allocations: 43.88 kB / 415.1 MB, free: 10.3 MB / 346.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) * Number of clocked states: 0 () * 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.001189/0.5273, allocations: 383.6 kB / 415.5 MB, free: 9.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.5275, allocations: 111.4 kB / 415.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.981e-06/0.5276, allocations: 0 / 415.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.268e-05/0.5276, allocations: 20 kB / 415.6 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.5279, allocations: 16.17 kB / 415.6 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.5286, allocations: 319.5 kB / 415.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.5291, allocations: 0.716 MB / 416.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.5291, allocations: 19.44 kB / 416.7 MB, free: 8.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.472e-06/0.5292, allocations: 0 / 416.7 MB, free: 8.73 MB / 346.7 MB Notification: Performance of Templates: time 0.004689/0.5339, allocations: 1.91 MB / 418.6 MB, free: 6.832 MB / 346.7 MB