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.Test63.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.Test63,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.Test63") Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.237e-05, allocations: 8 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.269, allocations: 48.69 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3844, allocations: 74.96 MB / 395 MB, free: 5.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3846, allocations: 67.97 kB / 395 MB, free: 5.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.4006, allocations: 4.106 MB / 399.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4006, allocations: 0 / 399.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4006, allocations: 0 / 399.1 MB, free: 1.297 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.0005095/0.4011, allocations: 416 kB / 399.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4012, allocations: 12.03 kB / 399.6 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.4012, allocations: 7.906 kB / 399.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.4016, allocations: 214.7 kB / 399.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4016, allocations: 0 / 399.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4016, allocations: 4 kB / 399.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.83e-05/0.4017, allocations: 15.92 kB / 399.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/0.4018, allocations: 37.69 kB / 399.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.042e-06/0.4018, allocations: 0 / 399.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4019, allocations: 0 / 399.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-06/0.4019, allocations: 3.938 kB / 399.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.4021, allocations: 178.2 kB / 400 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.4022, allocations: 34.56 kB / 400.1 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.4023, allocations: 8.922 kB / 400.1 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4023, allocations: 0 / 400.1 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.4024, allocations: 59.33 kB / 400.1 MB, free: 172 kB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.6e-06/0.4025, allocations: 0 / 400.1 MB, free: 172 kB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000203/0.4027, allocations: 57.59 kB / 400.2 MB, free: 108 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.4027, allocations: 59.41 kB / 400.2 MB, free: 36 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.4031, allocations: 218.5 kB / 400.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.4031, allocations: 29.7 kB / 400.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4032, allocations: 166.6 kB / 400.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.4033, allocations: 11.84 kB / 400.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-06/0.4033, allocations: 0 / 400.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4034, allocations: 314.8 kB / 401 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.4035, allocations: 16 kB / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.4036, allocations: 16 kB / 401 MB, free: 15.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.4036, allocations: 23.98 kB / 401 MB, free: 15.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4037, allocations: 3.938 kB / 401 MB, free: 15.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001967/0.4039, allocations: 77.58 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.4039, allocations: 36.05 kB / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.5e-06/0.4039, allocations: 3.984 kB / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.404, allocations: 0 / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.404, allocations: 4 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.317e-06/0.4041, allocations: 4.062 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.4041, allocations: 4 kB / 401.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.4042, allocations: 8 kB / 401.1 MB, free: 15.08 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 8.88e-05/0.4043, allocations: 109 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.4043, allocations: 15.89 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.4045, allocations: 75.17 kB / 401.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.277e-06/0.4045, allocations: 7.984 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-06/0.4045, allocations: 0 / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.724e-06/0.4046, allocations: 0 / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4048, allocations: 170.2 kB / 401.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-06/0.4048, allocations: 0 / 401.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.4048, allocations: 4 kB / 401.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.745e-06/0.4048, allocations: 7.938 kB / 401.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4049, allocations: 7.953 kB / 401.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.183e-06/0.4049, allocations: 0 / 401.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-06/0.4049, allocations: 0 / 401.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.4051, allocations: 92.92 kB / 401.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.4052, allocations: 93.02 kB / 401.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.4052, allocations: 0 / 401.7 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.4053, allocations: 11.94 kB / 401.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.4053, allocations: 7.938 kB / 401.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4054, allocations: 4 kB / 401.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.4056, allocations: 177.2 kB / 401.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.4056, allocations: 0 / 401.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.4059, allocations: 27.94 kB / 401.9 MB, free: 14.2 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.0008303/0.4068, allocations: 282.8 kB / 402.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.407, allocations: 99.39 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.407, allocations: 4 kB / 402.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.407, allocations: 11.94 kB / 402.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.4073, allocations: 17.59 kB / 402.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.4078, allocations: 214.6 kB / 402.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.4082, allocations: 0.708 MB / 403.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.4082, allocations: 15.44 kB / 403.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of SimCode: time 1.48e-06/0.4083, allocations: 0 / 403.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of Templates: time 0.004331/0.4126, allocations: 1.712 MB / 405 MB, free: 11.12 MB / 346.7 MB