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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.593/1.593, allocations: 171.3 MB / 179.2 MB, free: 8.184 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.803e-05, allocations: 4 kB / 222.5 MB, free: 8.797 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06884/0.06888, allocations: 38.77 MB / 261.3 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2704/0.3393, allocations: 67.11 MB / 328.4 MB, free: 5.094 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.3396, allocations: 70.89 kB / 328.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.355, allocations: 3.807 MB / 332.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.587e-06/0.355, allocations: 3.938 kB / 332.3 MB, free: 1.941 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.3551, allocations: 4 kB / 332.3 MB, free: 1.938 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.0007101/0.3558, allocations: 475.5 kB / 332.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3558, allocations: 12.03 kB / 332.7 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.3559, allocations: 23.72 kB / 332.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.3563, allocations: 225.2 kB / 333 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3563, allocations: 8 kB / 333 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.3564, allocations: 15.95 kB / 333 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003105/0.3567, allocations: 121.4 kB / 333.1 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.357, allocations: 153.5 kB / 333.3 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.3571, allocations: 3.906 kB / 333.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3571, allocations: 0 / 333.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.311e-06/0.3571, allocations: 4 kB / 333.3 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3582, allocations: 0.5698 MB / 333.9 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.3586, allocations: 165.1 kB / 334 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3587, allocations: 81.36 kB / 334.1 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3588, allocations: 6.734 kB / 334.1 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3589, allocations: 37.75 kB / 334.1 MB, free: 200 kB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 3.125e-06/0.3589, allocations: 3.938 kB / 334.1 MB, free: 196 kB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002088/0.361, allocations: 0.902 MB / 335 MB, free: 15.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.361, allocations: 59.41 kB / 335.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3612, allocations: 140.1 kB / 335.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.3613, allocations: 25.7 kB / 335.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3614, allocations: 204.9 kB / 335.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.3615, allocations: 112.2 kB / 335.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.3615, allocations: 0 / 335.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3617, allocations: 326.6 kB / 335.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3619, allocations: 53.19 kB / 335.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.362, allocations: 91.09 kB / 336 MB, free: 14.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3622, allocations: 70.31 kB / 336.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.271e-06/0.3623, allocations: 3.953 kB / 336.1 MB, free: 14.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005912/0.3629, allocations: 239.8 kB / 336.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3629, allocations: 7.984 kB / 336.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.249e-06/0.3629, allocations: 0 / 336.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002176/0.3631, allocations: 47.97 kB / 336.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.3635, allocations: 51.97 kB / 336.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.3653, allocations: 1.515 MB / 338 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3655, allocations: 4.031 kB / 338 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.3655, allocations: 8 kB / 338 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 () * 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.0001188/0.3657, allocations: 105.1 kB / 338.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.3658, allocations: 23.88 kB / 338.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.915e-05/0.3658, allocations: 33.28 kB / 338.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-06/0.3659, allocations: 4 kB / 338.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.661e-06/0.3659, allocations: 4 kB / 338.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-06/0.3659, allocations: 0 / 338.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.3673, allocations: 0.6964 MB / 338.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.489e-06/0.3673, allocations: 7.984 kB / 338.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.3677, allocations: 58.84 kB / 338.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.3679, allocations: 36.11 kB / 338.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.368, allocations: 7.5 kB / 338.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.3694, allocations: 1.325 MB / 340.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.3695, allocations: 3.953 kB / 340.3 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.3703, allocations: 484.4 kB / 340.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.3704, allocations: 107.8 kB / 340.8 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3705, allocations: 4 kB / 340.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.3707, allocations: 4 kB / 340.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.3708, allocations: 23.86 kB / 340.9 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3708, allocations: 8 kB / 340.9 MB, free: 9.691 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.371, allocations: 117.3 kB / 341 MB, free: 9.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.371, allocations: 4 kB / 341 MB, free: 9.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.3715, allocations: 59.94 kB / 341.1 MB, free: 9.527 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 () * 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.0001747/0.3717, allocations: 103.2 kB / 341.2 MB, free: 9.418 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000669/0.3724, allocations: 299.7 kB / 341.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.49e-06/0.3724, allocations: 0 / 341.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.3728, allocations: 219.6 kB / 341.7 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.3733, allocations: 27.59 kB / 341.7 MB, free: 8.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3746, allocations: 0.6016 MB / 342.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.3751, allocations: 0.7642 MB / 343.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.3752, allocations: 31.06 kB / 343.1 MB, free: 7.535 MB / 282.7 MB Notification: Performance of SimCode: time 1.635e-06/0.3752, allocations: 0 / 343.1 MB, free: 7.535 MB / 282.7 MB Notification: Performance of Templates: time 0.007208/0.3825, allocations: 3.613 MB / 346.7 MB, free: 3.945 MB / 282.7 MB