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.UniversalConstraint.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.UniversalConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.801/1.801, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08625, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.489, allocations: 101.6 MB / 373.8 MB, free: 3.684 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.4894, allocations: 92.14 kB / 373.8 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.834/1.323, allocations: 140.1 MB / 0.5019 GB, free: 49.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.266e-06/1.323, allocations: 0 / 0.5019 GB, free: 49.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005121/1.324, allocations: 152 kB / 0.502 GB, free: 48.95 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: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.04008/1.364, allocations: 8.345 MB / 0.5102 GB, free: 40.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.364, allocations: 8.031 kB / 0.5102 GB, free: 40.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006336/1.371, allocations: 1.342 MB / 0.5115 GB, free: 39.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/1.393, allocations: 2.899 MB / 0.5143 GB, free: 36.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02993/1.423, allocations: 8.057 MB / 0.5222 GB, free: 28.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007159/1.424, allocations: 0.5739 MB / 0.5227 GB, free: 27.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004314/1.428, allocations: 0.7731 MB / 0.5235 GB, free: 26.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06284/1.491, allocations: 19.28 MB / 0.5423 GB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006823/1.492, allocations: 79.28 kB / 0.5424 GB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004683/1.496, allocations: 371.8 kB / 0.5427 GB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00565/1.502, allocations: 1.692 MB / 0.5444 GB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3942/1.896, allocations: 16.33 MB / 0.5603 GB, free: 46.86 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.1917/2.088, allocations: 80.56 MB / 0.639 GB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04456/2.133, allocations: 8.948 MB / 0.6478 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05617/2.189, allocations: 19.85 MB / 0.6671 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.915e-05/2.189, allocations: 71.86 kB / 0.6672 GB, free: 14.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=308): time 8.055e-06/2.189, allocations: 336 / 0.6672 GB, free: 14.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=366): time 0.5036/2.693, allocations: 44.85 MB / 0.711 GB, free: 75.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02386/2.717, allocations: 12.94 MB / 0.7236 GB, free: 69.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01498/2.732, allocations: 5.377 MB / 0.7289 GB, free: 68.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001257/2.733, allocations: 82.27 kB / 0.729 GB, free: 68.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005095/2.738, allocations: 5.129 MB / 0.734 GB, free: 64.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002754/2.741, allocations: 1.361 MB / 0.7353 GB, free: 63.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/2.742, allocations: 195.6 kB / 0.7355 GB, free: 63.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008736/2.743, allocations: 0.7096 MB / 0.7362 GB, free: 63.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01132/2.755, allocations: 4.352 MB / 0.7404 GB, free: 61.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01531/2.77, allocations: 9.74 MB / 0.7499 GB, free: 53.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/2.786, allocations: 6.394 MB / 0.7562 GB, free: 50.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002229/2.786, allocations: 54.69 kB / 0.7562 GB, free: 50.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.0592/2.845, allocations: 17.38 MB / 0.7732 GB, free: 43.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/2.845, allocations: 90.77 kB / 0.7733 GB, free: 43.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003443/2.846, allocations: 192 kB / 0.7735 GB, free: 43.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01927/2.865, allocations: 3.594 MB / 0.777 GB, free: 41.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01468/2.88, allocations: 2.229 MB / 0.7792 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05202/2.932, allocations: 27.81 MB / 0.8063 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/2.946, allocations: 0.6267 MB / 0.8069 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002902/2.949, allocations: 0.5777 MB / 0.8075 GB, free: 12.95 MB / 378.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.01131/2.96, allocations: 3.544 MB / 0.811 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/2.962, allocations: 0.5592 MB / 0.8115 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03619/2.998, allocations: 10.29 MB / 0.8216 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3471/3.346, allocations: 8.991 MB / 0.8304 GB, free: 66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03304/3.379, allocations: 9.399 MB / 0.8395 GB, free: 65.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001387/3.379, allocations: 20.28 kB / 0.8395 GB, free: 65.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07574/3.455, allocations: 24.39 MB / 0.8634 GB, free: 61.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.487e-05/3.455, allocations: 10.23 kB / 0.8634 GB, free: 61.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006436/3.461, allocations: 0.6136 MB / 0.864 GB, free: 61.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01631/3.478, allocations: 3.001 MB / 0.8669 GB, free: 60.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001202/3.479, allocations: 72.66 kB / 0.867 GB, free: 60.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04624/3.525, allocations: 21.57 MB / 0.888 GB, free: 49.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01133/3.536, allocations: 6.026 MB / 0.8939 GB, free: 45.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04449/3.581, allocations: 15.55 MB / 0.9091 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005375/3.586, allocations: 1.254 MB / 0.9103 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002666/3.589, allocations: 63.66 kB / 0.9104 GB, free: 36.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007135/3.596, allocations: 276.1 kB / 0.9107 GB, free: 36.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001869/3.598, allocations: 234.9 kB / 0.9109 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001184/3.599, allocations: 106.2 kB / 0.911 GB, free: 35.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01071/3.61, allocations: 3.781 MB / 0.9147 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.304e-06/3.61, allocations: 0 / 0.9147 GB, free: 32.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01474/3.625, allocations: 2.086 MB / 0.9167 GB, free: 30.64 MB / 378.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.04788/3.673, allocations: 17.35 MB / 0.9337 GB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02755/3.701, allocations: 11.29 MB / 0.9447 GB, free: 5.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/3.701, allocations: 4 kB / 0.9447 GB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01375/3.714, allocations: 4.733 MB / 0.9493 GB, free: 356 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008291/3.723, allocations: 0.7992 MB / 0.9501 GB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8211/4.544, allocations: 200.3 MB / 1.146 GB, free: 156.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01702/4.561, allocations: 5.556 MB / 1.151 GB, free: 155.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01751/4.579, allocations: 3.103 MB / 1.154 GB, free: 155.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01056/4.589, allocations: 3.55 MB / 1.158 GB, free: 155.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.462e-06/4.589, allocations: 0 / 1.158 GB, free: 155.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6725/5.262, allocations: 151.2 MB / 1.305 GB, free: 135 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/5.262, allocations: 234.2 kB / 1.306 GB, free: 134.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.679/13.94, allocations: 0 / 1.306 GB, free: 134.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat