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.RevoluteConstraint.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.RevoluteConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 194.9 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2921, allocations: 44.49 MB / 308.6 MB, free: 12.56 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.4793, allocations: 106.9 MB / 415.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.4797, allocations: 95.94 kB / 415.6 MB, free: 1.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7204/1.2, allocations: 127.3 MB / 0.5301 GB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.005e-06/1.2, allocations: 0 / 0.5301 GB, free: 14.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005288/1.201, allocations: 143.9 kB / 0.5303 GB, free: 14.56 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: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.03968/1.24, allocations: 7.523 MB / 0.5376 GB, free: 6.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/1.24, allocations: 12.03 kB / 0.5376 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005978/1.246, allocations: 1.19 MB / 0.5388 GB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02261/1.269, allocations: 2.764 MB / 0.5415 GB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02989/1.299, allocations: 7.524 MB / 0.5488 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007895/1.3, allocations: 0.5214 MB / 0.5493 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003929/1.304, allocations: 0.6833 MB / 0.55 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6329/1.937, allocations: 17.26 MB / 0.5669 GB, free: 51.22 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005933/1.937, allocations: 84.19 kB / 0.567 GB, free: 51.22 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003834/1.941, allocations: 325.2 kB / 0.5673 GB, free: 51.22 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003673/1.945, allocations: 1.495 MB / 0.5687 GB, free: 51.2 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0466/1.992, allocations: 14.53 MB / 0.5829 GB, free: 51.15 MB / 394.8 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.1149/2.107, allocations: 73.28 MB / 0.6545 GB, free: 22.33 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03665/2.143, allocations: 7.639 MB / 0.6619 GB, free: 20.05 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04388/2.187, allocations: 15.94 MB / 0.6775 GB, free: 12.19 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/2.187, allocations: 59.91 kB / 0.6776 GB, free: 12.13 MB / 410.8 MB Notification: Performance of pre-optimization done (n=261): time 8.226e-06/2.187, allocations: 0 / 0.6776 GB, free: 12.13 MB / 410.8 MB Notification: Performance of matching and sorting (n=335): time 0.5642/2.752, allocations: 46.34 MB / 0.7228 GB, free: 84.86 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03747/2.789, allocations: 16.1 MB / 0.7385 GB, free: 81.8 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/2.801, allocations: 5.073 MB / 0.7435 GB, free: 81.52 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00108/2.802, allocations: 73.73 kB / 0.7436 GB, free: 81.48 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004396/2.806, allocations: 4.742 MB / 0.7482 GB, free: 79.84 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002386/2.809, allocations: 1.257 MB / 0.7494 GB, free: 79.11 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/2.81, allocations: 183.9 kB / 0.7496 GB, free: 79.11 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006628/2.811, allocations: 0.6884 MB / 0.7503 GB, free: 78.79 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.821, allocations: 4.103 MB / 0.7543 GB, free: 78.76 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01441/2.835, allocations: 9.307 MB / 0.7634 GB, free: 72.09 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/2.85, allocations: 6.06 MB / 0.7693 GB, free: 70.15 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/2.85, allocations: 52.47 kB / 0.7693 GB, free: 70.15 MB / 426.8 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06394/2.914, allocations: 17.94 MB / 0.7869 GB, free: 64.36 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000157/2.914, allocations: 87.19 kB / 0.7869 GB, free: 64.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/2.914, allocations: 181.8 kB / 0.7871 GB, free: 64.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02993/2.944, allocations: 4.999 MB / 0.792 GB, free: 63.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/2.957, allocations: 1.996 MB / 0.7939 GB, free: 63.22 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08049/3.038, allocations: 38.29 MB / 0.8313 GB, free: 35.85 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01339/3.051, allocations: 0.5423 MB / 0.8319 GB, free: 35.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002694/3.054, allocations: 0.5618 MB / 0.8324 GB, free: 34.88 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * 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.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 (1047): * Single equations (assignments): 1036 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.01024/3.064, allocations: 3.247 MB / 0.8356 GB, free: 32.02 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/3.066, allocations: 0.5283 MB / 0.8361 GB, free: 31.48 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04073/3.107, allocations: 10.49 MB / 0.8463 GB, free: 23.25 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/3.107, allocations: 49.34 kB / 0.8464 GB, free: 23.21 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03501/3.142, allocations: 9.554 MB / 0.8557 GB, free: 15.5 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.601e-05/3.142, allocations: 14.95 kB / 0.8557 GB, free: 15.5 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4083/3.55, allocations: 23.51 MB / 0.8787 GB, free: 71.93 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.939e-05/3.55, allocations: 10.88 kB / 0.8787 GB, free: 71.93 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004739/3.555, allocations: 450 kB / 0.8791 GB, free: 71.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02236/3.578, allocations: 3.683 MB / 0.8827 GB, free: 71.9 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/3.579, allocations: 67.67 kB / 0.8828 GB, free: 71.89 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06222/3.641, allocations: 28.24 MB / 0.9104 GB, free: 66.64 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0306/3.672, allocations: 12.64 MB / 0.9227 GB, free: 61.39 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05006/3.722, allocations: 15.14 MB / 0.9375 GB, free: 55.29 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005202/3.727, allocations: 1.146 MB / 0.9386 GB, free: 54.94 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002605/3.73, allocations: 63.05 kB / 0.9387 GB, free: 54.89 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007373/3.737, allocations: 222.7 kB / 0.9389 GB, free: 54.86 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001972/3.739, allocations: 246.9 kB / 0.9391 GB, free: 54.82 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001008/3.74, allocations: 94.86 kB / 0.9392 GB, free: 54.8 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0107/3.751, allocations: 3.553 MB / 0.9427 GB, free: 53.62 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.31e-07/3.751, allocations: 0.6562 kB / 0.9427 GB, free: 53.62 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01456/3.766, allocations: 2.028 MB / 0.9447 GB, free: 53.41 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.constantTorque.phi,bodyOfJoint.body.w_a[2]) * 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 (204): * Single equations (assignments): 196 * 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 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.05006/3.816, allocations: 16.98 MB / 0.9612 GB, free: 44.99 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0257/3.841, allocations: 10.79 MB / 0.9718 GB, free: 35.96 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/3.841, allocations: 3.188 kB / 0.9718 GB, free: 35.96 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01053/3.852, allocations: 4.231 MB / 0.9759 GB, free: 32.16 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007278/3.859, allocations: 0.7437 MB / 0.9766 GB, free: 31.56 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5285/4.388, allocations: 191.7 MB / 1.164 GB, free: 10.79 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01185/4.4, allocations: 5.108 MB / 1.169 GB, free: 9.934 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01334/4.413, allocations: 2.738 MB / 1.172 GB, free: 9.875 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008087/4.421, allocations: 3.101 MB / 1.175 GB, free: 9.867 MB / 474.8 MB Notification: Performance of SimCode: time 2.535e-06/4.421, allocations: 0 / 1.175 GB, free: 9.867 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.645/5.066, allocations: 152.9 MB / 1.324 GB, free: 67.51 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/5.067, allocations: 234.1 kB / 1.324 GB, free: 67.27 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.056/14.12, allocations: 0 / 1.324 GB, free: 67.27 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat