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.UniversalConstraint.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.UniversalConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004113, allocations: 11.98 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3017, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.4972, allocations: 107.4 MB / 416 MB, free: 1.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.4977, allocations: 95.94 kB / 416.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8024/1.3, allocations: 140.2 MB / 0.5432 GB, free: 1.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.436e-06/1.3, allocations: 4 kB / 0.5432 GB, free: 1.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006294/1.301, allocations: 164 kB / 0.5433 GB, free: 1.395 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.04506/1.346, allocations: 8.34 MB / 0.5515 GB, free: 8.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/1.346, allocations: 12.03 kB / 0.5515 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007551/1.354, allocations: 1.334 MB / 0.5528 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02449/1.378, allocations: 2.895 MB / 0.5556 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4428/1.821, allocations: 8.06 MB / 0.5635 GB, free: 48.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008752/1.822, allocations: 0.5788 MB / 0.5641 GB, free: 48.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005023/1.827, allocations: 0.7787 MB / 0.5648 GB, free: 48.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06422/1.891, allocations: 19.29 MB / 0.5837 GB, free: 45.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007102/1.892, allocations: 83.45 kB / 0.5837 GB, free: 45.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004299/1.896, allocations: 366.3 kB / 0.5841 GB, free: 45.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004118/1.9, allocations: 1.691 MB / 0.5857 GB, free: 45.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05417/1.955, allocations: 16.34 MB / 0.6017 GB, free: 45.13 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.1426/2.097, allocations: 80.59 MB / 0.6804 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04685/2.144, allocations: 8.937 MB / 0.6891 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05451/2.199, allocations: 19.65 MB / 0.7083 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.277e-05/2.199, allocations: 71.62 kB / 0.7084 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 8.436e-06/2.199, allocations: 0 / 0.7084 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of matching and sorting (n=366): time 0.5379/2.737, allocations: 45.99 MB / 0.7533 GB, free: 74.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02347/2.761, allocations: 12.92 MB / 0.7659 GB, free: 68.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/2.774, allocations: 5.378 MB / 0.7712 GB, free: 67.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001162/2.775, allocations: 85.83 kB / 0.7712 GB, free: 67.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004672/2.779, allocations: 5.129 MB / 0.7763 GB, free: 65.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002541/2.782, allocations: 1.361 MB / 0.7776 GB, free: 64.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/2.784, allocations: 189.7 kB / 0.7778 GB, free: 64.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007702/2.784, allocations: 0.7133 MB / 0.7785 GB, free: 63.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01114/2.795, allocations: 4.354 MB / 0.7827 GB, free: 62.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01498/2.81, allocations: 9.746 MB / 0.7922 GB, free: 53.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/2.826, allocations: 6.393 MB / 0.7985 GB, free: 51.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002377/2.826, allocations: 56.25 kB / 0.7985 GB, free: 51.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.05641/2.882, allocations: 17.39 MB / 0.8155 GB, free: 42.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/2.882, allocations: 84 kB / 0.8156 GB, free: 42.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002935/2.883, allocations: 195.2 kB / 0.8158 GB, free: 42.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01885/2.902, allocations: 3.585 MB / 0.8193 GB, free: 39.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01465/2.916, allocations: 2.226 MB / 0.8215 GB, free: 37.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05204/2.968, allocations: 27.82 MB / 0.8486 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01277/2.981, allocations: 0.6253 MB / 0.8492 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/2.984, allocations: 0.5735 MB / 0.8498 GB, free: 11.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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 (1149): * Single equations (assignments): 1134 * Array equations: 8 * 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%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.009967/2.994, allocations: 3.544 MB / 0.8533 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/2.996, allocations: 0.5616 MB / 0.8538 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03697/3.033, allocations: 10.35 MB / 0.8639 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3597/3.392, allocations: 9.839 MB / 0.8735 GB, free: 80.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03267/3.425, allocations: 9.394 MB / 0.8827 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/3.425, allocations: 23.27 kB / 0.8827 GB, free: 79.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07437/3.5, allocations: 24.39 MB / 0.9065 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-05/3.5, allocations: 3.5 kB / 0.9065 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006479/3.506, allocations: 0.6139 MB / 0.9071 GB, free: 78.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01634/3.523, allocations: 3 MB / 0.9101 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001144/3.524, allocations: 69.7 kB / 0.9101 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04611/3.57, allocations: 21.58 MB / 0.9312 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01118/3.581, allocations: 6.018 MB / 0.9371 GB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0435/3.625, allocations: 15.56 MB / 0.9523 GB, free: 59.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00521/3.63, allocations: 1.247 MB / 0.9535 GB, free: 58.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002636/3.633, allocations: 68.16 kB / 0.9536 GB, free: 58.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00721/3.64, allocations: 271.8 kB / 0.9538 GB, free: 58.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001757/3.642, allocations: 245 kB / 0.9541 GB, free: 58.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001073/3.643, allocations: 100 kB / 0.9542 GB, free: 58.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01138/3.654, allocations: 3.777 MB / 0.9578 GB, free: 57.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.375e-06/3.654, allocations: 0 / 0.9578 GB, free: 57.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01656/3.671, allocations: 2.08 MB / 0.9599 GB, free: 57.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * 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 (278): * Single equations (assignments): 270 * 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 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.04672/3.718, allocations: 17.36 MB / 0.9768 GB, free: 45.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02702/3.745, allocations: 11.29 MB / 0.9879 GB, free: 36.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/3.745, allocations: 0 / 0.9879 GB, free: 36.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0135/3.758, allocations: 4.749 MB / 0.9925 GB, free: 32.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007645/3.766, allocations: 0.7832 MB / 0.9933 GB, free: 31.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6015/4.368, allocations: 200.3 MB / 1.189 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01663/4.384, allocations: 5.553 MB / 1.194 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01679/4.401, allocations: 3.105 MB / 1.197 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009605/4.411, allocations: 3.557 MB / 1.201 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of SimCode: time 1.342e-06/4.411, allocations: 3.219 kB / 1.201 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7668/5.178, allocations: 151.2 MB / 1.348 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002881/5.178, allocations: 247.1 kB / 1.349 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.845/14.02, allocations: 3.938 kB / 1.349 GB, free: 105.4 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat