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.Test39.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.Test39,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.Test39") Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.283e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2591, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.3722, allocations: 74.95 MB / 395 MB, free: 5.512 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3725, allocations: 67.97 kB / 395 MB, free: 5.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.3878, allocations: 3.799 MB / 398.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.31e-06/0.3878, allocations: 0 / 398.8 MB, free: 1.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3878, allocations: 0 / 398.8 MB, free: 1.641 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.0004965/0.3883, allocations: 412 kB / 399.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3884, allocations: 8.031 kB / 399.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.3884, allocations: 4 kB / 399.3 MB, free: 1.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.3887, allocations: 197.8 kB / 399.4 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3888, allocations: 0 / 399.4 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.3888, allocations: 7.938 kB / 399.5 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.396e-05/0.3889, allocations: 19.98 kB / 399.5 MB, free: 0.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.506e-05/0.389, allocations: 41.61 kB / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.67e-06/0.389, allocations: 0 / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.389, allocations: 4 kB / 399.5 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-06/0.389, allocations: 0 / 399.5 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.3892, allocations: 166.1 kB / 399.7 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.089e-05/0.3893, allocations: 26.58 kB / 399.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.3894, allocations: 16.84 kB / 399.7 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.3894, allocations: 4 kB / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.3895, allocations: 55.41 kB / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.226e-06/0.3895, allocations: 0 / 399.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001997/0.3898, allocations: 61.53 kB / 399.8 MB, free: 488 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.3898, allocations: 55.41 kB / 399.9 MB, free: 420 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.39, allocations: 154 kB / 400 MB, free: 260 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3901, allocations: 25.7 kB / 400.1 MB, free: 228 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.3902, allocations: 162.6 kB / 400.2 MB, free: 64 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3902, allocations: 3.906 kB / 400.2 MB, free: 60 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-06/0.3902, allocations: 4 kB / 400.2 MB, free: 56 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3904, allocations: 318.8 kB / 400.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.3905, allocations: 12 kB / 400.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.3905, allocations: 19.98 kB / 400.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.3906, allocations: 23.94 kB / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-06/0.3906, allocations: 0 / 400.6 MB, free: 15.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001896/0.3908, allocations: 77.61 kB / 400.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.3909, allocations: 37.7 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.062e-06/0.3909, allocations: 0 / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3909, allocations: 0 / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.391, allocations: 4 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.391, allocations: 4 kB / 400.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.673e-05/0.3911, allocations: 11.92 kB / 400.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3911, allocations: 4 kB / 400.7 MB, free: 15.53 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.101e-05/0.3912, allocations: 104.9 kB / 400.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.3913, allocations: 7.906 kB / 400.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3915, allocations: 73.92 kB / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3915, allocations: 0 / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.756e-06/0.3915, allocations: 0 / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.8e-06/0.3915, allocations: 11.88 kB / 400.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3917, allocations: 154.2 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-06/0.3917, allocations: 0 / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.3917, allocations: 4 kB / 401.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-06/0.3918, allocations: 3.953 kB / 401.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.331e-06/0.3918, allocations: 0 / 401.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.96e-06/0.3918, allocations: 4 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.228e-06/0.3918, allocations: 3.938 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.392, allocations: 89.02 kB / 401.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.3921, allocations: 89.16 kB / 401.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3921, allocations: 7.953 kB / 401.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.3922, allocations: 3.984 kB / 401.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.3922, allocations: 7.984 kB / 401.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3922, allocations: 4.125 kB / 401.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.3924, allocations: 127.8 kB / 401.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.35e-07/0.3924, allocations: 0 / 401.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.3927, allocations: 20 kB / 401.4 MB, free: 14.74 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.0008174/0.3935, allocations: 277.1 kB / 401.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3937, allocations: 99.39 kB / 401.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.47e-06/0.3937, allocations: 0 / 401.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.3938, allocations: 8 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.394, allocations: 17.41 kB / 401.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.3944, allocations: 154.8 kB / 402 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3948, allocations: 0.7002 MB / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.3948, allocations: 15.44 kB / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/0.3948, allocations: 0 / 402.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of Templates: time 0.003756/0.3986, allocations: 1.506 MB / 404.2 MB, free: 11.95 MB / 346.7 MB