Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.111/2.111, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 12 kB / 282.7 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3818, allocations: 48.71 MB / 331.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.5878, allocations: 91.82 MB / 423.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.5882, allocations: 71.97 kB / 423.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8494/1.438, allocations: 109.2 MB / 0.52 GB, free: 76.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.438, allocations: 0 / 0.52 GB, free: 76.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005748/1.438, allocations: 108 kB / 0.5201 GB, free: 76.88 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.03224/1.471, allocations: 6.946 MB / 0.5269 GB, free: 69.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.471, allocations: 8.031 kB / 0.5269 GB, free: 69.88 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004425/1.475, allocations: 0.7563 MB / 0.5276 GB, free: 69.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0733/1.548, allocations: 10.12 MB / 0.5375 GB, free: 58.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03438/1.583, allocations: 9.888 MB / 0.5472 GB, free: 49.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005106/1.583, allocations: 362.6 kB / 0.5475 GB, free: 48.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/1.586, allocations: 463.7 kB / 0.5479 GB, free: 48.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03879/1.625, allocations: 10.72 MB / 0.5584 GB, free: 36.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003964/1.625, allocations: 59.45 kB / 0.5585 GB, free: 36.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00189/1.627, allocations: 207.9 kB / 0.5587 GB, free: 36.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/1.63, allocations: 0.9918 MB / 0.5596 GB, free: 35.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03325/1.663, allocations: 9.048 MB / 0.5685 GB, free: 26.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08905/1.752, allocations: 43.96 MB / 0.6114 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04272/1.795, allocations: 7.923 MB / 0.6191 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002239/1.797, allocations: 1.121 MB / 0.6202 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.439e-05/1.797, allocations: 64.81 kB / 0.6203 GB, free: 4.125 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.722e-06/1.797, allocations: 0 / 0.6203 GB, free: 4.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.7402/2.537, allocations: 76.47 MB / 0.695 GB, free: 82.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02587/2.563, allocations: 11.36 MB / 0.7061 GB, free: 71.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008682/2.572, allocations: 3.732 MB / 0.7097 GB, free: 67.94 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001334/2.573, allocations: 93.42 kB / 0.7098 GB, free: 67.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00258/2.576, allocations: 2.748 MB / 0.7125 GB, free: 65.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002688/2.579, allocations: 1.43 MB / 0.7139 GB, free: 63.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009653/2.58, allocations: 108.7 kB / 0.714 GB, free: 63.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003378/2.58, allocations: 0.5412 MB / 0.7145 GB, free: 63.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01037/2.591, allocations: 4.481 MB / 0.7189 GB, free: 58.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/2.603, allocations: 6.506 MB / 0.7252 GB, free: 51.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/2.615, allocations: 5.442 MB / 0.7306 GB, free: 45.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.457e-05/2.615, allocations: 20 kB / 0.7306 GB, free: 45.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06481/2.68, allocations: 18.31 MB / 0.7485 GB, free: 27.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/2.68, allocations: 36.77 kB / 0.7485 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.362e-05/2.68, allocations: 64 kB / 0.7486 GB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04246/2.723, allocations: 8.628 MB / 0.757 GB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007501/2.73, allocations: 1.026 MB / 0.758 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4474/3.178, allocations: 50.54 MB / 0.8073 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009665/3.187, allocations: 496.5 kB / 0.8078 GB, free: 102.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001812/3.189, allocations: 284.8 kB / 0.8081 GB, free: 102.3 MB / 442.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 () * Number of clocked 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,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.00791/3.197, allocations: 2.275 MB / 0.8103 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/3.199, allocations: 492.7 kB / 0.8108 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06427/3.263, allocations: 17.6 MB / 0.828 GB, free: 95.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05942/3.323, allocations: 16.11 MB / 0.8437 GB, free: 91.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.547e-05/3.323, allocations: 26.22 kB / 0.8437 GB, free: 91.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/3.323, allocations: 19.55 kB / 0.8437 GB, free: 91.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1064/3.43, allocations: 34.75 MB / 0.8777 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.14e-05/3.43, allocations: 9.875 kB / 0.8777 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004334/3.434, allocations: 446.5 kB / 0.8781 GB, free: 67.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04026/3.474, allocations: 8.058 MB / 0.886 GB, free: 59.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/3.476, allocations: 83.98 kB / 0.8861 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1088/3.585, allocations: 49.78 MB / 0.9347 GB, free: 9.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02656/3.611, allocations: 10.14 MB / 0.9446 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4205/4.032, allocations: 23.94 MB / 0.968 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00524/4.037, allocations: 1.417 MB / 0.9693 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/4.039, allocations: 82.73 kB / 0.9694 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007164/4.046, allocations: 360.1 kB / 0.9698 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002406/4.049, allocations: 334.3 kB / 0.9701 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006785/4.049, allocations: 106 kB / 0.9702 GB, free: 115.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007129/4.057, allocations: 2.777 MB / 0.9729 GB, free: 115.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/4.057, allocations: 0 / 0.9729 GB, free: 115.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01055/4.067, allocations: 1.976 MB / 0.9748 GB, free: 115.3 MB / 458.7 MB 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 () * Number of clocked 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 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07337/4.141, allocations: 25.84 MB / 1 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03221/4.173, allocations: 12.34 MB / 1.012 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/4.173, allocations: 3.906 kB / 1.012 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02157/4.195, allocations: 7.121 MB / 1.019 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007205/4.202, allocations: 0.7479 MB / 1.02 GB, free: 99.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5461/4.748, allocations: 109.3 MB / 1.127 GB, free: 112.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/4.758, allocations: 4.296 MB / 1.131 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007192/4.766, allocations: 2.617 MB / 1.133 GB, free: 112 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/4.766, allocations: 2.688 kB / 1.133 GB, free: 112 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.821/10.59, allocations: 179.3 MB / 1.308 GB, free: 110.8 MB / 458.7 MB