Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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.SphericalConstraint,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003403, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09809, allocations: 44.51 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.533/0.6311, allocations: 106.4 MB / 414.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.6315, allocations: 97.38 kB / 415 MB, free: 10.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7998/1.431, allocations: 127.5 MB / 0.5298 GB, free: 66.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.335e-06/1.431, allocations: 3.625 kB / 0.5298 GB, free: 66.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005511/1.432, allocations: 141.1 kB / 0.5299 GB, free: 66.81 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03975/1.472, allocations: 7.507 MB / 0.5372 GB, free: 64.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/1.472, allocations: 8.781 kB / 0.5373 GB, free: 64.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006125/1.478, allocations: 1.201 MB / 0.5384 GB, free: 63.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0239/1.502, allocations: 2.906 MB / 0.5413 GB, free: 63.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02965/1.532, allocations: 8.18 MB / 0.5493 GB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000729/1.532, allocations: 0.5224 MB / 0.5498 GB, free: 62.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004027/1.536, allocations: 0.6949 MB / 0.5504 GB, free: 62.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05487/1.591, allocations: 17.34 MB / 0.5674 GB, free: 59.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005079/1.592, allocations: 91.36 kB / 0.5675 GB, free: 59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003487/1.595, allocations: 331.1 kB / 0.5678 GB, free: 59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003527/1.599, allocations: 1.489 MB / 0.5692 GB, free: 58.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04559/1.645, allocations: 14.58 MB / 0.5835 GB, free: 58.93 MB / 410.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.1226/1.767, allocations: 74.71 MB / 0.6564 GB, free: 21.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03523/1.803, allocations: 7.253 MB / 0.6635 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04155/1.844, allocations: 15.71 MB / 0.6788 GB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.525e-05/1.844, allocations: 60.5 kB / 0.6789 GB, free: 1.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 6.532e-06/1.844, allocations: 0 / 0.6789 GB, free: 1.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.4502/2.294, allocations: 28.27 MB / 0.7065 GB, free: 75.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001395/2.296, allocations: 1.617 MB / 0.7081 GB, free: 74.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/2.309, allocations: 5.197 MB / 0.7132 GB, free: 73.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00083/2.31, allocations: 67.44 kB / 0.7132 GB, free: 73.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00409/2.314, allocations: 4.682 MB / 0.7178 GB, free: 71.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001963/2.316, allocations: 1.04 MB / 0.7188 GB, free: 70.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/2.317, allocations: 175.9 kB / 0.719 GB, free: 70.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006533/2.318, allocations: 0.6893 MB / 0.7197 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008545/2.326, allocations: 3.278 MB / 0.7229 GB, free: 70.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/2.339, allocations: 8.666 MB / 0.7313 GB, free: 63.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/2.351, allocations: 5.205 MB / 0.7364 GB, free: 63.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002818/2.352, allocations: 52.97 kB / 0.7365 GB, free: 63.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03984/2.392, allocations: 13.42 MB / 0.7496 GB, free: 61.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/2.392, allocations: 85.41 kB / 0.7496 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01807/2.41, allocations: 5.696 MB / 0.7552 GB, free: 59.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/2.421, allocations: 2.106 MB / 0.7573 GB, free: 58.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/2.434, allocations: 2.108 MB / 0.7593 GB, free: 58.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/2.457, allocations: 14.35 MB / 0.7733 GB, free: 48.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/2.468, allocations: 0.5703 MB / 0.7739 GB, free: 48.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002353/2.47, allocations: 0.5325 MB / 0.7744 GB, free: 48.46 MB / 426.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 (1102): * Single equations (assignments): 1088 * 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 {4} * 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.009925/2.48, allocations: 3.214 MB / 0.7776 GB, free: 46.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/2.482, allocations: 0.5146 MB / 0.7781 GB, free: 46.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/2.504, allocations: 6.432 MB / 0.7843 GB, free: 43.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01783/2.522, allocations: 5.52 MB / 0.7897 GB, free: 39.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01845/2.541, allocations: 5.906 MB / 0.7955 GB, free: 34.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/2.541, allocations: 15.11 kB / 0.7955 GB, free: 34.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05158/2.593, allocations: 17.1 MB / 0.8122 GB, free: 20.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/2.593, allocations: 12 kB / 0.8122 GB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004731/2.598, allocations: 0.4969 MB / 0.8127 GB, free: 20.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009458/2.607, allocations: 1.796 MB / 0.8145 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007992/2.608, allocations: 70.89 kB / 0.8145 GB, free: 19.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/2.626, allocations: 9.96 MB / 0.8243 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001167/2.628, allocations: 1.482 MB / 0.8257 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3512/2.979, allocations: 11.57 MB / 0.837 GB, free: 66.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/2.981, allocations: 0.5679 MB / 0.8376 GB, free: 66.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/2.984, allocations: 58.03 kB / 0.8376 GB, free: 66.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005513/2.989, allocations: 218 kB / 0.8378 GB, free: 66.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/2.99, allocations: 192.6 kB / 0.838 GB, free: 66.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/2.991, allocations: 88.75 kB / 0.8381 GB, free: 66.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01091/3.002, allocations: 3.635 MB / 0.8416 GB, free: 66.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/3.002, allocations: 0 / 0.8416 GB, free: 66.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01401/3.016, allocations: 1.68 MB / 0.8433 GB, free: 66.64 MB / 426.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.02996/3.046, allocations: 13.5 MB / 0.8565 GB, free: 62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0219/3.068, allocations: 8.875 MB / 0.8651 GB, free: 61.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/3.068, allocations: 0 / 0.8651 GB, free: 61.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009354/3.077, allocations: 3.351 MB / 0.8684 GB, free: 60.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007378/3.085, allocations: 0.7694 MB / 0.8692 GB, free: 60.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5273/3.612, allocations: 191.3 MB / 1.056 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01313/3.625, allocations: 4.971 MB / 1.061 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008524/3.634, allocations: 3.177 MB / 1.064 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/3.634, allocations: 0 / 1.064 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.88/10.51, allocations: 316.6 MB / 1.373 GB, free: 159.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat