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/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.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.282/2.282, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.426e-05, allocations: 7.984 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2734, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.4187, allocations: 96.18 MB / 454.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.419, allocations: 71.97 kB / 454.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4539/0.8728, allocations: 62.81 MB / 0.505 GB, free: 64.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.351e-06/0.8729, allocations: 0 / 0.505 GB, free: 64.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.873, allocations: 72 kB / 0.505 GB, free: 63.94 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.009095/0.8821, allocations: 3.359 MB / 0.5083 GB, free: 60.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.8822, allocations: 8.031 kB / 0.5083 GB, free: 60.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00998/0.8922, allocations: 2.019 MB / 0.5103 GB, free: 58.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004837/0.8971, allocations: 1.944 MB / 0.5122 GB, free: 56.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/0.8973, allocations: 120 kB / 0.5123 GB, free: 56.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.8986, allocations: 219.9 kB / 0.5125 GB, free: 56.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01047/0.9091, allocations: 5.605 MB / 0.518 GB, free: 50.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.924, allocations: 8.531 MB / 0.5263 GB, free: 41.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.9242, allocations: 51.56 kB / 0.5264 GB, free: 41.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005761/0.9248, allocations: 24 kB / 0.5264 GB, free: 41.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/0.9262, allocations: 0.9784 MB / 0.5274 GB, free: 40.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04626/0.9725, allocations: 41.96 MB / 0.5683 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005802/0.9784, allocations: 3.312 MB / 0.5716 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003742/0.9821, allocations: 2.149 MB / 0.5737 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006257/0.9828, allocations: 396.3 kB / 0.574 GB, free: 6.809 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/0.9829, allocations: 55.8 kB / 0.5741 GB, free: 6.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 6.35e-06/0.9829, allocations: 0 / 0.5741 GB, free: 6.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.06325/1.046, allocations: 20.85 MB / 0.5945 GB, free: 1.746 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.046, allocations: 175.5 kB / 0.5946 GB, free: 1.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/1.051, allocations: 2.345 MB / 0.5969 GB, free: 15.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004486/1.052, allocations: 25.7 kB / 0.5969 GB, free: 15.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002749/1.055, allocations: 2.659 MB / 0.5995 GB, free: 12.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.056, allocations: 0.7785 MB / 0.6003 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/1.057, allocations: 0 / 0.6003 GB, free: 11.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000585/1.057, allocations: 0.5547 MB / 0.6008 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00885/1.066, allocations: 2.417 MB / 0.6032 GB, free: 8.668 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01598/1.082, allocations: 5.707 MB / 0.6088 GB, free: 1.301 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/1.097, allocations: 3.694 MB / 0.6124 GB, free: 13.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002221/1.097, allocations: 36 kB / 0.6124 GB, free: 13.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.03974/1.137, allocations: 8.131 MB / 0.6204 GB, free: 5.418 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/1.137, allocations: 56 kB / 0.6204 GB, free: 5.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002998/1.138, allocations: 124.8 kB / 0.6205 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007245/1.145, allocations: 1.045 MB / 0.6216 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007718/1.153, allocations: 1.372 MB / 0.6229 GB, free: 2.809 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3005/1.453, allocations: 5.067 MB / 0.6278 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005444/1.459, allocations: 216.1 kB / 0.628 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.46, allocations: 349.5 kB / 0.6284 GB, free: 114.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * 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 (718): * Single equations (assignments): 711 * 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.00125/1.461, allocations: 401.8 kB / 0.6288 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007474/1.462, allocations: 266.1 kB / 0.629 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009086/1.471, allocations: 4.296 MB / 0.6332 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-05/1.471, allocations: 23.52 kB / 0.6332 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.471, allocations: 7.469 kB / 0.6332 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.231e-05/1.471, allocations: 10.78 kB / 0.6333 GB, free: 114.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/1.491, allocations: 9.159 MB / 0.6422 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.491, allocations: 0 / 0.6422 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/1.493, allocations: 383.3 kB / 0.6426 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00336/1.497, allocations: 0.8563 MB / 0.6434 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004395/1.497, allocations: 10.52 kB / 0.6434 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/1.502, allocations: 4.438 MB / 0.6477 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.594e-06/1.502, allocations: 0 / 0.6477 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/1.517, allocations: 7.759 MB / 0.6553 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.518, allocations: 0.7067 MB / 0.656 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005738/1.519, allocations: 3.781 kB / 0.656 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.521, allocations: 93.91 kB / 0.6561 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004214/1.521, allocations: 118.3 kB / 0.6562 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/1.522, allocations: 53.75 kB / 0.6563 GB, free: 107.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002606/1.524, allocations: 1.531 MB / 0.6578 GB, free: 107.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.039e-06/1.524, allocations: 0 / 0.6578 GB, free: 107.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005876/1.53, allocations: 0.8075 MB / 0.6586 GB, free: 107.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (180): * Single equations (assignments): 173 * 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.0005568/1.531, allocations: 150.6 kB / 0.6587 GB, free: 107.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01171/1.543, allocations: 6.26 MB / 0.6648 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.5e-06/1.543, allocations: 1.969 kB / 0.6648 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005466/1.548, allocations: 2.7 MB / 0.6674 GB, free: 103.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.55, allocations: 198.4 kB / 0.6676 GB, free: 103.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/1.566, allocations: 7.989 MB / 0.6754 GB, free: 99.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004063/1.57, allocations: 2.945 MB / 0.6783 GB, free: 97.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.572, allocations: 258 kB / 0.6786 GB, free: 97.14 MB / 458.7 MB Notification: Performance of SimCode: time 2.787e-06/1.572, allocations: 0 / 0.6786 GB, free: 97.14 MB / 458.7 MB Notification: Performance of Templates: time 0.1369/1.709, allocations: 110.8 MB / 0.7868 GB, free: 8.77 MB / 474.7 MB