Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.455/2.455, allocations: 234.9 MB / 251.1 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000588/0.0005882, allocations: 12 kB / 314.9 MB, free: 9.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.384, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5413/0.9254, allocations: 109.5 MB / 479.3 MB, free: 40.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/0.9258, allocations: 83.52 kB / 479.4 MB, free: 40.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6568/1.583, allocations: 155.5 MB / 0.62 GB, free: 3.672 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.583, allocations: 0 / 0.62 GB, free: 3.672 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005479/1.583, allocations: 140 kB / 0.6202 GB, free: 3.535 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.03163/1.615, allocations: 6.972 MB / 0.627 GB, free: 12.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.615, allocations: 12.03 kB / 0.627 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05309/1.668, allocations: 6.671 MB / 0.6335 GB, free: 5.773 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03398/1.702, allocations: 8.44 MB / 0.6418 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000874/1.703, allocations: 0.5255 MB / 0.6423 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005797/1.709, allocations: 0.7026 MB / 0.643 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7484/2.457, allocations: 19.11 MB / 0.6616 GB, free: 87.09 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007064/2.458, allocations: 89.2 kB / 0.6617 GB, free: 87.09 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004183/2.462, allocations: 338.9 kB / 0.662 GB, free: 87.09 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004379/2.467, allocations: 1.718 MB / 0.6637 GB, free: 87.08 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05712/2.524, allocations: 16.81 MB / 0.6801 GB, free: 87.02 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1295/2.653, allocations: 74.24 MB / 0.7526 GB, free: 42.97 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02673/2.68, allocations: 6.185 MB / 0.7587 GB, free: 40.46 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03773/2.718, allocations: 13.96 MB / 0.7723 GB, free: 33.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/2.718, allocations: 59.75 kB / 0.7723 GB, free: 32.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 6.522e-06/2.718, allocations: 2.625 kB / 0.7723 GB, free: 32.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=344): time 0.1461/2.864, allocations: 24.05 MB / 0.7958 GB, free: 22.29 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.595e-05/2.864, allocations: 192.1 kB / 0.796 GB, free: 22.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01564/2.88, allocations: 5.879 MB / 0.8017 GB, free: 17.29 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008207/2.881, allocations: 73.7 kB / 0.8018 GB, free: 17.21 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004279/2.885, allocations: 4.85 MB / 0.8066 GB, free: 12.85 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001996/2.887, allocations: 1.282 MB / 0.8078 GB, free: 11.72 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/2.889, allocations: 184 kB / 0.808 GB, free: 11.54 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0008394/2.889, allocations: 0.7135 MB / 0.8087 GB, free: 10.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009561/2.899, allocations: 3.258 MB / 0.8119 GB, free: 8.176 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01404/2.913, allocations: 8.735 MB / 0.8204 GB, free: 13.57 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01538/2.929, allocations: 5.246 MB / 0.8255 GB, free: 8.875 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002645/2.929, allocations: 52 kB / 0.8256 GB, free: 8.824 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.4137/3.343, allocations: 12.56 MB / 0.8378 GB, free: 91.82 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/3.343, allocations: 89.28 kB / 0.8379 GB, free: 91.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004343/3.343, allocations: 196.3 kB / 0.8381 GB, free: 91.82 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008732/3.352, allocations: 1.336 MB / 0.8394 GB, free: 91.81 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/3.366, allocations: 2.175 MB / 0.8415 GB, free: 91.81 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/3.385, allocations: 7.406 MB / 0.8488 GB, free: 90.47 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/3.397, allocations: 0.5646 MB / 0.8493 GB, free: 90.47 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002349/3.399, allocations: 0.5407 MB / 0.8498 GB, free: 90.47 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01088/3.41, allocations: 3.44 MB / 0.8532 GB, free: 90.36 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/3.412, allocations: 0.5312 MB / 0.8537 GB, free: 90.36 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02071/3.432, allocations: 5.323 MB / 0.8589 GB, free: 90.14 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.15e-05/3.432, allocations: 39.36 kB / 0.859 GB, free: 90.14 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/3.432, allocations: 7.781 kB / 0.859 GB, free: 90.14 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-05/3.433, allocations: 13.73 kB / 0.859 GB, free: 90.14 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04757/3.48, allocations: 14.12 MB / 0.8728 GB, free: 88.72 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.457e-05/3.48, allocations: 10.09 kB / 0.8728 GB, free: 88.72 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004556/3.485, allocations: 0.5303 MB / 0.8733 GB, free: 88.72 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006588/3.491, allocations: 0.9247 MB / 0.8742 GB, free: 88.71 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006966/3.492, allocations: 73.39 kB / 0.8743 GB, free: 88.71 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/3.507, allocations: 5.7 MB / 0.8798 GB, free: 87.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/3.507, allocations: 17.88 kB / 0.8798 GB, free: 87.43 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02454/3.532, allocations: 8.486 MB / 0.8881 GB, free: 86.36 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003774/3.536, allocations: 0.9431 MB / 0.8891 GB, free: 86.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00189/3.538, allocations: 68.06 kB / 0.8891 GB, free: 86.09 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004854/3.542, allocations: 193.8 kB / 0.8893 GB, free: 86.08 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/3.543, allocations: 220.7 kB / 0.8895 GB, free: 86.05 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/3.544, allocations: 98.56 kB / 0.8896 GB, free: 86.03 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009518/3.553, allocations: 3.651 MB / 0.8932 GB, free: 84.86 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.493e-06/3.553, allocations: 0 / 0.8932 GB, free: 84.86 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01109/3.564, allocations: 1.666 MB / 0.8948 GB, free: 84.66 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.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 (267): * Single equations (assignments): 260 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/3.566, allocations: 263.2 kB / 0.8951 GB, free: 84.53 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01904/3.585, allocations: 7.775 MB / 0.9026 GB, free: 82.31 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/3.585, allocations: 3.75 kB / 0.9027 GB, free: 82.31 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006099/3.591, allocations: 2.4 MB / 0.905 GB, free: 81.41 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/3.596, allocations: 0.6353 MB / 0.9056 GB, free: 81.15 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/3.64, allocations: 19.02 MB / 0.9242 GB, free: 71.4 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/3.652, allocations: 5.331 MB / 0.9294 GB, free: 69.67 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/3.655, allocations: 446.6 kB / 0.9298 GB, free: 69.66 MB / 0.4949 GB Notification: Performance of SimCode: time 1.503e-06/3.655, allocations: 0 / 0.9298 GB, free: 69.66 MB / 0.4949 GB Notification: Performance of Templates: time 0.6311/4.286, allocations: 121.3 MB / 1.048 GB, free: 102.8 MB / 0.5105 GB