Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.First.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.624/1.624, allocations: 171.2 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08832, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4319, allocations: 67.85 MB / 340.4 MB, free: 6.09 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4322, allocations: 71.66 kB / 340.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.4489, allocations: 3.86 MB / 344.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.449, allocations: 0 / 344.3 MB, free: 2.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.449, allocations: 7.312 kB / 344.3 MB, free: 2.836 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008994/0.4499, allocations: 499.7 kB / 344.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.45, allocations: 8.031 kB / 344.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.4501, allocations: 27.7 kB / 344.8 MB, free: 2.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.4504, allocations: 229.8 kB / 345.1 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.4505, allocations: 19.7 kB / 345.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.744e-05/0.4506, allocations: 26.91 kB / 345.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.4511, allocations: 193.4 kB / 345.3 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.4512, allocations: 7.5 kB / 345.3 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.4512, allocations: 7.75 kB / 345.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.4512, allocations: 4 kB / 345.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.4517, allocations: 146.9 kB / 345.5 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4531, allocations: 0.6248 MB / 346.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.4535, allocations: 183.6 kB / 346.3 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.4536, allocations: 4 kB / 346.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4536, allocations: 34.56 kB / 346.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.815e-06/0.4536, allocations: 0 / 346.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002878/0.4565, allocations: 1.08 MB / 347.4 MB, free: 24 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.4566, allocations: 55.41 kB / 347.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.4569, allocations: 176.3 kB / 347.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.4569, allocations: 36.7 kB / 347.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4571, allocations: 197.7 kB / 347.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.4572, allocations: 115.3 kB / 348 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.4572, allocations: 7.438 kB / 348 MB, free: 15.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4574, allocations: 326.2 kB / 348.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.4577, allocations: 74.83 kB / 348.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.458, allocations: 113.7 kB / 348.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.4582, allocations: 84.72 kB / 348.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4583, allocations: 0 / 348.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008138/0.4591, allocations: 285.2 kB / 348.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4591, allocations: 13.05 kB / 348.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4591, allocations: 4 kB / 348.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.4594, allocations: 43.45 kB / 348.9 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.4599, allocations: 59.28 kB / 348.9 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.4619, allocations: 1.57 MB / 350.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.4622, allocations: 7.031 kB / 350.5 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.4623, allocations: 15.05 kB / 350.5 MB, free: 13.07 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.4625, allocations: 147.9 kB / 350.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.4626, allocations: 19.72 kB / 350.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.4627, allocations: 28.16 kB / 350.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4627, allocations: 4 kB / 350.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4627, allocations: 0 / 350.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4628, allocations: 7.984 kB / 350.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.4645, allocations: 0.7828 MB / 351.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.4645, allocations: 8.078 kB / 351.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.465, allocations: 67.72 kB / 351.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002095/0.4653, allocations: 35.89 kB / 351.6 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.4653, allocations: 7.375 kB / 351.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.4671, allocations: 1.386 MB / 353 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4672, allocations: 0 / 353 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4683, allocations: 489.5 kB / 353.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.4685, allocations: 111.8 kB / 353.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.4685, allocations: 7.625 kB / 353.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.4687, allocations: 7.438 kB / 353.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.4688, allocations: 31.72 kB / 353.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.4689, allocations: 19.56 kB / 353.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.4691, allocations: 129.2 kB / 353.8 MB, free: 9.953 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.4691, allocations: 0 / 353.8 MB, free: 9.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.4696, allocations: 65.88 kB / 353.9 MB, free: 9.898 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.4698, allocations: 111.3 kB / 354 MB, free: 9.785 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000964/0.4708, allocations: 349.7 kB / 354.3 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4708, allocations: 0 / 354.3 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.4713, allocations: 241.9 kB / 354.6 MB, free: 9.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.4719, allocations: 42.78 kB / 354.6 MB, free: 9.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.4739, allocations: 0.9105 MB / 355.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.4744, allocations: 0.7679 MB / 356.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4745, allocations: 27.42 kB / 356.3 MB, free: 7.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4745, allocations: 0 / 356.3 MB, free: 7.52 MB / 282.7 MB Notification: Performance of Templates: time 0.008444/0.4829, allocations: 3.684 MB / 360 MB, free: 3.863 MB / 282.7 MB