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.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.693e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2633, allocations: 48.69 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1159/0.3793, allocations: 74.94 MB / 395 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.3795, allocations: 67.97 kB / 395 MB, free: 5.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.3951, allocations: 3.806 MB / 398.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.261e-06/0.3951, allocations: 0 / 398.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3951, allocations: 0 / 398.8 MB, free: 1.527 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004956/0.3956, allocations: 400 kB / 399.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3957, allocations: 12.03 kB / 399.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.3958, allocations: 8 kB / 399.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3961, allocations: 202.1 kB / 399.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3961, allocations: 0 / 399.4 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3961, allocations: 4 kB / 399.4 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.102e-05/0.3962, allocations: 11.94 kB / 399.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.886e-05/0.3963, allocations: 37.69 kB / 399.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.946e-06/0.3963, allocations: 3.938 kB / 399.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-06/0.3963, allocations: 0 / 399.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3963, allocations: 0 / 399.5 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.3966, allocations: 170.1 kB / 399.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.48e-05/0.3967, allocations: 30.56 kB / 399.7 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.3967, allocations: 12.86 kB / 399.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3967, allocations: 0 / 399.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.3969, allocations: 63.33 kB / 399.8 MB, free: 448 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 4.562e-06/0.3969, allocations: 3.984 kB / 399.8 MB, free: 444 kB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001915/0.3971, allocations: 57.59 kB / 399.8 MB, free: 380 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3972, allocations: 55.41 kB / 399.9 MB, free: 312 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3974, allocations: 154.4 kB / 400 MB, free: 152 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3974, allocations: 25.7 kB / 400.1 MB, free: 120 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3976, allocations: 162.6 kB / 400.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.3976, allocations: 3.906 kB / 400.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-06/0.3976, allocations: 0 / 400.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3978, allocations: 322.8 kB / 400.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.3978, allocations: 16 kB / 400.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.3979, allocations: 12 kB / 400.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.398, allocations: 27.94 kB / 400.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-06/0.398, allocations: 0 / 400.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001933/0.3982, allocations: 73.62 kB / 400.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.3982, allocations: 30.48 kB / 400.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.907e-06/0.3983, allocations: 7.984 kB / 400.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3983, allocations: 0 / 400.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.3984, allocations: 4 kB / 400.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.999e-06/0.3984, allocations: 0 / 400.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.3985, allocations: 11.94 kB / 400.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.3985, allocations: 4 kB / 400.7 MB, free: 15.43 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 9.383e-05/0.3986, allocations: 108.9 kB / 400.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.3986, allocations: 7.906 kB / 400.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.3988, allocations: 73.86 kB / 400.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3988, allocations: 4 kB / 400.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.929e-06/0.3989, allocations: 128 / 400.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.6e-06/0.3989, allocations: 3.984 kB / 400.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3991, allocations: 154.2 kB / 401.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-06/0.3991, allocations: 4 kB / 401.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3991, allocations: 11.92 kB / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.629e-06/0.3991, allocations: 3.953 kB / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.3992, allocations: 0 / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.527e-06/0.3992, allocations: 0 / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-06/0.3992, allocations: 3.938 kB / 401.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.3994, allocations: 85.03 kB / 401.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.3995, allocations: 89 kB / 401.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3995, allocations: 3.953 kB / 401.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.3996, allocations: 8 kB / 401.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3996, allocations: 7.938 kB / 401.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3996, allocations: 7.984 kB / 401.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3998, allocations: 119.8 kB / 401.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.3998, allocations: 0 / 401.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.4001, allocations: 24 kB / 401.4 MB, free: 14.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0008545/0.401, allocations: 284.6 kB / 401.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.4012, allocations: 99.41 kB / 401.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.542e-06/0.4012, allocations: 0 / 401.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.4013, allocations: 15.92 kB / 401.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4015, allocations: 13.42 kB / 401.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.4019, allocations: 151 kB / 402 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.4023, allocations: 0.6924 MB / 402.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.4024, allocations: 19.42 kB / 402.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of SimCode: time 1.557e-06/0.4024, allocations: 3.938 kB / 402.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of Templates: time 0.003984/0.4064, allocations: 1.499 MB / 404.2 MB, free: 11.85 MB / 346.7 MB