Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.222/2.222, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.028e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.4894, allocations: 95.66 MB / 460.2 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4897, allocations: 80.8 kB / 460.3 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7481/1.238, allocations: 115.7 MB / 0.5624 GB, free: 100.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.238, allocations: 0 / 0.5624 GB, free: 100.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002848/1.238, allocations: 126.3 kB / 0.5626 GB, free: 100.4 MB / 458.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.02132/1.26, allocations: 6.283 MB / 0.5687 GB, free: 98.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.26, allocations: 10.22 kB / 0.5687 GB, free: 98.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/1.274, allocations: 2.741 MB / 0.5714 GB, free: 97.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.284, allocations: 3.651 MB / 0.5749 GB, free: 96.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005816/1.285, allocations: 0.5054 MB / 0.5754 GB, free: 96.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003167/1.288, allocations: 0.6756 MB / 0.5761 GB, free: 96.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05579/1.344, allocations: 19.45 MB / 0.5951 GB, free: 89.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000431/1.345, allocations: 79.7 kB / 0.5952 GB, free: 89.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00281/1.347, allocations: 321 kB / 0.5955 GB, free: 89.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003271/1.351, allocations: 1.8 MB / 0.5972 GB, free: 89.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04596/1.397, allocations: 17.22 MB / 0.614 GB, free: 74.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09671/1.493, allocations: 70.93 MB / 0.6833 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03228/1.526, allocations: 8.548 MB / 0.6917 GB, free: 9.484 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01069/1.537, allocations: 5.615 MB / 0.6971 GB, free: 3.852 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03189/1.568, allocations: 14.92 MB / 0.7117 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.831e-05/1.569, allocations: 76.88 kB / 0.7118 GB, free: 4.656 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 8.012e-06/1.569, allocations: 0 / 0.7118 GB, free: 4.656 MB / 490.7 MB Notification: Performance of matching and sorting (n=502): time 0.611/2.18, allocations: 60.62 MB / 0.771 GB, free: 114.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/2.18, allocations: 183.1 kB / 0.7712 GB, free: 114.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009416/2.189, allocations: 4.195 MB / 0.7753 GB, free: 113.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00123/2.19, allocations: 101.2 kB / 0.7754 GB, free: 113 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002836/2.193, allocations: 4.028 MB / 0.7793 GB, free: 110 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002551/2.196, allocations: 1.802 MB / 0.7811 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/2.198, allocations: 187.2 kB / 0.7812 GB, free: 108.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008643/2.199, allocations: 0.7103 MB / 0.7819 GB, free: 108 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/2.21, allocations: 5.304 MB / 0.7871 GB, free: 106 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/2.223, allocations: 9.74 MB / 0.7966 GB, free: 95.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/2.236, allocations: 7.182 MB / 0.8036 GB, free: 89.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/2.237, allocations: 44 kB / 0.8037 GB, free: 89.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.04058/2.277, allocations: 17.57 MB / 0.8208 GB, free: 74.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/2.277, allocations: 68 kB / 0.8209 GB, free: 74.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/2.277, allocations: 152 kB / 0.821 GB, free: 74.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/2.288, allocations: 3.118 MB / 0.8241 GB, free: 72.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/2.299, allocations: 2.235 MB / 0.8263 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0302/2.33, allocations: 24.17 MB / 0.8499 GB, free: 45.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009871/2.34, allocations: 0.5727 MB / 0.8504 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002204/2.342, allocations: 0.5233 MB / 0.8509 GB, free: 44.47 MB / 490.7 MB 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 () * 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.003188/2.345, allocations: 0.7735 MB / 0.8517 GB, free: 43.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/2.346, allocations: 0.5091 MB / 0.8522 GB, free: 43.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03005/2.377, allocations: 12.92 MB / 0.8648 GB, free: 30.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.921e-05/2.377, allocations: 52 kB / 0.8649 GB, free: 30.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-05/2.377, allocations: 12 kB / 0.8649 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.832e-05/2.377, allocations: 27.91 kB / 0.8649 GB, free: 30.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05865/2.435, allocations: 25.23 MB / 0.8895 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.193e-05/2.436, allocations: 4 kB / 0.8895 GB, free: 4.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006744/2.442, allocations: 0.878 MB / 0.8904 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/2.455, allocations: 3.33 MB / 0.8936 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001261/2.456, allocations: 95.67 kB / 0.8937 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3227/2.779, allocations: 21.06 MB / 0.9143 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.9e-06/2.779, allocations: 6.703 kB / 0.9143 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04431/2.823, allocations: 20.58 MB / 0.9344 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005008/2.828, allocations: 1.557 MB / 0.9359 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/2.83, allocations: 84 kB / 0.936 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005963/2.836, allocations: 371.9 kB / 0.9364 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/2.838, allocations: 331.3 kB / 0.9367 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009237/2.839, allocations: 136.1 kB / 0.9368 GB, free: 109 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006865/2.846, allocations: 2.889 MB / 0.9396 GB, free: 108 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.155e-06/2.846, allocations: 0 / 0.9396 GB, free: 108 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01181/2.858, allocations: 1.951 MB / 0.9415 GB, free: 107.7 MB / 0.4948 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 () * 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.001578/2.859, allocations: 251 kB / 0.9418 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02845/2.888, allocations: 14.11 MB / 0.9555 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.888, allocations: 0 / 0.9555 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01642/2.904, allocations: 7.773 MB / 0.9631 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/2.909, allocations: 0.5214 MB / 0.9636 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/2.95, allocations: 16.94 MB / 0.9802 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.961, allocations: 4.955 MB / 0.985 GB, free: 87.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003897/2.965, allocations: 478.7 kB / 0.9855 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.826e-06/2.965, allocations: 0 / 0.9855 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of Templates: time 1.177/4.142, allocations: 434.4 MB / 1.41 GB, free: 59.05 MB / 0.5261 GB