Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.000359, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08153/0.08192, allocations: 44.51 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4109, allocations: 73.14 MB / 381.6 MB, free: 18.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.4112, allocations: 71.47 kB / 381.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01403/0.4252, allocations: 3.675 MB / 385.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.653e-06/0.4253, allocations: 0 / 385.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.4253, allocations: 8.5 kB / 385.3 MB, free: 18.31 MB / 314.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.0006371/0.4259, allocations: 494.9 kB / 385.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.426, allocations: 9.531 kB / 385.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.4261, allocations: 24.25 kB / 385.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.4263, allocations: 229.7 kB / 386.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.4264, allocations: 16.66 kB / 386.1 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.4264, allocations: 25.53 kB / 386.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.4269, allocations: 214.9 kB / 386.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.427, allocations: 1.094 kB / 386.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.427, allocations: 9.344 kB / 386.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.427, allocations: 5.625 kB / 386.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.4274, allocations: 124.5 kB / 386.5 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.4285, allocations: 0.7069 MB / 387.2 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.4289, allocations: 159.2 kB / 387.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4289, allocations: 1.938 kB / 387.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.429, allocations: 41.3 kB / 387.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.287e-06/0.429, allocations: 0 / 387.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.001966/0.431, allocations: 0.8828 MB / 388.3 MB, free: 16.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.431, allocations: 54.34 kB / 388.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4312, allocations: 170.4 kB / 388.5 MB, free: 16.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.4313, allocations: 31.2 kB / 388.5 MB, free: 16.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.4313, allocations: 200.4 kB / 388.7 MB, free: 16.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.4314, allocations: 85.64 kB / 388.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.4314, allocations: 5.344 kB / 388.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.4315, allocations: 324.3 kB / 389.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.4317, allocations: 58.25 kB / 389.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.4319, allocations: 114.1 kB / 389.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.4321, allocations: 61.03 kB / 389.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.761e-06/0.4321, allocations: 1.375 kB / 389.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000588/0.4327, allocations: 249.6 kB / 389.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4327, allocations: 5.875 kB / 389.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.803e-06/0.4328, allocations: 5.391 kB / 389.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.433, allocations: 35.94 kB / 389.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.4333, allocations: 49.42 kB / 389.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.4344, allocations: 1.39 MB / 391.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.4347, allocations: 12.69 kB / 391.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.4347, allocations: 10.81 kB / 391.1 MB, free: 14.46 MB / 314.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.0001641/0.4349, allocations: 133.8 kB / 391.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.435, allocations: 19.09 kB / 391.2 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.435, allocations: 26.61 kB / 391.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-06/0.4351, allocations: 2.969 kB / 391.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-06/0.4351, allocations: 1.359 kB / 391.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.294e-06/0.4351, allocations: 3.875 kB / 391.3 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.4362, allocations: 0.6525 MB / 391.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.198e-06/0.4363, allocations: 64 / 391.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.4366, allocations: 50 kB / 392 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.4367, allocations: 33.41 kB / 392 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4368, allocations: 3.438 kB / 392 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.4379, allocations: 1.405 MB / 393.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4379, allocations: 0 / 393.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.4386, allocations: 430.5 kB / 393.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/0.4387, allocations: 88.7 kB / 393.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.4388, allocations: 7.5 kB / 393.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.4389, allocations: 13.53 kB / 393.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.439, allocations: 21.17 kB / 394 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.439, allocations: 6.688 kB / 394 MB, free: 12.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4392, allocations: 125.3 kB / 394.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.4392, allocations: 3.938 kB / 394.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004735/0.4397, allocations: 62.08 kB / 394.2 MB, free: 12.25 MB / 314.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.0001399/0.4398, allocations: 110.4 kB / 394.3 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.4405, allocations: 298.2 kB / 394.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.801e-06/0.4405, allocations: 0 / 394.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.4409, allocations: 211.5 kB / 394.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4414, allocations: 33.5 kB / 394.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.4428, allocations: 0.8459 MB / 395.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.4431, allocations: 0.7504 MB / 396.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.4432, allocations: 23.12 kB / 396.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.921e-06/0.4432, allocations: 0 / 396.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of Templates: time 0.005927/0.4491, allocations: 3.319 MB / 399.7 MB, free: 10.45 MB / 314.7 MB