Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.534/2.534, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.13e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3536, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.5345, allocations: 97.88 MB / 456 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5349, allocations: 75.95 kB / 456.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7478/1.283, allocations: 107.3 MB / 0.5502 GB, free: 17.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.283, allocations: 0 / 0.5502 GB, free: 17.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005912/1.283, allocations: 108 kB / 0.5503 GB, free: 17.49 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: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02754/1.311, allocations: 6.109 MB / 0.5562 GB, free: 11.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.311, allocations: 8.031 kB / 0.5562 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07094/1.382, allocations: 10.14 MB / 0.5661 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03535/1.417, allocations: 9.821 MB / 0.5757 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/1.418, allocations: 218.7 kB / 0.5759 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/1.42, allocations: 291.6 kB / 0.5762 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01793/1.438, allocations: 6.295 MB / 0.5824 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/1.465, allocations: 8.883 MB / 0.591 GB, free: 6.984 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004083/1.466, allocations: 59.45 kB / 0.5911 GB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001714/1.468, allocations: 20 kB / 0.5911 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002659/1.47, allocations: 0.984 MB / 0.5921 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4471/1.917, allocations: 42.92 MB / 0.634 GB, free: 78.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.929, allocations: 5.716 MB / 0.6396 GB, free: 78.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00821/1.937, allocations: 4.837 MB / 0.6443 GB, free: 78.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/1.939, allocations: 1.121 MB / 0.6454 GB, free: 77.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.163e-05/1.939, allocations: 65.75 kB / 0.6455 GB, free: 77.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 5.961e-06/1.939, allocations: 0 / 0.6455 GB, free: 77.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.2557/2.195, allocations: 59.8 MB / 0.7039 GB, free: 60.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/2.195, allocations: 197.5 kB / 0.704 GB, free: 60.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007809/2.203, allocations: 3.225 MB / 0.7072 GB, free: 57.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001305/2.204, allocations: 25.7 kB / 0.7072 GB, free: 57.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00266/2.207, allocations: 2.784 MB / 0.7099 GB, free: 55.06 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002587/2.21, allocations: 1.38 MB / 0.7113 GB, free: 53.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/2.211, allocations: 2.906 kB / 0.7113 GB, free: 53.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000457/2.211, allocations: 0.5428 MB / 0.7118 GB, free: 53.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009274/2.221, allocations: 4.25 MB / 0.716 GB, free: 49.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/2.232, allocations: 6.242 MB / 0.7221 GB, free: 42.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/2.243, allocations: 5.222 MB / 0.7272 GB, free: 38.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.361e-05/2.243, allocations: 20 kB / 0.7272 GB, free: 38.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06219/2.306, allocations: 17.39 MB / 0.7442 GB, free: 25.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.527e-05/2.306, allocations: 34.44 kB / 0.7442 GB, free: 25.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-05/2.306, allocations: 68 kB / 0.7443 GB, free: 25.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04169/2.348, allocations: 8.365 MB / 0.7524 GB, free: 17.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007678/2.355, allocations: 1.029 MB / 0.7534 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1251/2.48, allocations: 45.33 MB / 0.7977 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01364/2.494, allocations: 379.3 kB / 0.7981 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/2.497, allocations: 280 kB / 0.7983 GB, free: 2.723 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 523 * Array equations: 2 * 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 {(12,51.4%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.004411/2.501, allocations: 328.1 kB / 0.7986 GB, free: 2.398 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07373/2.575, allocations: 16.08 MB / 0.8143 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002448/2.578, allocations: 462.1 kB / 0.8148 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4243/3.002, allocations: 16.95 MB / 0.8313 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05645/3.058, allocations: 15.58 MB / 0.8465 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.096e-05/3.058, allocations: 25.38 kB / 0.8466 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001104/3.059, allocations: 23.73 kB / 0.8466 GB, free: 129.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1039/3.163, allocations: 33.4 MB / 0.8792 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.542e-05/3.163, allocations: 3.812 kB / 0.8792 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004412/3.167, allocations: 453.6 kB / 0.8796 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04063/3.208, allocations: 7.946 MB / 0.8874 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/3.209, allocations: 10.78 kB / 0.8874 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09859/3.308, allocations: 44.36 MB / 0.9307 GB, free: 82.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02118/3.329, allocations: 9.135 MB / 0.9397 GB, free: 72.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07608/3.405, allocations: 23.13 MB / 0.9622 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006922/3.412, allocations: 1.375 MB / 0.9636 GB, free: 48.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002754/3.415, allocations: 14.44 kB / 0.9636 GB, free: 48.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009469/3.424, allocations: 288 kB / 0.9639 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003234/3.428, allocations: 338.7 kB / 0.9642 GB, free: 47.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001188/3.429, allocations: 100 kB / 0.9643 GB, free: 47.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007294/3.436, allocations: 2.333 MB / 0.9666 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.232e-06/3.436, allocations: 0 / 0.9666 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01393/3.45, allocations: 1.752 MB / 0.9683 GB, free: 43.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * Array equations: 0 * 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 {(11,54.5%) 97,(5,84.0%) 36} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.06817/3.519, allocations: 25 MB / 0.9927 GB, free: 18.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3688/3.887, allocations: 11.62 MB / 1.004 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/3.887, allocations: 1.281 kB / 1.004 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02096/3.908, allocations: 6.723 MB / 1.011 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006519/3.915, allocations: 0.6236 MB / 1.011 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04614/3.961, allocations: 15.49 MB / 1.026 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/3.972, allocations: 4.298 MB / 1.031 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007149/3.979, allocations: 2.615 MB / 1.033 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.383e-06/3.979, allocations: 0 / 1.033 GB, free: 126.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.439/9.418, allocations: 177 MB / 1.206 GB, free: 127.2 MB / 0.4948 GB