Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.542e-05, allocations: 11.94 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.3963, allocations: 81.42 MB / 439.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.3965, allocations: 75.95 kB / 439.5 MB, free: 13.34 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02101/0.4176, allocations: 5.094 MB / 444.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.817e-06/0.4176, allocations: 0 / 444.6 MB, free: 8.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.4176, allocations: 8 kB / 444.7 MB, free: 8.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006335/0.4183, allocations: 481.4 kB / 445.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4183, allocations: 8.031 kB / 445.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.466e-05/0.4184, allocations: 19.8 kB / 445.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.4188, allocations: 214.9 kB / 445.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.4188, allocations: 4 kB / 445.4 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.4189, allocations: 11.89 kB / 445.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001255/0.419, allocations: 31.98 kB / 445.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.4192, allocations: 77.56 kB / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4192, allocations: 0 / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4192, allocations: 0 / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-06/0.4193, allocations: 0 / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.4198, allocations: 317.4 kB / 445.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.42, allocations: 74.78 kB / 445.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.4201, allocations: 28.84 kB / 445.9 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.4201, allocations: 3.953 kB / 445.9 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.4203, allocations: 75.53 kB / 446 MB, free: 6.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.717e-06/0.4203, allocations: 0 / 446 MB, free: 6.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006967/0.421, allocations: 213.5 kB / 446.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4211, allocations: 55.41 kB / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.4214, allocations: 221.6 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.4215, allocations: 29.69 kB / 446.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4216, allocations: 170.5 kB / 446.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.4217, allocations: 31.55 kB / 446.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.4217, allocations: 4 kB / 446.7 MB, free: 6.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4218, allocations: 314.8 kB / 447 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.422, allocations: 43.98 kB / 447 MB, free: 5.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.4221, allocations: 61.72 kB / 447.1 MB, free: 5.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4223, allocations: 55.91 kB / 447.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-06/0.4223, allocations: 0 / 447.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003939/0.4227, allocations: 161.5 kB / 447.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.4227, allocations: 44.34 kB / 447.3 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4228, allocations: 4 kB / 447.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4228, allocations: 0 / 447.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.423, allocations: 27.92 kB / 447.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-06/0.423, allocations: 0 / 447.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/0.4231, allocations: 8.031 kB / 447.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.4231, allocations: 4 kB / 447.4 MB, free: 5.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001094/0.4232, allocations: 111.2 kB / 447.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.4233, allocations: 23.75 kB / 447.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.4237, allocations: 155.5 kB / 447.7 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4237, allocations: 0 / 447.7 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.035e-06/0.4237, allocations: 0 / 447.7 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.4238, allocations: 7.938 kB / 447.7 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.4245, allocations: 451.8 kB / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4245, allocations: 0 / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-05/0.4246, allocations: 23.92 kB / 448.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4247, allocations: 0 / 448.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.4247, allocations: 4 kB / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-06/0.4247, allocations: 0 / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.791e-06/0.4247, allocations: 0 / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.4251, allocations: 253.9 kB / 448.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.4252, allocations: 112.8 kB / 448.5 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.4253, allocations: 0 / 448.5 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.4254, allocations: 4 kB / 448.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.4255, allocations: 15.92 kB / 448.5 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.4255, allocations: 4 kB / 448.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.4258, allocations: 179.2 kB / 448.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4258, allocations: 0 / 448.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004265/0.4262, allocations: 47.98 kB / 448.7 MB, free: 3.801 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001271/0.4275, allocations: 373.7 kB / 449.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.4279, allocations: 187.3 kB / 449.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.892e-06/0.4279, allocations: 0 / 449.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.428, allocations: 43.94 kB / 449.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4284, allocations: 24.73 kB / 449.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.429, allocations: 261 kB / 449.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.4295, allocations: 0.7314 MB / 450.4 MB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.4296, allocations: 15.44 kB / 450.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.659e-06/0.4296, allocations: 0 / 450.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of Templates: time 0.005478/0.4351, allocations: 2.343 MB / 452.7 MB, free: 15.82 MB / 394.7 MB