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.242/2.242, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004502, allocations: 16 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.4509, allocations: 95.74 MB / 465 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4512, allocations: 75.97 kB / 465.1 MB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6592/1.11, allocations: 115.5 MB / 0.567 GB, free: 3.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.437e-06/1.11, allocations: 0 / 0.567 GB, free: 3.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002655/1.111, allocations: 128 kB / 0.5671 GB, free: 3.633 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.02127/1.132, allocations: 6.506 MB / 0.5735 GB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.132, allocations: 8.031 kB / 0.5735 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/1.147, allocations: 2.734 MB / 0.5762 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/1.158, allocations: 3.662 MB / 0.5797 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007417/1.159, allocations: 0.5015 MB / 0.5802 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003025/1.162, allocations: 0.6754 MB / 0.5809 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05815/1.22, allocations: 19.59 MB / 0.6 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003494/1.22, allocations: 79.3 kB / 0.6001 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/1.222, allocations: 311.8 kB / 0.6004 GB, free: 264 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003897/1.226, allocations: 1.812 MB / 0.6022 GB, free: 14.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05258/1.279, allocations: 17.43 MB / 0.6192 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4324/1.711, allocations: 70.91 MB / 0.6884 GB, free: 52.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03213/1.744, allocations: 8.627 MB / 0.6969 GB, free: 51.65 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02646/1.77, allocations: 14.87 MB / 0.7114 GB, free: 48.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/1.77, allocations: 75.31 kB / 0.7115 GB, free: 48.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=355): time 8.216e-06/1.77, allocations: 3.25 kB / 0.7115 GB, free: 48.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=502): time 0.4358/2.206, allocations: 94.55 MB / 0.8038 GB, free: 15.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/2.206, allocations: 180 kB / 0.804 GB, free: 14.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/2.217, allocations: 4.242 MB / 0.8081 GB, free: 10.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001214/2.218, allocations: 101.7 kB / 0.8082 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004399/2.223, allocations: 4.029 MB / 0.8121 GB, free: 6.695 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003078/2.226, allocations: 1.803 MB / 0.8139 GB, free: 4.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/2.227, allocations: 184 kB / 0.8141 GB, free: 4.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001003/2.228, allocations: 0.7036 MB / 0.8148 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01352/2.242, allocations: 5.447 MB / 0.8201 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01841/2.26, allocations: 9.874 MB / 0.8297 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3088/2.569, allocations: 7.262 MB / 0.8368 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/2.569, allocations: 47.34 kB / 0.8369 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.08164/2.651, allocations: 17.82 MB / 0.8543 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000255/2.651, allocations: 71.66 kB / 0.8543 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004017/2.652, allocations: 151 kB / 0.8545 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01643/2.668, allocations: 3.125 MB / 0.8575 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/2.679, allocations: 2.238 MB / 0.8597 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03245/2.712, allocations: 24.79 MB / 0.8839 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009398/2.721, allocations: 0.5677 MB / 0.8845 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002304/2.724, allocations: 0.5204 MB / 0.885 GB, free: 103.2 MB / 0.4948 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.008343/2.732, allocations: 3.091 MB / 0.888 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/2.734, allocations: 0.5107 MB / 0.8885 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03271/2.766, allocations: 13.13 MB / 0.9013 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.235e-05/2.767, allocations: 51.06 kB / 0.9014 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.367e-05/2.767, allocations: 11.72 kB / 0.9014 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/2.767, allocations: 32.19 kB / 0.9014 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05986/2.827, allocations: 25.38 MB / 0.9262 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.63e-05/2.827, allocations: 6.5 kB / 0.9262 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006887/2.834, allocations: 0.876 MB / 0.9271 GB, free: 82.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01173/2.845, allocations: 3.336 MB / 0.9303 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.847, allocations: 95.47 kB / 0.9304 GB, free: 79.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02582/2.872, allocations: 21.66 MB / 0.9516 GB, free: 59.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.233e-06/2.872, allocations: 8 kB / 0.9516 GB, free: 59.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04074/2.913, allocations: 20.84 MB / 0.9719 GB, free: 40.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004654/2.918, allocations: 1.554 MB / 0.9734 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/2.92, allocations: 91.95 kB / 0.9735 GB, free: 39.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005512/2.925, allocations: 366 kB / 0.9739 GB, free: 39.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/2.927, allocations: 332.2 kB / 0.9742 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008005/2.928, allocations: 132.7 kB / 0.9743 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006538/2.934, allocations: 2.94 MB / 0.9772 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.148e-06/2.935, allocations: 0 / 0.9772 GB, free: 36.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01152/2.946, allocations: 1.937 MB / 0.9791 GB, free: 34.43 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 () * 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.001577/2.948, allocations: 268 kB / 0.9793 GB, free: 34.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02833/2.976, allocations: 14.35 MB / 0.9934 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/2.976, allocations: 7.844 kB / 0.9934 GB, free: 21.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01721/2.993, allocations: 7.887 MB / 1.001 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/2.997, allocations: 0.5181 MB / 1.002 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3397/3.337, allocations: 22.29 MB / 1.023 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/3.348, allocations: 4.959 MB / 1.028 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003831/3.352, allocations: 480.2 kB / 1.029 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.815e-06/3.352, allocations: 0 / 1.029 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of Templates: time 1.161/4.514, allocations: 434.3 MB / 1.453 GB, free: 133.4 MB / 0.5261 GB