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/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.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 1.841/1.841, allocations: 209.3 MB / 222.4 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.177e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08759, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.4757, allocations: 75.61 MB / 402.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4759, allocations: 69.41 kB / 402.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.491, allocations: 4.128 MB / 406.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.87e-06/0.4911, allocations: 0 / 406.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.4911, allocations: 0 / 406.4 MB, free: 8.586 MB / 314.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.0003799/0.4915, allocations: 426.1 kB / 406.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4916, allocations: 11.69 kB / 406.8 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.4916, allocations: 15.69 kB / 406.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4919, allocations: 217.1 kB / 407 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4919, allocations: 3.938 kB / 407 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.4919, allocations: 3.844 kB / 407 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.492, allocations: 36.91 kB / 407.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.524e-06/0.492, allocations: 0 / 407.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4921, allocations: 7.984 kB / 407.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.369e-06/0.4921, allocations: 3.844 kB / 407.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.4921, allocations: 7.906 kB / 407.1 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.4923, allocations: 197.9 kB / 407.3 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.4924, allocations: 22.08 kB / 407.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.4925, allocations: 16.09 kB / 407.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.4925, allocations: 3.656 kB / 407.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.4926, allocations: 58.78 kB / 407.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.423e-06/0.4926, allocations: 0 / 407.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001805/0.4928, allocations: 63.53 kB / 407.4 MB, free: 7.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.4928, allocations: 51.41 kB / 407.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.4931, allocations: 221.8 kB / 407.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4931, allocations: 29.52 kB / 407.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.4932, allocations: 168 kB / 407.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.4932, allocations: 15.72 kB / 407.9 MB, free: 7.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-06/0.4932, allocations: 3.562 kB / 407.9 MB, free: 7.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.4933, allocations: 310.8 kB / 408.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.096e-05/0.4934, allocations: 18.94 kB / 408.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.302e-05/0.4934, allocations: 15.19 kB / 408.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.726e-05/0.4935, allocations: 51.61 kB / 408.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.615e-06/0.4935, allocations: 0 / 408.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001876/0.4937, allocations: 114.3 kB / 408.4 MB, free: 6.734 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4938, allocations: 33.48 kB / 408.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.338e-06/0.4938, allocations: 0 / 408.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4938, allocations: 4 kB / 408.4 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.4939, allocations: 7.891 kB / 408.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.934e-06/0.4939, allocations: 0 / 408.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.494, allocations: 7.781 kB / 408.5 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.494, allocations: 3.844 kB / 408.5 MB, free: 6.691 MB / 314.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 5.827e-05/0.4941, allocations: 112.5 kB / 408.6 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.4941, allocations: 11.66 kB / 408.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.4943, allocations: 79.14 kB / 408.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-06/0.4943, allocations: 4 kB / 408.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.231e-06/0.4943, allocations: 4.031 kB / 408.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.465e-06/0.4943, allocations: 3.984 kB / 408.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.4945, allocations: 196 kB / 408.9 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-06/0.4945, allocations: 3.953 kB / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.4945, allocations: 7 kB / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4945, allocations: 0 / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.862e-06/0.4946, allocations: 3.812 kB / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-06/0.4946, allocations: 0 / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.006e-06/0.4946, allocations: 0 / 408.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.4947, allocations: 103.1 kB / 409 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.4948, allocations: 96.19 kB / 409.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.4948, allocations: 128 / 409.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.4949, allocations: 11.89 kB / 409.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.4949, allocations: 0 / 409.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-06/0.495, allocations: 3.844 kB / 409.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.4952, allocations: 186.7 kB / 409.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4952, allocations: 0 / 409.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.4955, allocations: 31.16 kB / 409.3 MB, free: 6 MB / 314.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.0009249/0.4964, allocations: 305.3 kB / 409.6 MB, free: 5.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4966, allocations: 103.1 kB / 409.7 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.618e-06/0.4966, allocations: 0 / 409.7 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.4967, allocations: 18.48 kB / 409.7 MB, free: 5.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.4969, allocations: 15.81 kB / 409.7 MB, free: 5.742 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.4973, allocations: 221.9 kB / 409.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.4975, allocations: 0.7108 MB / 410.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.171e-05/0.4976, allocations: 11.31 kB / 410.7 MB, free: 4.879 MB / 314.7 MB Notification: Performance of SimCode: time 1.568e-06/0.4976, allocations: 0 / 410.7 MB, free: 4.879 MB / 314.7 MB Notification: Performance of Templates: time 0.003691/0.5013, allocations: 1.714 MB / 412.4 MB, free: 4.023 MB / 314.7 MB