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.Test17.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.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 1.821/1.821, allocations: 209.2 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004374, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.3955, allocations: 75.87 MB / 407.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.3958, allocations: 71.95 kB / 407.2 MB, free: 2.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01653/0.4123, allocations: 3.984 MB / 411.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.546e-06/0.4124, allocations: 0 / 411.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.4124, allocations: 4 kB / 411.2 MB, free: 14.52 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.0005723/0.413, allocations: 428.6 kB / 411.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.413, allocations: 11.97 kB / 411.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.4131, allocations: 7.906 kB / 411.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4134, allocations: 191.5 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4134, allocations: 4 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.4134, allocations: 4 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.4136, allocations: 45.67 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4136, allocations: 0 / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.717e-06/0.4136, allocations: 0 / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.755e-06/0.4136, allocations: 4 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.4137, allocations: 15.98 kB / 411.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.4142, allocations: 292.8 kB / 412.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.4144, allocations: 46.56 kB / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.4144, allocations: 0 / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.4146, allocations: 63.47 kB / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.4146, allocations: 0 / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004763/0.4151, allocations: 121.5 kB / 412.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4152, allocations: 51.41 kB / 412.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4154, allocations: 145.2 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4154, allocations: 37.69 kB / 412.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.4155, allocations: 154.6 kB / 412.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.4156, allocations: 19.75 kB / 412.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-06/0.4156, allocations: 7.875 kB / 412.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4158, allocations: 310.8 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.4158, allocations: 23.98 kB / 413.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.4159, allocations: 23.98 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.416, allocations: 57.7 kB / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-06/0.416, allocations: 96 / 413.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002634/0.4163, allocations: 131.2 kB / 413.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.4164, allocations: 29.7 kB / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4164, allocations: 0 / 413.4 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4164, allocations: 8.031 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.4165, allocations: 7.984 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.986e-06/0.4165, allocations: 4 kB / 413.4 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.4166, allocations: 7.953 kB / 413.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.4166, allocations: 4 kB / 413.4 MB, free: 12.07 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.0001299/0.4168, allocations: 130 kB / 413.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.4168, allocations: 7.906 kB / 413.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.4171, allocations: 93.83 kB / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.584e-06/0.4171, allocations: 0 / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-06/0.4171, allocations: 0 / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4171, allocations: 0 / 413.6 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.4176, allocations: 350.7 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-06/0.4176, allocations: 4 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.4177, allocations: 11.94 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4177, allocations: 0 / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4177, allocations: 7.984 kB / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.593e-06/0.4177, allocations: 0 / 414 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4177, allocations: 3.953 kB / 414 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.418, allocations: 171.5 kB / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.939e-05/0.4181, allocations: 85.02 kB / 414.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.4181, allocations: 3.984 kB / 414.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.4182, allocations: 4 kB / 414.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.4183, allocations: 11.95 kB / 414.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.4183, allocations: 4 kB / 414.3 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.4184, allocations: 122.5 kB / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4185, allocations: 0 / 414.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.4188, allocations: 39.86 kB / 414.5 MB, free: 10.94 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.001181/0.42, allocations: 376 kB / 414.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.4203, allocations: 115.4 kB / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.934e-06/0.4203, allocations: 0 / 414.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.38e-05/0.4204, allocations: 23.94 kB / 415 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.4207, allocations: 7.984 kB / 415 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.4212, allocations: 227.3 kB / 415.2 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.4216, allocations: 0.6965 MB / 415.9 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.4217, allocations: 15.44 kB / 415.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of SimCode: time 1.41e-06/0.4217, allocations: 0 / 415.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of Templates: time 0.004176/0.4259, allocations: 1.665 MB / 417.6 MB, free: 7.836 MB / 346.7 MB