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.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_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 1.653/1.653, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004749, allocations: 11.98 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08397, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.4878, allocations: 67.84 MB / 340.5 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/0.4882, allocations: 75.28 kB / 340.5 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.5051, allocations: 3.85 MB / 344.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.941e-06/0.5052, allocations: 0 / 344.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.5052, allocations: 7.938 kB / 344.4 MB, free: 2.254 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.0009153/0.5062, allocations: 496.6 kB / 344.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5062, allocations: 12.03 kB / 344.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.5063, allocations: 27.72 kB / 344.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.5067, allocations: 231.4 kB / 345.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.5067, allocations: 19.14 kB / 345.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.5068, allocations: 26.41 kB / 345.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.5074, allocations: 194.8 kB / 345.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.5074, allocations: 8 kB / 345.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.5074, allocations: 6.75 kB / 345.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.5075, allocations: 4.219 kB / 345.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.5079, allocations: 142.5 kB / 345.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.5093, allocations: 0.6294 MB / 346.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.5097, allocations: 178.2 kB / 346.3 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.5098, allocations: 8 kB / 346.4 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.5098, allocations: 30.56 kB / 346.4 MB, free: 420 kB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.156e-06/0.5098, allocations: 0 / 346.4 MB, free: 420 kB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.003001/0.5129, allocations: 1.084 MB / 347.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.5129, allocations: 51.41 kB / 347.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.5132, allocations: 178.1 kB / 347.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.5133, allocations: 33.14 kB / 347.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5134, allocations: 139.3 kB / 347.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5135, allocations: 117 kB / 348 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.5135, allocations: 7.25 kB / 348 MB, free: 14.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5137, allocations: 337.8 kB / 348.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.514, allocations: 69.41 kB / 348.4 MB, free: 14.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.5142, allocations: 109.2 kB / 348.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.5145, allocations: 84.91 kB / 348.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5146, allocations: 3.938 kB / 348.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008651/0.5154, allocations: 297.8 kB / 348.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.5155, allocations: 11.95 kB / 348.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5155, allocations: 0 / 348.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.5158, allocations: 43.02 kB / 348.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.5163, allocations: 59.91 kB / 349 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.5184, allocations: 1.576 MB / 350.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.5187, allocations: 14.83 kB / 350.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.5187, allocations: 6.625 kB / 350.6 MB, free: 12.54 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.0002204/0.519, allocations: 147.4 kB / 350.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.5191, allocations: 19.81 kB / 350.7 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.5192, allocations: 27.78 kB / 350.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5192, allocations: 0 / 350.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.5192, allocations: 7.984 kB / 350.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5192, allocations: 0 / 350.8 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.5209, allocations: 0.7837 MB / 351.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.521, allocations: 8.031 kB / 351.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.5215, allocations: 59.84 kB / 351.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.5217, allocations: 43.12 kB / 351.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.5218, allocations: 3.438 kB / 351.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.5235, allocations: 1.392 MB / 353.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5235, allocations: 4.188 kB / 353.1 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.5247, allocations: 495.4 kB / 353.5 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.5249, allocations: 107.5 kB / 353.6 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.5249, allocations: 14.38 kB / 353.7 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.5252, allocations: 14.55 kB / 353.7 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.5253, allocations: 19.53 kB / 353.7 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5253, allocations: 11.95 kB / 353.7 MB, free: 9.535 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.5255, allocations: 134 kB / 353.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.5255, allocations: 0 / 353.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.5261, allocations: 67.75 kB / 353.9 MB, free: 9.363 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.0001963/0.5263, allocations: 121.6 kB / 354 MB, free: 9.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009961/0.5273, allocations: 347.6 kB / 354.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5273, allocations: 0 / 354.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.5279, allocations: 239.6 kB / 354.6 MB, free: 8.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.5284, allocations: 33.92 kB / 354.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.5305, allocations: 0.8807 MB / 355.5 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.5309, allocations: 0.7678 MB / 356.3 MB, free: 7.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000184/0.5311, allocations: 22.3 kB / 356.3 MB, free: 7.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.5312, allocations: 23.44 kB / 356.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5312, allocations: 0 / 356.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of Templates: time 0.009225/0.5405, allocations: 2.409 MB / 358.7 MB, free: 4.609 MB / 282.7 MB