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.SpringDamperSeries.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.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries") Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.619e-05, allocations: 0 / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 54.86 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.4689, allocations: 96.84 MB / 461.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4692, allocations: 76.64 kB / 461.5 MB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2825/0.7517, allocations: 64.53 MB / 0.5137 GB, free: 14.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.7517, allocations: 4 kB / 0.5137 GB, free: 14.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.7519, allocations: 68 kB / 0.5137 GB, free: 14.49 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: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01069/0.7626, allocations: 3.359 MB / 0.517 GB, free: 11.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.7627, allocations: 15.97 kB / 0.517 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.775, allocations: 2.023 MB / 0.519 GB, free: 9.027 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/0.7809, allocations: 1.943 MB / 0.5209 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004164/0.7813, allocations: 279.3 kB / 0.5212 GB, free: 6.762 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.7831, allocations: 363.8 kB / 0.5215 GB, free: 6.406 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2829/1.066, allocations: 10.38 MB / 0.5316 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001841/1.066, allocations: 48.56 kB / 0.5317 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008933/1.067, allocations: 177 kB / 0.5319 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/1.069, allocations: 0.9873 MB / 0.5328 GB, free: 108.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/1.092, allocations: 8.881 MB / 0.5415 GB, free: 108.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04995/1.142, allocations: 43.35 MB / 0.5838 GB, free: 79.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.156, allocations: 3.979 MB / 0.5877 GB, free: 78.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003461/1.159, allocations: 2.205 MB / 0.5899 GB, free: 77.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008966/1.168, allocations: 5.116 MB / 0.5949 GB, free: 74.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/1.168, allocations: 54.69 kB / 0.5949 GB, free: 74.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=161): time 5.678e-06/1.168, allocations: 0 / 0.5949 GB, free: 74.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=204): time 0.07628/1.245, allocations: 21.11 MB / 0.6155 GB, free: 67.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.245, allocations: 153.8 kB / 0.6157 GB, free: 67.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005517/1.25, allocations: 2.799 MB / 0.6184 GB, free: 64.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004132/1.251, allocations: 53.7 kB / 0.6185 GB, free: 64.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/1.252, allocations: 2.566 MB / 0.621 GB, free: 62.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.253, allocations: 0.7624 MB / 0.6217 GB, free: 61.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/1.254, allocations: 112 kB / 0.6218 GB, free: 61.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003331/1.254, allocations: 0.5409 MB / 0.6224 GB, free: 60.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/1.259, allocations: 2.418 MB / 0.6247 GB, free: 58.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006243/1.265, allocations: 5.593 MB / 0.6302 GB, free: 51.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006498/1.272, allocations: 3.667 MB / 0.6338 GB, free: 48.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.379e-05/1.272, allocations: 32 kB / 0.6338 GB, free: 48.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.01858/1.29, allocations: 8.563 MB / 0.6421 GB, free: 40.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.272e-05/1.29, allocations: 59.12 kB / 0.6422 GB, free: 40.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/1.291, allocations: 112 kB / 0.6423 GB, free: 40.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003378/1.294, allocations: 1.046 MB / 0.6433 GB, free: 39.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005765/1.3, allocations: 1.314 MB / 0.6446 GB, free: 38.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/1.306, allocations: 5.365 MB / 0.6499 GB, free: 32.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005354/1.311, allocations: 311.5 kB / 0.6502 GB, free: 32.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009549/1.312, allocations: 337.4 kB / 0.6505 GB, free: 32.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[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 (686): * Single equations (assignments): 679 * 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: 2 * 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: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001027/1.313, allocations: 0.5161 MB / 0.651 GB, free: 31.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006918/1.314, allocations: 296.1 kB / 0.6513 GB, free: 31.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008806/1.323, allocations: 4.335 MB / 0.6555 GB, free: 27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-05/1.323, allocations: 20 kB / 0.6555 GB, free: 26.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.323, allocations: 4 kB / 0.6555 GB, free: 26.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-05/1.323, allocations: 11.97 kB / 0.6555 GB, free: 26.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/1.342, allocations: 9.338 MB / 0.6646 GB, free: 17.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/1.342, allocations: 0 / 0.6646 GB, free: 17.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/1.345, allocations: 359.5 kB / 0.665 GB, free: 17.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/1.348, allocations: 0.8743 MB / 0.6658 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00043/1.348, allocations: 36 kB / 0.6659 GB, free: 16.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005262/1.354, allocations: 4.724 MB / 0.6705 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.177e-06/1.354, allocations: 0 / 0.6705 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.367, allocations: 7.612 MB / 0.6779 GB, free: 3.691 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/1.369, allocations: 0.7266 MB / 0.6786 GB, free: 2.945 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000778/1.37, allocations: 32 kB / 0.6787 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.372, allocations: 119.7 kB / 0.6788 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004921/1.373, allocations: 121.1 kB / 0.6789 GB, free: 2.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.373, allocations: 55.94 kB / 0.6789 GB, free: 2.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003807/1.377, allocations: 1.912 MB / 0.6808 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.377, allocations: 0 / 0.6808 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00598/1.383, allocations: 0.9373 MB / 0.6817 GB, free: 15.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (171): * Single equations (assignments): 164 * 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: 2 * 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: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006501/1.384, allocations: 178.9 kB / 0.6819 GB, free: 15.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01434/1.398, allocations: 6.324 MB / 0.6881 GB, free: 9.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.89e-06/1.398, allocations: 0 / 0.6881 GB, free: 9.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007047/1.405, allocations: 2.66 MB / 0.6907 GB, free: 6.504 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/1.407, allocations: 274.2 kB / 0.6909 GB, free: 6.242 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/1.426, allocations: 7.958 MB / 0.6987 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005654/1.432, allocations: 2.935 MB / 0.7016 GB, free: 11.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.434, allocations: 267.4 kB / 0.7018 GB, free: 11.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.934e-06/1.434, allocations: 0 / 0.7018 GB, free: 11.07 MB / 490.7 MB Notification: Performance of Templates: time 0.4087/1.843, allocations: 112.3 MB / 0.8115 GB, free: 74.74 MB / 490.7 MB