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.FourbarVariants.SphericalAndUniversal.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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadModel(ModelicaTest): time 2.412/2.412, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.695e-05, allocations: 0 / 309.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 54.86 MB / 364.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.4753, allocations: 101.1 MB / 465.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4756, allocations: 75.95 kB / 465.7 MB, free: 11.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6507/1.126, allocations: 103.3 MB / 0.5557 GB, free: 105.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.04e-06/1.126, allocations: 0 / 0.5557 GB, free: 105.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000352/1.127, allocations: 97.28 kB / 0.5557 GB, free: 105.6 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.01771/1.144, allocations: 5.2 MB / 0.5608 GB, free: 103.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.144, allocations: 14.88 kB / 0.5608 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03558/1.18, allocations: 6.888 MB / 0.5676 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/1.202, allocations: 7.484 MB / 0.5749 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000431/1.202, allocations: 378.3 kB / 0.5752 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/1.205, allocations: 0.4949 MB / 0.5757 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/1.235, allocations: 12.24 MB / 0.5877 GB, free: 95.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003026/1.235, allocations: 79.03 kB / 0.5877 GB, free: 95.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001693/1.237, allocations: 235.8 kB / 0.588 GB, free: 95.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001917/1.239, allocations: 1.141 MB / 0.5891 GB, free: 95.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02551/1.264, allocations: 10.13 MB / 0.599 GB, free: 90.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06509/1.329, allocations: 55.59 MB / 0.6533 GB, free: 34.22 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/1.347, allocations: 5.685 MB / 0.6588 GB, free: 28.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004281/1.351, allocations: 2.815 MB / 0.6616 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01629/1.368, allocations: 8.798 MB / 0.6702 GB, free: 16.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.368, allocations: 51.88 kB / 0.6702 GB, free: 16.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=206): time 7.02e-06/1.368, allocations: 3.938 kB / 0.6702 GB, free: 16.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.1261/1.494, allocations: 29.42 MB / 0.6989 GB, free: 3.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.494, allocations: 217.8 kB / 0.6991 GB, free: 2.934 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2813/1.775, allocations: 4.151 MB / 0.7032 GB, free: 110.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000573/1.776, allocations: 65.42 kB / 0.7033 GB, free: 110.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002949/1.779, allocations: 3.436 MB / 0.7066 GB, free: 109.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.78, allocations: 0.9758 MB / 0.7076 GB, free: 108.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008164/1.781, allocations: 136.3 kB / 0.7077 GB, free: 108.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005922/1.782, allocations: 0.5913 MB / 0.7083 GB, free: 108.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006854/1.789, allocations: 2.946 MB / 0.7112 GB, free: 108.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00952/1.798, allocations: 6.741 MB / 0.7177 GB, free: 103.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009664/1.808, allocations: 4.409 MB / 0.722 GB, free: 103.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002429/1.808, allocations: 39.91 kB / 0.7221 GB, free: 103.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.03533/1.844, allocations: 12.76 MB / 0.7345 GB, free: 100.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/1.844, allocations: 60.31 kB / 0.7346 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/1.844, allocations: 136.1 kB / 0.7347 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/1.859, allocations: 4.074 MB / 0.7387 GB, free: 99.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006413/1.866, allocations: 1.413 MB / 0.7401 GB, free: 99.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0472/1.913, allocations: 25.81 MB / 0.7653 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007875/1.921, allocations: 400.2 kB / 0.7657 GB, free: 86.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.922, allocations: 398.8 kB / 0.7661 GB, free: 86.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (760): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.002173/1.925, allocations: 0.6041 MB / 0.7666 GB, free: 85.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.926, allocations: 441.5 kB / 0.7671 GB, free: 85.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02236/1.948, allocations: 8.065 MB / 0.7749 GB, free: 82.94 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/1.948, allocations: 30.33 kB / 0.775 GB, free: 82.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/1.948, allocations: 17.81 kB / 0.775 GB, free: 82.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.884e-05/1.948, allocations: 12.95 kB / 0.775 GB, free: 82.94 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04165/1.99, allocations: 16.65 MB / 0.7913 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/1.99, allocations: 4 kB / 0.7913 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002084/1.992, allocations: 297.2 kB / 0.7915 GB, free: 73.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01368/2.006, allocations: 3.77 MB / 0.7952 GB, free: 70.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005757/2.007, allocations: 51.94 kB / 0.7953 GB, free: 70.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04016/2.047, allocations: 24.55 MB / 0.8192 GB, free: 48.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.414e-06/2.047, allocations: 7.938 kB / 0.8193 GB, free: 48.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/2.072, allocations: 12.55 MB / 0.8315 GB, free: 35.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002897/2.075, allocations: 0.9442 MB / 0.8324 GB, free: 34.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/2.077, allocations: 52.73 kB / 0.8325 GB, free: 34.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003482/2.08, allocations: 167.7 kB / 0.8326 GB, free: 34.69 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009676/2.081, allocations: 194.1 kB / 0.8328 GB, free: 34.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003135/2.081, allocations: 71.23 kB / 0.8329 GB, free: 34.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006412/2.088, allocations: 2.938 MB / 0.8358 GB, free: 31.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.049e-06/2.088, allocations: 4 kB / 0.8358 GB, free: 31.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008507/2.096, allocations: 1.42 MB / 0.8372 GB, free: 30.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007324/2.097, allocations: 199.3 kB / 0.8373 GB, free: 29.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01584/2.113, allocations: 8.024 MB / 0.8452 GB, free: 21.85 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.099e-06/2.113, allocations: 0 / 0.8452 GB, free: 21.85 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006725/2.12, allocations: 3.417 MB / 0.8485 GB, free: 18.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/2.124, allocations: 0.5574 MB / 0.8491 GB, free: 17.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/2.146, allocations: 10.94 MB / 0.8597 GB, free: 6.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006039/2.152, allocations: 4.043 MB / 0.8637 GB, free: 2.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/2.153, allocations: 323.4 kB / 0.864 GB, free: 2.453 MB / 474.7 MB Notification: Performance of SimCode: time 1.634e-06/2.153, allocations: 4 kB / 0.864 GB, free: 2.449 MB / 474.7 MB Notification: Performance of Templates: time 0.4796/2.633, allocations: 135 MB / 0.9958 GB, free: 47.92 MB / 490.7 MB