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.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_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 194.8 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 8 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2914, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.5019, allocations: 106.4 MB / 415 MB, free: 2.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.5023, allocations: 87.95 kB / 415.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7376/1.24, allocations: 127.5 MB / 0.5298 GB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.24, allocations: 0 / 0.5298 GB, free: 15.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005816/1.241, allocations: 136 kB / 0.53 GB, free: 14.99 MB / 378.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.03992/1.281, allocations: 7.508 MB / 0.5373 GB, free: 7.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.281, allocations: 8.031 kB / 0.5373 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006177/1.287, allocations: 1.198 MB / 0.5385 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02423/1.311, allocations: 2.904 MB / 0.5413 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03339/1.345, allocations: 8.187 MB / 0.5493 GB, free: 10.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008325/1.345, allocations: 0.5176 MB / 0.5498 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004263/1.35, allocations: 0.6911 MB / 0.5505 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.365/1.715, allocations: 17.34 MB / 0.5674 GB, free: 52.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005853/1.715, allocations: 88.61 kB / 0.5675 GB, free: 52.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00372/1.719, allocations: 331.9 kB / 0.5678 GB, free: 52.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003715/1.723, allocations: 1.491 MB / 0.5693 GB, free: 52.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04589/1.769, allocations: 14.57 MB / 0.5835 GB, free: 52.2 MB / 394.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.1238/1.893, allocations: 74.69 MB / 0.6564 GB, free: 21.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03644/1.929, allocations: 7.269 MB / 0.6635 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04104/1.97, allocations: 15.7 MB / 0.6789 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.774e-05/1.97, allocations: 67.36 kB / 0.6789 GB, free: 11.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=248): time 7.925e-06/1.97, allocations: 0 / 0.6789 GB, free: 11.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=264): time 0.1365/2.107, allocations: 27.95 MB / 0.7062 GB, free: 6.852 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001979/2.109, allocations: 1.623 MB / 0.7078 GB, free: 5.125 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01557/2.125, allocations: 5.206 MB / 0.7129 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008396/2.126, allocations: 61.7 kB / 0.713 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3279/2.453, allocations: 4.869 MB / 0.7177 GB, free: 85.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002143/2.456, allocations: 1.037 MB / 0.7187 GB, free: 85.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/2.457, allocations: 177.3 kB / 0.7189 GB, free: 85.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001074/2.458, allocations: 0.677 MB / 0.7195 GB, free: 84.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008895/2.467, allocations: 3.28 MB / 0.7228 GB, free: 84.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/2.481, allocations: 8.669 MB / 0.7312 GB, free: 77.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/2.495, allocations: 5.204 MB / 0.7363 GB, free: 77.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003014/2.495, allocations: 53.28 kB / 0.7363 GB, free: 77.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.04291/2.538, allocations: 13.6 MB / 0.7496 GB, free: 76.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001865/2.538, allocations: 89.69 kB / 0.7497 GB, free: 76.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01961/2.558, allocations: 5.695 MB / 0.7553 GB, free: 76.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/2.569, allocations: 2.104 MB / 0.7573 GB, free: 76.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/2.583, allocations: 2.107 MB / 0.7594 GB, free: 75.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/2.607, allocations: 14.36 MB / 0.7734 GB, free: 68.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/2.618, allocations: 0.5738 MB / 0.774 GB, free: 67.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002458/2.62, allocations: 0.5322 MB / 0.7745 GB, free: 67.82 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.009798/2.63, allocations: 3.207 MB / 0.7776 GB, free: 66.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/2.632, allocations: 0.5103 MB / 0.7781 GB, free: 66.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02325/2.655, allocations: 6.436 MB / 0.7844 GB, free: 63.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02001/2.675, allocations: 5.518 MB / 0.7898 GB, free: 61.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02028/2.696, allocations: 5.906 MB / 0.7956 GB, free: 59.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.485e-05/2.696, allocations: 21.25 kB / 0.7956 GB, free: 59.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05769/2.753, allocations: 17.11 MB / 0.8123 GB, free: 49.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.685e-05/2.754, allocations: 8 kB / 0.8123 GB, free: 49.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005001/2.759, allocations: 0.4889 MB / 0.8128 GB, free: 49.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/2.769, allocations: 1.794 MB / 0.8145 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008975/2.77, allocations: 67.08 kB / 0.8146 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02001/2.79, allocations: 9.963 MB / 0.8243 GB, free: 39.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001346/2.791, allocations: 1.476 MB / 0.8258 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0278/2.819, allocations: 10.82 MB / 0.8363 GB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/2.821, allocations: 0.572 MB / 0.8369 GB, free: 26.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002207/2.823, allocations: 63.61 kB / 0.837 GB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005519/2.829, allocations: 209.1 kB / 0.8372 GB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/2.83, allocations: 193.8 kB / 0.8373 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006967/2.831, allocations: 86.47 kB / 0.8374 GB, free: 26.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009958/2.841, allocations: 3.635 MB / 0.841 GB, free: 23.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.841, allocations: 0 / 0.841 GB, free: 23.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01204/2.853, allocations: 1.682 MB / 0.8426 GB, free: 21.86 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.02981/2.883, allocations: 13.49 MB / 0.8558 GB, free: 9.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02354/2.906, allocations: 8.875 MB / 0.8644 GB, free: 1.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/2.906, allocations: 0 / 0.8644 GB, free: 1.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3166/3.223, allocations: 3.347 MB / 0.8677 GB, free: 95.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006971/3.23, allocations: 0.7681 MB / 0.8685 GB, free: 94.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5122/3.742, allocations: 190.6 MB / 1.055 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/3.754, allocations: 4.967 MB / 1.059 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01428/3.769, allocations: 2.897 MB / 1.062 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008025/3.777, allocations: 3.112 MB / 1.065 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of SimCode: time 2.034e-06/3.777, allocations: 0 / 1.065 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2605/4.037, allocations: 123 MB / 1.185 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/4.038, allocations: 235.3 kB / 1.186 GB, free: 67.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/12.22, allocations: 0 / 1.186 GB, free: 67.66 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat