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.Test44.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.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 1.863/1.863, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2839, allocations: 48.71 MB / 331.3 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3965, allocations: 75.87 MB / 407.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.3968, allocations: 71.97 kB / 407.2 MB, free: 2.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.4138, allocations: 4.092 MB / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.668e-06/0.4139, allocations: 4 kB / 411.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4139, allocations: 0 / 411.3 MB, free: 14.39 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.0005861/0.4145, allocations: 436.6 kB / 411.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.4145, allocations: 8.031 kB / 411.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.4146, allocations: 11.91 kB / 411.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.4149, allocations: 199.4 kB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.4149, allocations: 4 kB / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.415, allocations: 0 / 412 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.4151, allocations: 49.69 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4151, allocations: 4 kB / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4152, allocations: 0 / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.211e-06/0.4152, allocations: 0 / 412 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.339e-05/0.4152, allocations: 19.92 kB / 412 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.4157, allocations: 296.8 kB / 412.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.416, allocations: 38.56 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.416, allocations: 4 kB / 412.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.4162, allocations: 71.41 kB / 412.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.443e-06/0.4162, allocations: 0 / 412.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004648/0.4166, allocations: 109.7 kB / 412.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4167, allocations: 55.34 kB / 412.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.417, allocations: 169.6 kB / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.417, allocations: 29.7 kB / 412.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4171, allocations: 170.5 kB / 413 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.4172, allocations: 7.812 kB / 413 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.4172, allocations: 4 kB / 413 MB, free: 12.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4174, allocations: 326.7 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.4174, allocations: 20 kB / 413.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.4175, allocations: 27.97 kB / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.4176, allocations: 57.72 kB / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-06/0.4176, allocations: 0 / 413.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002707/0.4179, allocations: 131.2 kB / 413.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.418, allocations: 37.69 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.594e-06/0.418, allocations: 4 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.418, allocations: 0 / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.4181, allocations: 12.06 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.105e-06/0.4181, allocations: 0 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.4182, allocations: 4 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.4182, allocations: 4 kB / 413.6 MB, free: 11.88 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.0001377/0.4184, allocations: 129.8 kB / 413.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.4184, allocations: 7.906 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.4187, allocations: 93.92 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.537e-06/0.4187, allocations: 4 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.398e-06/0.4187, allocations: 3.984 kB / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.08e-06/0.4187, allocations: 0 / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.4192, allocations: 350.5 kB / 414.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-06/0.4193, allocations: 3.938 kB / 414.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.4193, allocations: 8 kB / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.07e-06/0.4193, allocations: 0 / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.4194, allocations: 3.984 kB / 414.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.4194, allocations: 4 kB / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4194, allocations: 0 / 414.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.4196, allocations: 175.4 kB / 414.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.4197, allocations: 93 kB / 414.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4198, allocations: 0 / 414.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4199, allocations: 8 kB / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.4199, allocations: 0 / 414.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.42, allocations: 8 kB / 414.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.4201, allocations: 138.5 kB / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.399e-06/0.4202, allocations: 0 / 414.6 MB, free: 10.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00039/0.4206, allocations: 55.7 kB / 414.7 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: 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.001192/0.4218, allocations: 374.2 kB / 415 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.422, allocations: 115.4 kB / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.831e-06/0.4221, allocations: 0 / 415.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-05/0.4221, allocations: 19.94 kB / 415.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.4224, allocations: 15.98 kB / 415.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.423, allocations: 255.2 kB / 415.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.4234, allocations: 0.707 MB / 416.1 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.4235, allocations: 15.44 kB / 416.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.4235, allocations: 0 / 416.1 MB, free: 9.227 MB / 346.7 MB Notification: Performance of Templates: time 0.004325/0.4278, allocations: 1.737 MB / 417.9 MB, free: 7.496 MB / 346.7 MB