Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003774, allocations: 16 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08402/0.08443, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4403, allocations: 67.85 MB / 340.5 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.4407, allocations: 79.7 kB / 340.5 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4573, allocations: 3.671 MB / 344.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4574, allocations: 4 kB / 344.2 MB, free: 2.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.4574, allocations: 4 kB / 344.2 MB, free: 2.406 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009504/0.4584, allocations: 496.5 kB / 344.7 MB, free: 1.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4584, allocations: 12.03 kB / 344.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.967e-05/0.4585, allocations: 23.72 kB / 344.7 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.4589, allocations: 229.1 kB / 345 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.459, allocations: 19.39 kB / 345 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.459, allocations: 19.62 kB / 345 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.4596, allocations: 208.4 kB / 345.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.4597, allocations: 7.906 kB / 345.2 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.4597, allocations: 10.5 kB / 345.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4597, allocations: 4.219 kB / 345.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.4602, allocations: 130.7 kB / 345.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.4617, allocations: 0.706 MB / 346.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004177/0.4622, allocations: 152.8 kB / 346.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4622, allocations: 4 kB / 346.2 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.4623, allocations: 38.56 kB / 346.3 MB, free: 500 kB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.826e-06/0.4623, allocations: 0 / 346.3 MB, free: 500 kB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.002721/0.465, allocations: 0.8887 MB / 347.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4651, allocations: 59.16 kB / 347.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.4654, allocations: 172 kB / 347.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4654, allocations: 32.33 kB / 347.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4656, allocations: 148.7 kB / 347.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.4657, allocations: 86.61 kB / 347.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.4657, allocations: 7.438 kB / 347.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.4659, allocations: 338 kB / 348 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4661, allocations: 53.91 kB / 348 MB, free: 14.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4663, allocations: 103 kB / 348.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.4666, allocations: 78.02 kB / 348.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4666, allocations: 0 / 348.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007083/0.4673, allocations: 256.3 kB / 348.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4674, allocations: 4.625 kB / 348.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4674, allocations: 0 / 348.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002333/0.4676, allocations: 32.28 kB / 348.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.468, allocations: 55.53 kB / 348.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.4698, allocations: 1.394 MB / 349.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.47, allocations: 7.719 kB / 349.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.47, allocations: 8 kB / 350 MB, free: 12.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001942/0.4702, allocations: 135.9 kB / 350.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.4703, allocations: 27.42 kB / 350.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.4704, allocations: 20.69 kB / 350.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4704, allocations: 0 / 350.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4704, allocations: 3.953 kB / 350.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4704, allocations: 4 kB / 350.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.4718, allocations: 0.6576 MB / 350.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4718, allocations: 0 / 350.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.4723, allocations: 47.61 kB / 350.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002336/0.4725, allocations: 36.64 kB / 350.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.4726, allocations: 7.688 kB / 350.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.4744, allocations: 1.398 MB / 352.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4744, allocations: 4 kB / 352.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.4757, allocations: 408.9 kB / 352.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.476, allocations: 103.2 kB / 352.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.476, allocations: 11.83 kB / 352.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.4763, allocations: 4 kB / 352.8 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.4765, allocations: 23.28 kB / 352.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.4765, allocations: 4 kB / 352.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.4767, allocations: 133.5 kB / 353 MB, free: 10.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.4768, allocations: 0 / 353 MB, free: 10.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006765/0.4775, allocations: 58.38 kB / 353 MB, free: 9.965 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.0002207/0.4777, allocations: 106.5 kB / 353.1 MB, free: 9.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.4789, allocations: 303.5 kB / 353.4 MB, free: 9.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.4789, allocations: 0 / 353.4 MB, free: 9.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007062/0.4796, allocations: 212.7 kB / 353.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.4804, allocations: 28.8 kB / 353.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.4828, allocations: 0.8275 MB / 354.5 MB, free: 8.551 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.4833, allocations: 0.7518 MB / 355.2 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.4834, allocations: 21.94 kB / 355.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.4835, allocations: 19.44 kB / 355.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4835, allocations: 0 / 355.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of Templates: time 0.008477/0.492, allocations: 2.156 MB / 357.4 MB, free: 5.586 MB / 282.7 MB