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.065/2.065, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003853, allocations: 8 kB / 314.4 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.09756/0.4099, allocations: 68.34 MB / 437.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04003/0.45, allocations: 15.9 MB / 453.5 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01217/0.4623, allocations: 363 kB / 453.9 MB, free: 5.906 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.4735, allocations: 3.488 MB / 457.4 MB, free: 2.402 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03455/0.5081, allocations: 9.974 MB / 467.3 MB, free: 8.402 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.5141, allocations: 1.151 MB / 468.5 MB, free: 7.25 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.4107/0.9248, allocations: 33.45 MB / 0.4902 GB, free: 7.414 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01245/0.9373, allocations: 7.018 MB / 0.497 GB, free: 6.777 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004246/0.9416, allocations: 1.76 MB / 0.4987 GB, free: 6.773 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00421/0.9459, allocations: 2.078 MB / 0.5008 GB, free: 5.637 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.9471, allocations: 188 kB / 0.5009 GB, free: 5.453 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.9501, allocations: 0.867 MB / 0.5018 GB, free: 4.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003102/0.9532, allocations: 2.3 MB / 0.504 GB, free: 3.039 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.955, allocations: 1.083 MB / 0.5051 GB, free: 2.621 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.9659, allocations: 7.395 MB / 0.5123 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9659, allocations: 0 / 0.5123 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.966, allocations: 0 / 0.5123 GB, free: 12.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002494/0.9662, allocations: 2.078 kB / 0.5123 GB, free: 12.21 MB / 410.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.03427/1.001, allocations: 6.924 MB / 0.5191 GB, free: 5.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/1.001, allocations: 8.031 kB / 0.5191 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003467/1.004, allocations: 0.7329 MB / 0.5198 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1584/1.163, allocations: 12.14 MB / 0.5317 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/1.181, allocations: 6.362 MB / 0.5379 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/1.181, allocations: 316 kB / 0.5382 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/1.183, allocations: 417.3 kB / 0.5386 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03517/1.218, allocations: 11.13 MB / 0.5494 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002703/1.218, allocations: 60.73 kB / 0.5495 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007311/1.219, allocations: 184.1 kB / 0.5497 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00332/1.222, allocations: 1.494 MB / 0.5511 GB, free: 11.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03456/1.257, allocations: 9.315 MB / 0.5602 GB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09243/1.349, allocations: 44.68 MB / 0.6039 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03927/1.389, allocations: 7.964 MB / 0.6116 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03273/1.421, allocations: 12.86 MB / 0.6242 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.402e-05/1.422, allocations: 64.8 kB / 0.6243 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=283): time 6.703e-06/1.422, allocations: 0 / 0.6243 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=406): time 0.7678/2.189, allocations: 77.13 MB / 0.6996 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03787/2.227, allocations: 11.38 MB / 0.7107 GB, free: 169.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01388/2.241, allocations: 4.822 MB / 0.7154 GB, free: 164.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001485/2.243, allocations: 94.64 kB / 0.7155 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00264/2.245, allocations: 2.712 MB / 0.7181 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002805/2.248, allocations: 1.407 MB / 0.7195 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/2.25, allocations: 112 kB / 0.7196 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004629/2.25, allocations: 0.5383 MB / 0.7202 GB, free: 160 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01087/2.261, allocations: 4.633 MB / 0.7247 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/2.274, allocations: 6.639 MB / 0.7312 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/2.289, allocations: 5.583 MB / 0.7366 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.553e-05/2.289, allocations: 20 kB / 0.7366 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=722) (initialization): time 0.1001/2.389, allocations: 18.71 MB / 0.7549 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/2.389, allocations: 32 kB / 0.7549 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/2.39, allocations: 64 kB / 0.755 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06612/2.456, allocations: 8.8 MB / 0.7636 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009749/2.465, allocations: 1.01 MB / 0.7646 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1159/2.581, allocations: 52.23 MB / 0.8156 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009485/2.591, allocations: 0.4915 MB / 0.8161 GB, free: 60.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/2.593, allocations: 279.9 kB / 0.8163 GB, free: 60.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 291 * 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 (512): * Single equations (assignments): 503 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.007197/2.6, allocations: 2.272 MB / 0.8185 GB, free: 58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/2.602, allocations: 481.9 kB / 0.819 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06226/2.664, allocations: 17.94 MB / 0.8365 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05735/2.721, allocations: 16.45 MB / 0.8526 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.027e-05/2.721, allocations: 28 kB / 0.8526 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.945e-05/2.722, allocations: 19.92 kB / 0.8526 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4254/3.147, allocations: 35.34 MB / 0.8871 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.156e-05/3.147, allocations: 3.812 kB / 0.8871 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004389/3.152, allocations: 458.8 kB / 0.8876 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04357/3.195, allocations: 8.795 MB / 0.8962 GB, free: 184.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001229/3.196, allocations: 75.67 kB / 0.8962 GB, free: 184.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1098/3.306, allocations: 50.8 MB / 0.9458 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02349/3.33, allocations: 10.18 MB / 0.9558 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07237/3.402, allocations: 24.04 MB / 0.9793 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005406/3.408, allocations: 1.464 MB / 0.9807 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002315/3.41, allocations: 74 kB / 0.9808 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007438/3.417, allocations: 383.4 kB / 0.9811 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002258/3.42, allocations: 327.8 kB / 0.9814 GB, free: 99.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006035/3.42, allocations: 104 kB / 0.9815 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006989/3.427, allocations: 3.227 MB / 0.9847 GB, free: 96.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.182e-06/3.427, allocations: 0 / 0.9847 GB, free: 96.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01007/3.438, allocations: 2.012 MB / 0.9867 GB, free: 94.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * 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,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07402/3.512, allocations: 24.74 MB / 1.011 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03204/3.544, allocations: 12.59 MB / 1.023 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/3.544, allocations: 0 / 1.023 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02139/3.565, allocations: 7.188 MB / 1.03 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006909/3.572, allocations: 0.7408 MB / 1.031 GB, free: 48.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05126/3.623, allocations: 25.2 MB / 1.055 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007615/3.631, allocations: 4.282 MB / 1.06 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00636/3.638, allocations: 2.659 MB / 1.062 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/3.638, allocations: 4 kB / 1.062 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.161/8.799, allocations: 177.9 MB / 1.236 GB, free: 37.88 MB / 0.5105 GB