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.613/1.613, allocations: 171.2 MB / 184.2 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.833e-05, allocations: 4 kB / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3391, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4479, allocations: 67.77 MB / 335.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4481, allocations: 63.97 kB / 335.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.4641, allocations: 3.845 MB / 339.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4642, allocations: 0 / 339.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.4642, allocations: 12 kB / 339.3 MB, free: 1.648 MB / 282.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.0007217/0.465, allocations: 470.2 kB / 339.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.465, allocations: 8.031 kB / 339.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.4651, allocations: 27.72 kB / 339.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.4655, allocations: 231.4 kB / 340 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.4655, allocations: 16.44 kB / 340 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.4656, allocations: 31.95 kB / 340 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.466, allocations: 183.2 kB / 340.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.466, allocations: 7.906 kB / 340.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.4661, allocations: 8 kB / 340.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4661, allocations: 4 kB / 340.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.4664, allocations: 121.7 kB / 340.4 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.4677, allocations: 0.6347 MB / 341 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.4681, allocations: 166.6 kB / 341.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.4684, allocations: 102 kB / 341.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.4684, allocations: 4 kB / 341.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4685, allocations: 34.56 kB / 341.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.2e-06/0.4685, allocations: 0 / 341.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002337/0.4708, allocations: 0.9804 MB / 342.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4709, allocations: 51.41 kB / 342.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.4711, allocations: 165.4 kB / 342.5 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.4712, allocations: 37.64 kB / 342.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.4713, allocations: 198.9 kB / 342.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4715, allocations: 114.3 kB / 342.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.4715, allocations: 8 kB / 342.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4717, allocations: 331 kB / 343.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.4719, allocations: 64 kB / 343.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.4721, allocations: 98.53 kB / 343.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.4723, allocations: 77.31 kB / 343.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-06/0.4723, allocations: 0 / 343.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006681/0.473, allocations: 267.9 kB / 343.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4731, allocations: 4 kB / 343.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.946e-06/0.4731, allocations: 0 / 343.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.4733, allocations: 48.78 kB / 343.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.4737, allocations: 59.91 kB / 343.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.4757, allocations: 1.561 MB / 345.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.4759, allocations: 16.02 kB / 345.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.476, allocations: 8 kB / 345.3 MB, free: 11.12 MB / 298.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 () * 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.0001308/0.4761, allocations: 121 kB / 345.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.4762, allocations: 27.67 kB / 345.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.608e-05/0.4763, allocations: 30.77 kB / 345.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-06/0.4763, allocations: 4.188 kB / 345.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.703e-06/0.4763, allocations: 4 kB / 345.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-06/0.4763, allocations: 0 / 345.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.4779, allocations: 0.7744 MB / 346.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4779, allocations: 0 / 346.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.4783, allocations: 67.95 kB / 346.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.4785, allocations: 36.83 kB / 346.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.4786, allocations: 8 kB / 346.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.4802, allocations: 1.374 MB / 347.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.301e-06/0.4802, allocations: 0 / 347.8 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.4811, allocations: 499.7 kB / 348.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.4813, allocations: 112.9 kB / 348.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.4814, allocations: 11.94 kB / 348.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4816, allocations: 12 kB / 348.4 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.4817, allocations: 27.91 kB / 348.4 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4817, allocations: 8 kB / 348.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.4819, allocations: 128.5 kB / 348.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.4819, allocations: 0 / 348.6 MB, free: 7.605 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005417/0.4825, allocations: 72 kB / 348.6 MB, free: 7.535 MB / 298.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 () * 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.0001822/0.4827, allocations: 107.2 kB / 348.7 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007808/0.4835, allocations: 334.4 kB / 349.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.975e-06/0.4835, allocations: 0 / 349.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.4839, allocations: 234.4 kB / 349.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.4844, allocations: 37.47 kB / 349.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.4858, allocations: 0.6176 MB / 350 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.4863, allocations: 0.7603 MB / 350.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.4864, allocations: 19.44 kB / 350.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of SimCode: time 1.64e-06/0.4864, allocations: 0 / 350.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of Templates: time 0.00739/0.4938, allocations: 3.68 MB / 354.4 MB, free: 1.66 MB / 298.7 MB