Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.SpringDamperParallel,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pm3.r_0.1.|pm3.r_0.2.|pm3.r_0.3.|pm3.v_0.1.|pm3.v_0.2.|pm3.v_0.3.|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel") Notification: Performance of loadModel(ModelicaTest): time 2.679/2.679, allocations: 234.9 MB / 251.1 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004685, allocations: 12 kB / 314.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4595, allocations: 54.87 MB / 369.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.6891, allocations: 95.73 MB / 465.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.6894, allocations: 75.97 kB / 465.6 MB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.759/1.449, allocations: 115.7 MB / 0.5677 GB, free: 65.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.135e-06/1.449, allocations: 0 / 0.5677 GB, free: 65.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003116/1.449, allocations: 124 kB / 0.5678 GB, free: 65.49 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02695/1.476, allocations: 6.502 MB / 0.5742 GB, free: 58.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.476, allocations: 12.02 kB / 0.5742 GB, free: 58.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/1.495, allocations: 2.737 MB / 0.5769 GB, free: 56.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.507, allocations: 3.651 MB / 0.5804 GB, free: 52.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007023/1.508, allocations: 0.5092 MB / 0.5809 GB, free: 51.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00405/1.512, allocations: 0.6831 MB / 0.5816 GB, free: 51.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07005/1.582, allocations: 19.63 MB / 0.6008 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005265/1.583, allocations: 83.23 kB / 0.6008 GB, free: 30.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003662/1.587, allocations: 319.8 kB / 0.6011 GB, free: 30.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004279/1.591, allocations: 1.808 MB / 0.6029 GB, free: 28.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06223/1.653, allocations: 17.43 MB / 0.6199 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5278/2.181, allocations: 70.91 MB / 0.6892 GB, free: 70.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03883/2.22, allocations: 8.61 MB / 0.6976 GB, free: 70.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03325/2.253, allocations: 14.88 MB / 0.7121 GB, free: 67.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.624e-05/2.253, allocations: 79.09 kB / 0.7122 GB, free: 67.53 MB / 474.7 MB Notification: Performance of pre-optimization done (n=355): time 8.826e-06/2.253, allocations: 3.062 kB / 0.7122 GB, free: 67.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=502): time 0.612/2.866, allocations: 95.16 MB / 0.8051 GB, free: 8.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/2.866, allocations: 183.5 kB / 0.8053 GB, free: 8.453 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/2.877, allocations: 4.752 MB / 0.8099 GB, free: 3.707 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001589/2.879, allocations: 101.7 kB / 0.81 GB, free: 3.602 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003598/2.883, allocations: 4.032 MB / 0.814 GB, free: 15.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003953/2.887, allocations: 1.793 MB / 0.8157 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002274/2.889, allocations: 192 kB / 0.8159 GB, free: 13.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001169/2.89, allocations: 0.7036 MB / 0.8166 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01674/2.907, allocations: 5.441 MB / 0.8219 GB, free: 7.449 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02749/2.934, allocations: 9.909 MB / 0.8316 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02108/2.956, allocations: 7.27 MB / 0.8387 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001972/2.956, allocations: 44 kB / 0.8387 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.06178/3.018, allocations: 17.79 MB / 0.8561 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/3.018, allocations: 70.81 kB / 0.8562 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002953/3.018, allocations: 152 kB / 0.8563 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/3.034, allocations: 3.089 MB / 0.8593 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01726/3.051, allocations: 2.246 MB / 0.8615 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4116/3.463, allocations: 24.78 MB / 0.8857 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/3.475, allocations: 0.5613 MB / 0.8863 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002768/3.478, allocations: 0.5196 MB / 0.8868 GB, free: 150.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[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 (1126): * Single equations (assignments): 1113 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01031/3.488, allocations: 3.085 MB / 0.8898 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002007/3.49, allocations: 0.507 MB / 0.8903 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04194/3.532, allocations: 13.09 MB / 0.9031 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-05/3.532, allocations: 51.59 kB / 0.9031 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.825e-05/3.532, allocations: 15.22 kB / 0.9031 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001303/3.532, allocations: 28.42 kB / 0.9032 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07545/3.608, allocations: 25.32 MB / 0.9279 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.918e-05/3.608, allocations: 3.719 kB / 0.9279 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009339/3.617, allocations: 0.8793 MB / 0.9287 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01593/3.633, allocations: 3.302 MB / 0.932 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001468/3.635, allocations: 96.64 kB / 0.9321 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0316/3.666, allocations: 21.66 MB / 0.9532 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/3.666, allocations: 3.875 kB / 0.9532 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05321/3.72, allocations: 20.3 MB / 0.973 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005639/3.725, allocations: 1.555 MB / 0.9746 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002791/3.728, allocations: 91.59 kB / 0.9747 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007818/3.736, allocations: 361.7 kB / 0.975 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002021/3.738, allocations: 332.1 kB / 0.9753 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009728/3.739, allocations: 126.5 kB / 0.9754 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007309/3.746, allocations: 2.937 MB / 0.9783 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.71e-07/3.747, allocations: 0 / 0.9783 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01185/3.758, allocations: 1.951 MB / 0.9802 GB, free: 104 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[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 (419): * Single equations (assignments): 401 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/3.76, allocations: 256.9 kB / 0.9805 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03411/3.794, allocations: 14.35 MB / 0.9945 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/3.794, allocations: 0 / 0.9945 GB, free: 91.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02128/3.816, allocations: 7.887 MB / 1.002 GB, free: 84.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005093/3.821, allocations: 0.5195 MB / 1.003 GB, free: 83.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05281/3.874, allocations: 22.35 MB / 1.024 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01181/3.886, allocations: 4.953 MB / 1.029 GB, free: 59.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005083/3.891, allocations: 479.3 kB / 1.03 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of SimCode: time 2.244e-06/3.891, allocations: 0 / 1.03 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of Templates: time 1.769/5.66, allocations: 434.3 MB / 1.454 GB, free: 153.4 MB / 0.5417 GB