Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.011/1.011, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003548, allocations: 16 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05342/0.0538, allocations: 25.16 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/0.2746, allocations: 46.07 MB / 230.1 MB, free: 0.6406 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.2749, allocations: 76.27 kB / 230.2 MB, free: 0.6016 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187/4.462, allocations: 460.5 MB / 0.6745 GB, free: 40.74 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.254e-06/4.462, allocations: 0 / 0.6745 GB, free: 40.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003242/4.462, allocations: 101.2 kB / 0.6746 GB, free: 40.74 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2015 * Number of variables: 2015 Notification: Performance of Generate backend data structure: time 0.3093/4.771, allocations: 40.33 MB / 0.714 GB, free: 37.86 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/4.771, allocations: 7.531 kB / 0.714 GB, free: 37.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 10.23/15, allocations: 0.988 GB / 1.702 GB, free: 44.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06277/15.06, allocations: 16.98 MB / 1.719 GB, free: 43.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006699/15.06, allocations: 433.6 kB / 1.719 GB, free: 43.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01824/15.08, allocations: 0.5423 MB / 1.719 GB, free: 43.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.997/18.08, allocations: 318.8 MB / 2.031 GB, free: 41.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003514/18.08, allocations: 36.59 kB / 2.031 GB, free: 41.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01655/18.09, allocations: 251.5 kB / 2.031 GB, free: 41.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007103/18.1, allocations: 1.785 MB / 2.033 GB, free: 41.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973/24.07, allocations: 0.6081 GB / 2.641 GB, free: 41.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.207/31.28, allocations: 0.9051 GB / 3.546 GB, free: 61.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7751/32.06, allocations: 97.26 MB / 3.641 GB, free: 32.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309/33.37, allocations: 161.1 MB / 3.798 GB, free: 51.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.194e-05/33.37, allocations: 56.88 kB / 3.798 GB, free: 51.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=210): time 7.344e-06/33.37, allocations: 0 / 3.798 GB, free: 51.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=217): time 2.321/35.69, allocations: 228.2 MB / 4.021 GB, free: 49.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001349/35.69, allocations: 1.604 MB / 4.023 GB, free: 48.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2579/35.95, allocations: 10.23 MB / 4.033 GB, free: 64.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004697/35.95, allocations: 55.08 kB / 4.033 GB, free: 64.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003585/35.96, allocations: 3.911 MB / 4.037 GB, free: 62.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005604/35.96, allocations: 0.8684 MB / 4.037 GB, free: 61.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006056/35.97, allocations: 161.5 kB / 4.038 GB, free: 61.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0007255/35.97, allocations: 0.6479 MB / 4.038 GB, free: 61.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6131/36.58, allocations: 75.41 MB / 4.112 GB, free: 53.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8129/37.39, allocations: 80.41 MB / 4.19 GB, free: 58.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.7333/38.13, allocations: 61.59 MB / 4.251 GB, free: 58.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/38.13, allocations: 54.3 kB / 4.251 GB, free: 58.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=1047) (initialization): time 1.385/39.51, allocations: 142.6 MB / 4.39 GB, free: 55.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/39.51, allocations: 80.22 kB / 4.39 GB, free: 55.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.6007/40.11, allocations: 39.26 MB / 4.428 GB, free: 57.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009832/40.12, allocations: 1.581 MB / 4.43 GB, free: 57.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2867/40.41, allocations: 31.63 MB / 4.461 GB, free: 57.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007518/40.42, allocations: 5.261 MB / 4.466 GB, free: 54.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3205/40.74, allocations: 32.68 MB / 4.498 GB, free: 48.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007874/40.75, allocations: 1.41 MB / 4.499 GB, free: 47.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (981): * Single equations (assignments): 971 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.01586/40.76, allocations: 2.575 MB / 4.502 GB, free: 45.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006587/40.77, allocations: 418.9 kB / 4.502 GB, free: 45.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5152/41.28, allocations: 31.7 MB / 4.533 GB, free: 56.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2988/41.58, allocations: 30.03 MB / 4.562 GB, free: 56.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/41.58, allocations: 0 / 4.562 GB, free: 56.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.607e-05/41.58, allocations: 13.17 kB / 4.562 GB, free: 56.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04736/41.63, allocations: 32.5 MB / 4.594 GB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/41.63, allocations: 3.25 kB / 4.594 GB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2539/41.88, allocations: 27.84 MB / 4.621 GB, free: 22.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00911/41.89, allocations: 1.42 MB / 4.623 GB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00547/41.9, allocations: 0.8105 MB / 4.623 GB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.221/42.12, allocations: 5.828 MB / 4.629 GB, free: 54.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001193/42.12, allocations: 1.468 MB / 4.631 GB, free: 52.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.094/44.22, allocations: 204.5 MB / 4.83 GB, free: 56.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003093/44.22, allocations: 0.7579 MB / 4.831 GB, free: 56.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007893/44.23, allocations: 40.33 kB / 4.831 GB, free: 56.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2703/44.5, allocations: 28.21 MB / 4.859 GB, free: 56.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009074/44.5, allocations: 131.6 kB / 4.859 GB, free: 56.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005416/44.5, allocations: 0.8681 MB / 4.86 GB, free: 56.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.06061/44.56, allocations: 8.083 MB / 4.867 GB, free: 56.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.573e-06/44.56, allocations: 2.062 kB / 4.867 GB, free: 56.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.02635/44.59, allocations: 2.79 MB / 4.87 GB, free: 56.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (152): * Single equations (assignments): 144 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.00466/44.59, allocations: 192.5 kB / 4.87 GB, free: 56.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 1.448/46.04, allocations: 148 MB / 5.015 GB, free: 36.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/46.04, allocations: 8 kB / 5.015 GB, free: 36.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.7923/46.83, allocations: 70.84 MB / 5.084 GB, free: 59.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007354/46.84, allocations: 387.1 kB / 5.085 GB, free: 59.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7913/47.63, allocations: 82.04 MB / 5.165 GB, free: 54.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009045/47.64, allocations: 3.962 MB / 5.169 GB, free: 53.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03267/47.68, allocations: 3.024 MB / 5.171 GB, free: 53.51 MB / 298.7 MB Notification: Performance of SimCode: time 1.713e-06/47.68, allocations: 0 / 5.171 GB, free: 53.51 MB / 298.7 MB Notification: Performance of Templates: time 1.758/49.43, allocations: 416.7 MB / 5.578 GB, free: 91.97 MB / 346.7 MB