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.Test40.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.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004457, allocations: 15.98 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3678, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.5057, allocations: 75.85 MB / 407.7 MB, free: 2.594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5061, allocations: 71.97 kB / 407.7 MB, free: 2.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01913/0.5252, allocations: 4.155 MB / 411.9 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5253, allocations: 4 kB / 411.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.5253, allocations: 8 kB / 411.9 MB, free: 14.36 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.0006214/0.526, allocations: 436.5 kB / 412.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.526, allocations: 8.031 kB / 412.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.5261, allocations: 7.906 kB / 412.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.5264, allocations: 194.9 kB / 412.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.5264, allocations: 4 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5264, allocations: 0 / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.5266, allocations: 57.61 kB / 412.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5266, allocations: 4 kB / 412.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5266, allocations: 0 / 412.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5267, allocations: 0 / 412.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.5267, allocations: 15.98 kB / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.5272, allocations: 296.8 kB / 412.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.5275, allocations: 46.5 kB / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.5275, allocations: 4 kB / 413 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.5277, allocations: 55.5 kB / 413 MB, free: 13.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.5277, allocations: 0 / 413 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005286/0.5282, allocations: 125.2 kB / 413.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.5283, allocations: 51.41 kB / 413.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.5286, allocations: 198.2 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.5286, allocations: 25.7 kB / 413.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.5287, allocations: 166.6 kB / 413.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.5288, allocations: 23.73 kB / 413.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.467e-05/0.5288, allocations: 0 / 413.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5289, allocations: 318.8 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.529, allocations: 23.98 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.319e-05/0.5291, allocations: 19.98 kB / 413.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.5292, allocations: 53.7 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5292, allocations: 0 / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003125/0.5296, allocations: 131.3 kB / 414.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.5296, allocations: 37.7 kB / 414.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5297, allocations: 0 / 414.2 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.5297, allocations: 7.984 kB / 414.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5299, allocations: 8.062 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5299, allocations: 4 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.53, allocations: 0 / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.5301, allocations: 7.953 kB / 414.2 MB, free: 11.83 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.0001495/0.5302, allocations: 129.8 kB / 414.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.5303, allocations: 12.19 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.5306, allocations: 93.89 kB / 414.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.5306, allocations: 7.984 kB / 414.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5306, allocations: 0 / 414.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5306, allocations: 3.984 kB / 414.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.5312, allocations: 354.5 kB / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5312, allocations: 4 kB / 414.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.5312, allocations: 4 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.5313, allocations: 3.984 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.5313, allocations: 12 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5313, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5313, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5316, allocations: 175.3 kB / 415 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.5317, allocations: 89 kB / 415.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.5317, allocations: 8 kB / 415.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.5318, allocations: 0 / 415.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.5319, allocations: 11.98 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5319, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.5321, allocations: 156.9 kB / 415.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5321, allocations: 0 / 415.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.5325, allocations: 39.88 kB / 415.3 MB, free: 10.64 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.001049/0.5336, allocations: 375.5 kB / 415.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.5339, allocations: 111.3 kB / 415.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5339, allocations: 0 / 415.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.309e-05/0.534, allocations: 23.98 kB / 415.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.5343, allocations: 15.97 kB / 415.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.5349, allocations: 259.3 kB / 416 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.5354, allocations: 0.7043 MB / 416.7 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.5355, allocations: 19.44 kB / 416.8 MB, free: 9.152 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5355, allocations: 0 / 416.8 MB, free: 9.152 MB / 346.7 MB Notification: Performance of Templates: time 0.005447/0.541, allocations: 1.78 MB / 418.5 MB, free: 7.379 MB / 346.7 MB