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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.145/2.145, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.925e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3075, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4537, allocations: 94.99 MB / 453 MB, free: 15.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.454, allocations: 75.95 kB / 453.1 MB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6203/1.074, allocations: 112.2 MB / 0.552 GB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.167e-06/1.074, allocations: 0 / 0.552 GB, free: 15.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002687/1.075, allocations: 128 kB / 0.5522 GB, free: 15.29 MB / 394.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.01976/1.094, allocations: 6.277 MB / 0.5583 GB, free: 8.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.094, allocations: 12.02 kB / 0.5583 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/1.108, allocations: 2.742 MB / 0.561 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009679/1.118, allocations: 3.65 MB / 0.5645 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/1.118, allocations: 228 kB / 0.5648 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002885/1.121, allocations: 395.9 kB / 0.5651 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02451/1.146, allocations: 10.45 MB / 0.5753 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03746/1.183, allocations: 14.94 MB / 0.5899 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003527/1.184, allocations: 79.3 kB / 0.59 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001952/1.186, allocations: 36 kB / 0.59 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003736/1.189, allocations: 1.804 MB / 0.5918 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3961/1.585, allocations: 69.11 MB / 0.6593 GB, free: 56.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/1.596, allocations: 7.205 MB / 0.6663 GB, free: 56.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008053/1.604, allocations: 5.447 MB / 0.6717 GB, free: 56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/1.605, allocations: 1.102 MB / 0.6727 GB, free: 55.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/1.605, allocations: 77.73 kB / 0.6728 GB, free: 55.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=361): time 8.825e-06/1.605, allocations: 0 / 0.6728 GB, free: 55.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=508): time 0.1833/1.789, allocations: 59.84 MB / 0.7312 GB, free: 30.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/1.789, allocations: 262.5 kB / 0.7315 GB, free: 30.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006699/1.796, allocations: 3.339 MB / 0.7348 GB, free: 27.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001212/1.797, allocations: 25.7 kB / 0.7348 GB, free: 27.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002743/1.8, allocations: 4.163 MB / 0.7388 GB, free: 23.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002427/1.802, allocations: 1.761 MB / 0.7406 GB, free: 22.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/1.803, allocations: 0 / 0.7406 GB, free: 22.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008877/1.804, allocations: 0.7164 MB / 0.7413 GB, free: 21.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01005/1.814, allocations: 5.291 MB / 0.7464 GB, free: 16.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/1.828, allocations: 9.824 MB / 0.756 GB, free: 5.801 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01449/1.842, allocations: 7.248 MB / 0.7631 GB, free: 0 / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005303/1.843, allocations: 68.44 kB / 0.7632 GB, free: 0 / 458.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.04623/1.889, allocations: 16.9 MB / 0.7797 GB, free: 2.066 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.889, allocations: 72 kB / 0.7797 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002505/1.889, allocations: 156.9 kB / 0.7799 GB, free: 1.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/1.901, allocations: 3.077 MB / 0.7829 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01212/1.913, allocations: 2.32 MB / 0.7852 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03661/1.95, allocations: 22.62 MB / 0.8072 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009855/1.96, allocations: 431.2 kB / 0.8077 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002552/1.962, allocations: 0.5285 MB / 0.8082 GB, free: 6.723 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * 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 (1156): * Single equations (assignments): 1143 * 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.004071/1.967, allocations: 0.5229 MB / 0.8087 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002037/1.969, allocations: 458.2 kB / 0.8091 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3278/2.296, allocations: 12.67 MB / 0.8215 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/2.297, allocations: 55.72 kB / 0.8215 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.595e-05/2.297, allocations: 16.72 kB / 0.8216 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/2.297, allocations: 21.38 kB / 0.8216 GB, free: 123 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05734/2.354, allocations: 24.38 MB / 0.8454 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.445e-05/2.354, allocations: 3.625 kB / 0.8454 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006731/2.361, allocations: 0.8958 MB / 0.8463 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01302/2.374, allocations: 3.275 MB / 0.8495 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001257/2.375, allocations: 24.88 kB / 0.8495 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02471/2.4, allocations: 20 MB / 0.869 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.206e-06/2.4, allocations: 6.75 kB / 0.869 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04045/2.441, allocations: 20.44 MB / 0.889 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004693/2.445, allocations: 1.512 MB / 0.8905 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00185/2.447, allocations: 7.812 kB / 0.8905 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005426/2.453, allocations: 303.8 kB / 0.8908 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001769/2.455, allocations: 330.1 kB / 0.8911 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001009/2.456, allocations: 127.7 kB / 0.8912 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004865/2.46, allocations: 2.176 MB / 0.8933 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.086e-06/2.461, allocations: 0 / 0.8933 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01126/2.472, allocations: 1.686 MB / 0.895 GB, free: 98.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (425): * Single equations (assignments): 407 * 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.001537/2.473, allocations: 170.2 kB / 0.8951 GB, free: 98.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02526/2.499, allocations: 13.93 MB / 0.9087 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.76e-06/2.499, allocations: 0 / 0.9087 GB, free: 87.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01515/2.514, allocations: 7.776 MB / 0.9163 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/2.517, allocations: 323.1 kB / 0.9166 GB, free: 80.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03855/2.556, allocations: 16.91 MB / 0.9332 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/2.567, allocations: 4.941 MB / 0.938 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003842/2.57, allocations: 459.4 kB / 0.9384 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of SimCode: time 2.177e-06/2.57, allocations: 0 / 0.9384 GB, free: 61.62 MB / 0.4948 GB Notification: Performance of Templates: time 1.213/3.784, allocations: 430.8 MB / 1.359 GB, free: 22.66 MB / 0.5261 GB