Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) 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.551/1.551, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 12 kB / 233.2 MB, free: 3.008 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07215/0.07264, allocations: 38.76 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3311/0.4038, allocations: 67.86 MB / 339.9 MB, free: 6.012 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4041, allocations: 69.09 kB / 339.9 MB, free: 5.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.42, allocations: 3.849 MB / 343.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.708e-06/0.42, allocations: 4 kB / 343.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.4201, allocations: 4 kB / 343.8 MB, free: 2.766 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.0008091/0.4209, allocations: 489.8 kB / 344.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4209, allocations: 12.03 kB / 344.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.421, allocations: 23.72 kB / 344.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4214, allocations: 239.4 kB / 344.5 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4214, allocations: 21.77 kB / 344.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.4215, allocations: 27.66 kB / 344.6 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.422, allocations: 185.9 kB / 344.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.422, allocations: 4 kB / 344.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.4221, allocations: 6.875 kB / 344.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.4221, allocations: 8.219 kB / 344.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.4225, allocations: 144.8 kB / 344.9 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4237, allocations: 0.625 MB / 345.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.4241, allocations: 186.3 kB / 345.7 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.4242, allocations: 4 kB / 345.7 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4242, allocations: 30.56 kB / 345.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.498e-06/0.4242, allocations: 0 / 345.8 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002653/0.4269, allocations: 1.084 MB / 346.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.427, allocations: 59.39 kB / 346.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.4272, allocations: 159 kB / 347.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4273, allocations: 29.14 kB / 347.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4274, allocations: 197.6 kB / 347.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4275, allocations: 115.2 kB / 347.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.4276, allocations: 3.688 kB / 347.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4277, allocations: 333.4 kB / 347.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.428, allocations: 79.2 kB / 347.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.4282, allocations: 106 kB / 347.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.4285, allocations: 89.28 kB / 348 MB, free: 14.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-06/0.4285, allocations: 0 / 348 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007115/0.4292, allocations: 284.9 kB / 348.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.4293, allocations: 4 kB / 348.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4293, allocations: 3.953 kB / 348.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.4295, allocations: 50.39 kB / 348.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.4299, allocations: 51.97 kB / 348.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.4319, allocations: 1.583 MB / 350 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.4322, allocations: 7.312 kB / 350 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.4322, allocations: 11.5 kB / 350 MB, free: 13.02 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.0002177/0.4324, allocations: 140.2 kB / 350.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.4325, allocations: 31.64 kB / 350.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.356e-05/0.4326, allocations: 26.34 kB / 350.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.917e-06/0.4326, allocations: 4 kB / 350.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.679e-06/0.4326, allocations: 4.062 kB / 350.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.891e-06/0.4327, allocations: 3.984 kB / 350.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.4343, allocations: 0.7832 MB / 351 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.4343, allocations: 3.953 kB / 351 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.4347, allocations: 67.47 kB / 351 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001748/0.4349, allocations: 32.45 kB / 351.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.435, allocations: 7.25 kB / 351.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.4366, allocations: 1.389 MB / 352.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-06/0.4366, allocations: 4.312 kB / 352.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.4376, allocations: 0.5119 MB / 353 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.4378, allocations: 116.6 kB / 353.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.4379, allocations: 11.58 kB / 353.1 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.4381, allocations: 6.938 kB / 353.1 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.4382, allocations: 22.66 kB / 353.1 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.4382, allocations: 10.73 kB / 353.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.4384, allocations: 137 kB / 353.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4384, allocations: 0 / 353.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005375/0.439, allocations: 65.88 kB / 353.3 MB, free: 9.801 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.0001847/0.4392, allocations: 120.6 kB / 353.5 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008537/0.44, allocations: 348.4 kB / 353.8 MB, free: 9.387 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.665e-06/0.44, allocations: 0 / 353.8 MB, free: 9.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.4405, allocations: 238.8 kB / 354 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.441, allocations: 42.84 kB / 354.1 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.4428, allocations: 0.8997 MB / 355 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.4434, allocations: 0.7639 MB / 355.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.4435, allocations: 27.42 kB / 355.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of SimCode: time 1.598e-06/0.4435, allocations: 0 / 355.8 MB, free: 7.426 MB / 282.7 MB Notification: Performance of Templates: time 0.007511/0.451, allocations: 3.685 MB / 359.5 MB, free: 3.766 MB / 282.7 MB