Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 15.94 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.1149/0.4282, allocations: 70.54 MB / 379.1 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05072/0.479, allocations: 16.66 MB / 395.8 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01659/0.4956, allocations: 367.1 kB / 396.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01366/0.5094, allocations: 3.635 MB / 399.7 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04095/0.5504, allocations: 9.919 MB / 409.7 MB, free: 7.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008347/0.5588, allocations: 1.186 MB / 410.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.5695, allocations: 3.765 MB / 414.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3284/0.8979, allocations: 9.446 MB / 424.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.9025, allocations: 1.746 MB / 425.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.9073, allocations: 2.05 MB / 427.9 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.9093, allocations: 226 kB / 428.1 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004954/0.9143, allocations: 1.341 MB / 429.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004578/0.9189, allocations: 2.562 MB / 432 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003149/0.9221, allocations: 1.342 MB / 433.3 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.9366, allocations: 9.508 MB / 442.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9367, allocations: 0 / 442.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.9367, allocations: 0 / 442.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005209/0.9372, allocations: 0 / 442.8 MB, free: 2.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02789/0.9651, allocations: 7.142 MB / 450 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.9652, allocations: 8.281 kB / 450 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005082/0.9703, allocations: 1.14 MB / 451.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/0.9876, allocations: 2.606 MB / 453.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/1.002, allocations: 4.521 MB / 458.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005034/1.002, allocations: 429.8 kB / 458.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003468/1.006, allocations: 0.5684 MB / 459.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0579/1.064, allocations: 16.81 MB / 476.1 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005056/1.064, allocations: 69.67 kB / 476.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003303/1.068, allocations: 260.8 kB / 476.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007207/1.075, allocations: 2.546 MB / 478.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05065/1.126, allocations: 14.44 MB / 493.4 MB, free: 3.48 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/1.258, allocations: 63.03 MB / 0.5433 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03953/1.298, allocations: 7.62 MB / 0.5508 GB, free: 9.434 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04488/1.343, allocations: 16.18 MB / 0.5666 GB, free: 8.926 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.893e-05/1.343, allocations: 63.66 kB / 0.5667 GB, free: 8.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=260): time 7.314e-06/1.343, allocations: 0 / 0.5667 GB, free: 8.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=326): time 0.5109/1.854, allocations: 43.4 MB / 0.609 GB, free: 173.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03811/1.892, allocations: 17.03 MB / 0.6257 GB, free: 156.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/1.905, allocations: 5.956 MB / 0.6315 GB, free: 150.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.906, allocations: 70.48 kB / 0.6315 GB, free: 150.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00399/1.91, allocations: 4.716 MB / 0.6362 GB, free: 145.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00227/1.912, allocations: 1.226 MB / 0.6374 GB, free: 144.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/1.914, allocations: 176 kB / 0.6375 GB, free: 144.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007184/1.915, allocations: 0.6902 MB / 0.6382 GB, free: 143.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01011/1.925, allocations: 4.062 MB / 0.6422 GB, free: 139.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01356/1.938, allocations: 9.245 MB / 0.6512 GB, free: 127.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.952, allocations: 6.006 MB / 0.6571 GB, free: 121.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/1.953, allocations: 52 kB / 0.6571 GB, free: 121.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.06086/2.014, allocations: 17.42 MB / 0.6741 GB, free: 104.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/2.014, allocations: 84.94 kB / 0.6742 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/2.014, allocations: 180 kB / 0.6744 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02755/2.042, allocations: 4.596 MB / 0.6789 GB, free: 99.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/2.054, allocations: 2.003 MB / 0.6808 GB, free: 97.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08012/2.134, allocations: 35.05 MB / 0.715 GB, free: 61.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01767/2.152, allocations: 0.5303 MB / 0.7156 GB, free: 60.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002657/2.155, allocations: 0.5584 MB / 0.7161 GB, free: 60.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 836 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1036 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 33,(2,100.0%) 19,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.01218/2.167, allocations: 3.238 MB / 0.7193 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002393/2.17, allocations: 0.5245 MB / 0.7198 GB, free: 56.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06427/2.234, allocations: 9.879 MB / 0.7294 GB, free: 46.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/2.234, allocations: 51.92 kB / 0.7295 GB, free: 46.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03305/2.267, allocations: 8.445 MB / 0.7377 GB, free: 37.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000171/2.267, allocations: 15.94 kB / 0.7377 GB, free: 37.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07249/2.34, allocations: 22.56 MB / 0.7598 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.747e-05/2.34, allocations: 4 kB / 0.7598 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004758/2.345, allocations: 467.9 kB / 0.7602 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3132/2.658, allocations: 3.279 MB / 0.7634 GB, free: 163.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001408/2.659, allocations: 62.09 kB / 0.7635 GB, free: 163.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05825/2.718, allocations: 25.2 MB / 0.7881 GB, free: 153.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02507/2.743, allocations: 11.02 MB / 0.7989 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04323/2.786, allocations: 13.78 MB / 0.8123 GB, free: 140.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004506/2.791, allocations: 1.131 MB / 0.8134 GB, free: 139.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002046/2.793, allocations: 57.33 kB / 0.8135 GB, free: 139.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006803/2.8, allocations: 215.9 kB / 0.8137 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001783/2.801, allocations: 230.9 kB / 0.8139 GB, free: 139.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005443/2.802, allocations: 88.88 kB / 0.814 GB, free: 139 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00908/2.811, allocations: 3.742 MB / 0.8176 GB, free: 136 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.844e-05/2.811, allocations: 0 / 0.8176 GB, free: 136 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01326/2.824, allocations: 1.991 MB / 0.8196 GB, free: 134 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.constantTorque.phi,bodyOfJoint.body.w_a[2]) * 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 (208): * Single equations (assignments): 200 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.04537/2.87, allocations: 14.48 MB / 0.8337 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02469/2.895, allocations: 10.62 MB / 0.8441 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/2.895, allocations: 2 kB / 0.8441 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01027/2.905, allocations: 4.127 MB / 0.8481 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007235/2.912, allocations: 0.7442 MB / 0.8489 GB, free: 105.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06045/2.973, allocations: 34.27 MB / 0.8823 GB, free: 67.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01075/2.984, allocations: 5.087 MB / 0.8873 GB, free: 61.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01241/2.996, allocations: 2.76 MB / 0.89 GB, free: 59.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007131/3.003, allocations: 3.135 MB / 0.893 GB, free: 55.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.582e-06/3.003, allocations: 0 / 0.893 GB, free: 55.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5912/3.594, allocations: 146.8 MB / 1.036 GB, free: 88.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/3.595, allocations: 234 kB / 1.037 GB, free: 88.08 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/11.97, allocations: 0 / 1.037 GB, free: 88.08 MB / 458.7 MB