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.18/2.18, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 16 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.4259, allocations: 96.94 MB / 466.2 MB, free: 9.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4262, allocations: 75.97 kB / 466.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4933/0.9195, allocations: 64.48 MB / 0.5183 GB, free: 54.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.132e-06/0.9196, allocations: 0 / 0.5183 GB, free: 54.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.9197, allocations: 68 kB / 0.5184 GB, free: 54.05 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: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.009656/0.9294, allocations: 3.464 MB / 0.5218 GB, free: 50.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9294, allocations: 8.031 kB / 0.5218 GB, free: 50.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.9401, allocations: 2.023 MB / 0.5238 GB, free: 48.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004844/0.945, allocations: 1.94 MB / 0.5256 GB, free: 46.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.9453, allocations: 279.3 kB / 0.5259 GB, free: 46.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.947, allocations: 375.8 kB / 0.5263 GB, free: 45.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.9712, allocations: 10.45 MB / 0.5365 GB, free: 34.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001724/0.9714, allocations: 47.61 kB / 0.5365 GB, free: 34.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001152/0.9726, allocations: 183.9 kB / 0.5367 GB, free: 34.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001506/0.9741, allocations: 0.9783 MB / 0.5376 GB, free: 33.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02102/0.9951, allocations: 9.005 MB / 0.5464 GB, free: 24.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05429/1.049, allocations: 43.35 MB / 0.5888 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.063, allocations: 4.013 MB / 0.5927 GB, free: 7.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01049/1.074, allocations: 5.124 MB / 0.5977 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/1.074, allocations: 59.5 kB / 0.5978 GB, free: 2.086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=161): time 5.946e-06/1.074, allocations: 0 / 0.5978 GB, free: 2.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=204): time 0.1052/1.179, allocations: 26.86 MB / 0.624 GB, free: 6.953 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.18, allocations: 153.8 kB / 0.6241 GB, free: 6.773 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005915/1.185, allocations: 2.811 MB / 0.6269 GB, free: 3.953 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000448/1.186, allocations: 57.7 kB / 0.6269 GB, free: 3.891 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002548/1.189, allocations: 2.563 MB / 0.6294 GB, free: 1.293 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.19, allocations: 0.7711 MB / 0.6302 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005355/1.19, allocations: 116 kB / 0.6303 GB, free: 408 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000538/1.191, allocations: 0.5423 MB / 0.6308 GB, free: 15.85 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005594/1.196, allocations: 2.463 MB / 0.6332 GB, free: 13.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009041/1.206, allocations: 5.648 MB / 0.6387 GB, free: 6.137 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00786/1.213, allocations: 3.667 MB / 0.6423 GB, free: 2.469 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.456e-05/1.214, allocations: 32 kB / 0.6424 GB, free: 2.438 MB / 474.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.2933/1.507, allocations: 8.648 MB / 0.6508 GB, free: 127.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.507, allocations: 55.38 kB / 0.6509 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/1.507, allocations: 112.4 kB / 0.651 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006518/1.514, allocations: 1.053 MB / 0.652 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/1.525, allocations: 1.318 MB / 0.6533 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.538, allocations: 5.463 MB / 0.6586 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/1.548, allocations: 308.8 kB / 0.6589 GB, free: 124.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/1.55, allocations: 342.3 kB / 0.6592 GB, free: 124.4 MB / 474.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 () * Number of clocked 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.00691/1.557, allocations: 1.831 MB / 0.661 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.558, allocations: 294.5 kB / 0.6613 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/1.578, allocations: 4.362 MB / 0.6656 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.471e-05/1.578, allocations: 27.72 kB / 0.6656 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-05/1.578, allocations: 7.203 kB / 0.6656 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.596e-05/1.578, allocations: 14.16 kB / 0.6656 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/1.604, allocations: 9.347 MB / 0.6747 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/1.604, allocations: 0 / 0.6747 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.607, allocations: 358 kB / 0.6751 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.61, allocations: 0.8761 MB / 0.6759 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/1.61, allocations: 36.31 kB / 0.676 GB, free: 121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/1.616, allocations: 4.829 MB / 0.6807 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.809e-06/1.616, allocations: 0 / 0.6807 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/1.63, allocations: 7.683 MB / 0.6882 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/1.632, allocations: 0.723 MB / 0.6889 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006632/1.633, allocations: 31.56 kB / 0.6889 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/1.635, allocations: 117.3 kB / 0.689 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/1.635, allocations: 126.1 kB / 0.6892 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002257/1.635, allocations: 50.69 kB / 0.6892 GB, free: 113.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003558/1.639, allocations: 1.946 MB / 0.6911 GB, free: 113.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.019e-06/1.639, allocations: 0 / 0.6911 GB, free: 113.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005618/1.645, allocations: 0.9374 MB / 0.692 GB, free: 113 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 () * Number of clocked 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.0005367/1.645, allocations: 176.7 kB / 0.6922 GB, free: 112.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.657, allocations: 6.402 MB / 0.6984 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.885e-06/1.657, allocations: 0 / 0.6984 GB, free: 109 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004898/1.662, allocations: 2.697 MB / 0.7011 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.664, allocations: 274.2 kB / 0.7013 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.681, allocations: 10.79 MB / 0.7119 GB, free: 96.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003624/1.685, allocations: 2.939 MB / 0.7147 GB, free: 94.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/1.686, allocations: 272.8 kB / 0.715 GB, free: 94.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/1.686, allocations: 0 / 0.715 GB, free: 94.2 MB / 474.7 MB Notification: Performance of Templates: time 0.4069/2.093, allocations: 112.3 MB / 0.8247 GB, free: 141 MB / 490.7 MB