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/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: "" <> 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.429/2.429, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.579e-05, allocations: 4 kB / 309.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4565, allocations: 54.85 MB / 364.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.6354, allocations: 98.54 MB / 463.2 MB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.6358, allocations: 72.75 kB / 463.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7854/1.421, allocations: 109.4 MB / 0.5592 GB, free: 102.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.421, allocations: 0 / 0.5592 GB, free: 102.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005619/1.422, allocations: 104 kB / 0.5593 GB, free: 102.1 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: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02689/1.449, allocations: 6.116 MB / 0.5653 GB, free: 99.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.449, allocations: 7.75 kB / 0.5653 GB, free: 99.93 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003876/1.453, allocations: 0.7572 MB / 0.566 GB, free: 99.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07191/1.525, allocations: 10.14 MB / 0.5759 GB, free: 99.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03357/1.558, allocations: 9.824 MB / 0.5855 GB, free: 96.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000487/1.559, allocations: 365.4 kB / 0.5859 GB, free: 96.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/1.561, allocations: 471.5 kB / 0.5863 GB, free: 96.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03677/1.598, allocations: 10.66 MB / 0.5967 GB, free: 92.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004438/1.599, allocations: 57.69 kB / 0.5968 GB, free: 92.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/1.6, allocations: 204 kB / 0.597 GB, free: 91.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00227/1.603, allocations: 0.9952 MB / 0.598 GB, free: 91.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03203/1.635, allocations: 8.931 MB / 0.6067 GB, free: 83.69 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0841/1.719, allocations: 43.98 MB / 0.6496 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03865/1.758, allocations: 7.887 MB / 0.6573 GB, free: 30.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008654/1.766, allocations: 4.925 MB / 0.6622 GB, free: 26.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/1.768, allocations: 1.126 MB / 0.6633 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.068e-05/1.768, allocations: 64.81 kB / 0.6633 GB, free: 24.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 6.583e-06/1.768, allocations: 3.938 kB / 0.6633 GB, free: 24.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.6787/2.447, allocations: 64.98 MB / 0.7268 GB, free: 106.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02579/2.473, allocations: 10.89 MB / 0.7374 GB, free: 101.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/2.483, allocations: 3.683 MB / 0.741 GB, free: 100.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00137/2.485, allocations: 90.98 kB / 0.7411 GB, free: 100.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003005/2.488, allocations: 2.751 MB / 0.7438 GB, free: 98.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002622/2.49, allocations: 1.434 MB / 0.7452 GB, free: 97.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/2.492, allocations: 113.2 kB / 0.7453 GB, free: 97.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004398/2.492, allocations: 0.535 MB / 0.7458 GB, free: 96.61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01035/2.502, allocations: 4.416 MB / 0.7501 GB, free: 94.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/2.514, allocations: 6.448 MB / 0.7564 GB, free: 90.65 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/2.529, allocations: 5.404 MB / 0.7617 GB, free: 88.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.119e-05/2.529, allocations: 17.25 kB / 0.7617 GB, free: 88.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.09185/2.621, allocations: 18.19 MB / 0.7795 GB, free: 83.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/2.621, allocations: 32.75 kB / 0.7795 GB, free: 83.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/2.621, allocations: 65.19 kB / 0.7796 GB, free: 83.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05943/2.68, allocations: 8.601 MB / 0.788 GB, free: 79.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007898/2.688, allocations: 1.031 MB / 0.789 GB, free: 78.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.113/2.801, allocations: 48.46 MB / 0.8363 GB, free: 33.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00981/2.811, allocations: 483.3 kB / 0.8368 GB, free: 33.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/2.813, allocations: 282 kB / 0.837 GB, free: 32.93 MB / 474.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,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.002953/2.816, allocations: 494 kB / 0.8375 GB, free: 32.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002135/2.818, allocations: 488.7 kB / 0.838 GB, free: 31.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06268/2.881, allocations: 17.51 MB / 0.8551 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05854/2.94, allocations: 16.01 MB / 0.8707 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.228e-05/2.94, allocations: 25.06 kB / 0.8707 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001107/2.94, allocations: 19.92 kB / 0.8708 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4676/3.408, allocations: 34.58 MB / 0.9045 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.323e-05/3.408, allocations: 12.06 kB / 0.9045 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004405/3.412, allocations: 447.6 kB / 0.905 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03989/3.452, allocations: 8.042 MB / 0.9128 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001235/3.453, allocations: 80.23 kB / 0.9129 GB, free: 109.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1135/3.567, allocations: 47.51 MB / 0.9593 GB, free: 91.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02258/3.589, allocations: 9.665 MB / 0.9687 GB, free: 84.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06871/3.658, allocations: 23.79 MB / 0.992 GB, free: 64.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005778/3.664, allocations: 1.425 MB / 0.9934 GB, free: 62.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/3.666, allocations: 76 kB / 0.9934 GB, free: 62.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007182/3.674, allocations: 360.3 kB / 0.9938 GB, free: 62.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002409/3.676, allocations: 333.8 kB / 0.9941 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007396/3.677, allocations: 103.3 kB / 0.9942 GB, free: 62.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006918/3.684, allocations: 2.727 MB / 0.9969 GB, free: 59.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/3.684, allocations: 4 kB / 0.9969 GB, free: 59.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01086/3.695, allocations: 1.975 MB / 0.9988 GB, free: 57.97 MB / 490.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 () * 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.09307/3.788, allocations: 25.69 MB / 1.024 GB, free: 33.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03103/3.819, allocations: 12.18 MB / 1.036 GB, free: 21.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/3.819, allocations: 0 / 1.036 GB, free: 21.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02116/3.84, allocations: 7.011 MB / 1.043 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007352/3.847, allocations: 0.7494 MB / 1.043 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05031/3.898, allocations: 16.02 MB / 1.059 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/3.911, allocations: 4.299 MB / 1.063 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009818/3.921, allocations: 2.62 MB / 1.066 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/3.921, allocations: 0 / 1.066 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.619/9.541, allocations: 180.1 MB / 1.242 GB, free: 1.117 MB / 0.4948 GB