Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.613/1.613, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005218/0.0005219, allocations: 8 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08545, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3948/0.4803, allocations: 100.7 MB / 372.8 MB, free: 5.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.4807, allocations: 87.2 kB / 372.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7259/1.207, allocations: 127.3 MB / 0.4885 GB, free: 63.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.207, allocations: 0 / 0.4885 GB, free: 63.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004986/1.207, allocations: 139 kB / 0.4886 GB, free: 63.48 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.03609/1.243, allocations: 7.499 MB / 0.4959 GB, free: 55.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.243, allocations: 8.031 kB / 0.4959 GB, free: 55.94 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005782/1.249, allocations: 1.198 MB / 0.4971 GB, free: 54.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02286/1.272, allocations: 2.898 MB / 0.4999 GB, free: 51.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02714/1.299, allocations: 8.175 MB / 0.5079 GB, free: 43.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006251/1.3, allocations: 0.5214 MB / 0.5084 GB, free: 43.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003875/1.304, allocations: 0.6988 MB / 0.5091 GB, free: 42.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05416/1.358, allocations: 17.34 MB / 0.5261 GB, free: 23.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004046/1.359, allocations: 83.28 kB / 0.5261 GB, free: 23.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002959/1.361, allocations: 331.8 kB / 0.5265 GB, free: 23.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003391/1.365, allocations: 1.491 MB / 0.5279 GB, free: 21.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04609/1.411, allocations: 14.57 MB / 0.5421 GB, free: 7.199 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.3958/1.807, allocations: 74.69 MB / 0.6151 GB, free: 27.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03744/1.844, allocations: 7.258 MB / 0.6222 GB, free: 26.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03995/1.884, allocations: 15.7 MB / 0.6375 GB, free: 18.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/1.885, allocations: 65.25 kB / 0.6376 GB, free: 18.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=248): time 7.314e-06/1.885, allocations: 1.594 kB / 0.6376 GB, free: 18.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=264): time 0.1292/2.014, allocations: 27.94 MB / 0.6649 GB, free: 3.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001878/2.016, allocations: 1.619 MB / 0.6664 GB, free: 1.531 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02468/2.04, allocations: 5.743 MB / 0.672 GB, free: 14.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008488/2.041, allocations: 63.81 kB / 0.6721 GB, free: 14.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005668/2.047, allocations: 4.681 MB / 0.6767 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/2.049, allocations: 1.043 MB / 0.6777 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/2.051, allocations: 176 kB / 0.6779 GB, free: 9.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0009449/2.052, allocations: 0.6873 MB / 0.6785 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009825/2.062, allocations: 3.268 MB / 0.6817 GB, free: 5.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2834/2.345, allocations: 8.667 MB / 0.6902 GB, free: 80.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/2.359, allocations: 5.186 MB / 0.6953 GB, free: 80.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003794/2.36, allocations: 55.98 kB / 0.6953 GB, free: 80.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.04095/2.4, allocations: 13.32 MB / 0.7083 GB, free: 79.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001997/2.401, allocations: 86.91 kB / 0.7084 GB, free: 79.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01856/2.419, allocations: 5.611 MB / 0.7139 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/2.429, allocations: 2.007 MB / 0.7158 GB, free: 78.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0133/2.443, allocations: 2.127 MB / 0.7179 GB, free: 78.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/2.464, allocations: 13.96 MB / 0.7316 GB, free: 69.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.475, allocations: 0.566 MB / 0.7321 GB, free: 69.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002361/2.478, allocations: 0.5294 MB / 0.7326 GB, free: 69.6 MB / 378.7 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.009616/2.487, allocations: 3.212 MB / 0.7358 GB, free: 68.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.489, allocations: 0.5157 MB / 0.7363 GB, free: 68.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02118/2.51, allocations: 6.429 MB / 0.7425 GB, free: 65.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0177/2.528, allocations: 5.531 MB / 0.7479 GB, free: 63.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01851/2.546, allocations: 5.901 MB / 0.7537 GB, free: 61.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.603e-05/2.546, allocations: 9.516 kB / 0.7537 GB, free: 61.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05047/2.597, allocations: 17.12 MB / 0.7704 GB, free: 50.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-05/2.597, allocations: 11.36 kB / 0.7704 GB, free: 50.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004744/2.602, allocations: 0.4937 MB / 0.7709 GB, free: 50.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009497/2.611, allocations: 1.795 MB / 0.7727 GB, free: 48.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007364/2.612, allocations: 67.55 kB / 0.7727 GB, free: 48.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/2.631, allocations: 9.953 MB / 0.7825 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0011/2.632, allocations: 1.481 MB / 0.7839 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02554/2.657, allocations: 10.82 MB / 0.7945 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/2.659, allocations: 0.5758 MB / 0.795 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00207/2.661, allocations: 56.84 kB / 0.7951 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005318/2.667, allocations: 216.7 kB / 0.7953 GB, free: 27.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/2.668, allocations: 185.5 kB / 0.7955 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003536/2.668, allocations: 88.67 kB / 0.7956 GB, free: 26.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009525/2.678, allocations: 3.633 MB / 0.7991 GB, free: 23.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.71e-07/2.678, allocations: 4 kB / 0.7991 GB, free: 23.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01198/2.69, allocations: 1.678 MB / 0.8008 GB, free: 21.61 MB / 378.7 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.02849/2.718, allocations: 13.48 MB / 0.8139 GB, free: 7.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02293/2.741, allocations: 8.739 MB / 0.8225 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/2.741, allocations: 4 kB / 0.8225 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2782/3.02, allocations: 3.344 MB / 0.8257 GB, free: 97.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007669/3.027, allocations: 0.766 MB / 0.8265 GB, free: 97.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6098/3.637, allocations: 191.3 MB / 1.013 GB, free: 112.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01451/3.652, allocations: 4.969 MB / 1.018 GB, free: 111.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009021/3.661, allocations: 3.176 MB / 1.021 GB, free: 110.4 MB / 442.7 MB Notification: Performance of SimCode: time 3.767e-06/3.661, allocations: 0 / 1.021 GB, free: 110.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.675/10.34, allocations: 316.4 MB / 1.33 GB, free: 108.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat