Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003723, allocations: 15.98 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08811, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4176/0.5057, allocations: 100.7 MB / 372.8 MB, free: 4.586 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.5061, allocations: 89.7 kB / 372.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7359/1.242, allocations: 127.3 MB / 0.4885 GB, free: 63.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.045e-06/1.242, allocations: 4 kB / 0.4885 GB, free: 63.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004589/1.243, allocations: 146.8 kB / 0.4886 GB, free: 62.89 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03497/1.278, allocations: 7.499 MB / 0.496 GB, free: 55.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.278, allocations: 12.03 kB / 0.496 GB, free: 55.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005748/1.283, allocations: 1.198 MB / 0.4971 GB, free: 54.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02225/1.306, allocations: 2.894 MB / 0.5 GB, free: 51.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02817/1.334, allocations: 8.167 MB / 0.5079 GB, free: 43.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006569/1.335, allocations: 0.5176 MB / 0.5085 GB, free: 42.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004035/1.339, allocations: 0.6988 MB / 0.5091 GB, free: 41.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05484/1.394, allocations: 17.34 MB / 0.5261 GB, free: 23.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005161/1.394, allocations: 91.27 kB / 0.5262 GB, free: 23.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003967/1.398, allocations: 331.8 kB / 0.5265 GB, free: 22.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003451/1.402, allocations: 1.491 MB / 0.5279 GB, free: 21.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04555/1.447, allocations: 14.57 MB / 0.5422 GB, free: 6.602 MB / 346.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.6612/2.108, allocations: 74.7 MB / 0.6151 GB, free: 26.03 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03505/2.144, allocations: 7.274 MB / 0.6222 GB, free: 24.4 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03852/2.182, allocations: 15.69 MB / 0.6375 GB, free: 16.65 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.012e-05/2.182, allocations: 59.06 kB / 0.6376 GB, free: 16.6 MB / 362.8 MB Notification: Performance of pre-optimization done (n=248): time 6.994e-06/2.182, allocations: 0 / 0.6376 GB, free: 16.6 MB / 362.8 MB Notification: Performance of matching and sorting (n=264): time 0.1224/2.305, allocations: 27.95 MB / 0.6649 GB, free: 1.145 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001762/2.307, allocations: 1.621 MB / 0.6665 GB, free: 15.42 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/2.321, allocations: 5.202 MB / 0.6715 GB, free: 11.02 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008265/2.322, allocations: 64.91 kB / 0.6716 GB, free: 10.95 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005674/2.328, allocations: 4.847 MB / 0.6763 GB, free: 6.613 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002276/2.33, allocations: 1.034 MB / 0.6774 GB, free: 5.707 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/2.332, allocations: 177.9 kB / 0.6775 GB, free: 5.535 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0007594/2.332, allocations: 0.6773 MB / 0.6782 GB, free: 4.953 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009467/2.342, allocations: 3.275 MB / 0.6814 GB, free: 2.18 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0193/2.361, allocations: 8.906 MB / 0.6901 GB, free: 8.141 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/2.375, allocations: 5.194 MB / 0.6951 GB, free: 3.637 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001946/2.376, allocations: 56 kB / 0.6952 GB, free: 3.582 MB / 394.8 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.3267/2.702, allocations: 13.51 MB / 0.7084 GB, free: 92.73 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/2.703, allocations: 87.88 kB / 0.7085 GB, free: 92.73 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01806/2.721, allocations: 5.611 MB / 0.714 GB, free: 92.3 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/2.731, allocations: 2.006 MB / 0.7159 GB, free: 92.25 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01308/2.744, allocations: 2.122 MB / 0.718 GB, free: 92.07 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/2.766, allocations: 13.94 MB / 0.7316 GB, free: 84.39 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/2.777, allocations: 0.5643 MB / 0.7322 GB, free: 84.39 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/2.779, allocations: 0.5278 MB / 0.7327 GB, free: 84.39 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1105): * Single equations (assignments): 1091 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00954/2.789, allocations: 3.228 MB / 0.7358 GB, free: 84.07 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001758/2.79, allocations: 0.5143 MB / 0.7363 GB, free: 84.07 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02243/2.813, allocations: 6.422 MB / 0.7426 GB, free: 83.11 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01802/2.831, allocations: 5.529 MB / 0.748 GB, free: 81.14 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01905/2.85, allocations: 5.906 MB / 0.7538 GB, free: 79.02 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.64e-05/2.85, allocations: 11.11 kB / 0.7538 GB, free: 79.02 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0533/2.904, allocations: 17.12 MB / 0.7705 GB, free: 72.68 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.732e-05/2.904, allocations: 13.86 kB / 0.7705 GB, free: 72.68 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004781/2.909, allocations: 498.2 kB / 0.771 GB, free: 72.34 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009537/2.918, allocations: 1.805 MB / 0.7728 GB, free: 71.17 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007834/2.919, allocations: 63.41 kB / 0.7728 GB, free: 71.12 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/2.938, allocations: 9.952 MB / 0.7825 GB, free: 62.24 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001311/2.939, allocations: 1.474 MB / 0.784 GB, free: 60.7 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02601/2.965, allocations: 10.82 MB / 0.7945 GB, free: 50.89 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/2.967, allocations: 0.5753 MB / 0.7951 GB, free: 50.32 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002186/2.97, allocations: 59.84 kB / 0.7952 GB, free: 50.26 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005553/2.975, allocations: 220.5 kB / 0.7954 GB, free: 50.14 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/2.976, allocations: 190.5 kB / 0.7955 GB, free: 50.02 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004145/2.977, allocations: 83.34 kB / 0.7956 GB, free: 49.94 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0102/2.987, allocations: 3.635 MB / 0.7992 GB, free: 46.71 MB / 394.8 MB Notification: Performance of sort global known variables: time 8.22e-07/2.987, allocations: 0 / 0.7992 GB, free: 46.71 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01144/2.999, allocations: 1.679 MB / 0.8008 GB, free: 45.05 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * 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 (221): * Single equations (assignments): 211 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02771/3.026, allocations: 13.48 MB / 0.814 GB, free: 31.27 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02204/3.048, allocations: 8.74 MB / 0.8225 GB, free: 22.54 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/3.049, allocations: 7.938 kB / 0.8225 GB, free: 22.53 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009658/3.058, allocations: 3.334 MB / 0.8258 GB, free: 19.11 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007085/3.065, allocations: 0.7678 MB / 0.8265 GB, free: 18.37 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4864/3.552, allocations: 190.5 MB / 1.013 GB, free: 14.32 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01411/3.566, allocations: 4.981 MB / 1.017 GB, free: 13.45 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01454/3.581, allocations: 2.903 MB / 1.02 GB, free: 13.23 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008242/3.589, allocations: 3.111 MB / 1.023 GB, free: 11.9 MB / 474.8 MB Notification: Performance of SimCode: time 1.323e-06/3.589, allocations: 0 / 1.023 GB, free: 11.9 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7722/4.361, allocations: 122.4 MB / 1.143 GB, free: 125.2 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/4.362, allocations: 238.8 kB / 1.143 GB, free: 125 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/12.04, allocations: 0 / 1.143 GB, free: 125 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat