Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003574, allocations: 12 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08168, allocations: 38.77 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.4714, allocations: 101.6 MB / 373.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.4717, allocations: 87.89 kB / 373.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8207/1.292, allocations: 140 MB / 0.5018 GB, free: 49.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.005e-06/1.292, allocations: 0 / 0.5018 GB, free: 49.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005493/1.293, allocations: 167.9 kB / 0.502 GB, free: 49.48 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.03929/1.332, allocations: 8.333 MB / 0.5101 GB, free: 41.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.332, allocations: 12.03 kB / 0.5101 GB, free: 41.04 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005934/1.338, allocations: 1.338 MB / 0.5114 GB, free: 39.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02259/1.361, allocations: 2.911 MB / 0.5143 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02843/1.389, allocations: 8.049 MB / 0.5221 GB, free: 28.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007037/1.39, allocations: 0.5817 MB / 0.5227 GB, free: 28.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004118/1.394, allocations: 0.7731 MB / 0.5235 GB, free: 27.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05949/1.454, allocations: 19.28 MB / 0.5423 GB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004744/1.454, allocations: 87.27 kB / 0.5424 GB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00344/1.458, allocations: 375.8 kB / 0.5427 GB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003755/1.462, allocations: 1.688 MB / 0.5444 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6106/2.072, allocations: 16.34 MB / 0.5603 GB, free: 45.79 MB / 346.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.1356/2.208, allocations: 80.56 MB / 0.639 GB, free: 13.32 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04521/2.253, allocations: 8.929 MB / 0.6477 GB, free: 10.7 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05393/2.307, allocations: 19.66 MB / 0.6669 GB, free: 12.93 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.108e-05/2.307, allocations: 68.12 kB / 0.667 GB, free: 12.86 MB / 378.8 MB Notification: Performance of pre-optimization done (n=308): time 7.574e-06/2.307, allocations: 4 kB / 0.667 GB, free: 12.85 MB / 378.8 MB Notification: Performance of matching and sorting (n=366): time 0.5372/2.845, allocations: 44.77 MB / 0.7107 GB, free: 90.11 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03384/2.878, allocations: 12.92 MB / 0.7233 GB, free: 83.51 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02059/2.899, allocations: 5.389 MB / 0.7286 GB, free: 83.02 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001572/2.901, allocations: 78.98 kB / 0.7287 GB, free: 82.99 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006599/2.907, allocations: 4.938 MB / 0.7335 GB, free: 80.23 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003735/2.911, allocations: 1.37 MB / 0.7348 GB, free: 79.44 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002642/2.914, allocations: 192.2 kB / 0.735 GB, free: 79.44 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.001469/2.915, allocations: 0.7109 MB / 0.7357 GB, free: 79.11 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01643/2.932, allocations: 4.356 MB / 0.74 GB, free: 79.08 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02035/2.952, allocations: 9.747 MB / 0.7495 GB, free: 71.55 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/2.967, allocations: 6.385 MB / 0.7557 GB, free: 69.25 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002043/2.967, allocations: 56.62 kB / 0.7558 GB, free: 69.25 MB / 394.8 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.05636/3.024, allocations: 17.18 MB / 0.7726 GB, free: 63.3 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.00015/3.024, allocations: 86.25 kB / 0.7726 GB, free: 63.3 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003257/3.024, allocations: 189.3 kB / 0.7728 GB, free: 63.3 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01913/3.043, allocations: 3.599 MB / 0.7763 GB, free: 62.61 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01736/3.061, allocations: 2.218 MB / 0.7785 GB, free: 62.36 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1004/3.161, allocations: 27.82 MB / 0.8057 GB, free: 41.02 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/3.175, allocations: 0.619 MB / 0.8063 GB, free: 40.53 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002695/3.178, allocations: 0.5783 MB / 0.8068 GB, free: 39.98 MB / 394.8 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.01171/3.19, allocations: 3.542 MB / 0.8103 GB, free: 36.87 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/3.192, allocations: 0.5708 MB / 0.8109 GB, free: 36.29 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03656/3.228, allocations: 10.29 MB / 0.8209 GB, free: 28.05 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03098/3.259, allocations: 8.991 MB / 0.8297 GB, free: 20.71 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.3239/3.583, allocations: 9.388 MB / 0.8388 GB, free: 79.86 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001385/3.584, allocations: 24.09 kB / 0.8389 GB, free: 79.86 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08019/3.664, allocations: 24.39 MB / 0.8627 GB, free: 78.63 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.916e-05/3.664, allocations: 8.25 kB / 0.8627 GB, free: 78.63 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006473/3.67, allocations: 0.6188 MB / 0.8633 GB, free: 78.63 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01627/3.687, allocations: 2.993 MB / 0.8662 GB, free: 78.59 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/3.688, allocations: 70.97 kB / 0.8663 GB, free: 78.59 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04581/3.734, allocations: 21.58 MB / 0.8874 GB, free: 69.13 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01093/3.745, allocations: 6.023 MB / 0.8932 GB, free: 65.12 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04288/3.788, allocations: 15.55 MB / 0.9084 GB, free: 58.67 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005051/3.793, allocations: 1.256 MB / 0.9097 GB, free: 58.29 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002298/3.795, allocations: 67.09 kB / 0.9097 GB, free: 58.24 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007112/3.802, allocations: 277.8 kB / 0.91 GB, free: 58.2 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/3.804, allocations: 244.8 kB / 0.9102 GB, free: 58.16 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005448/3.805, allocations: 101 kB / 0.9103 GB, free: 58.14 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01007/3.815, allocations: 3.784 MB / 0.914 GB, free: 56.86 MB / 394.8 MB Notification: Performance of sort global known variables: time 5.31e-07/3.815, allocations: 0 / 0.914 GB, free: 56.86 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01429/3.829, allocations: 2.077 MB / 0.916 GB, free: 56.65 MB / 394.8 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.04436/3.873, allocations: 17.36 MB / 0.933 GB, free: 43.25 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02625/3.9, allocations: 11.29 MB / 0.944 GB, free: 33.66 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/3.9, allocations: 0 / 0.944 GB, free: 33.66 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01318/3.913, allocations: 4.732 MB / 0.9486 GB, free: 29.52 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007438/3.92, allocations: 0.8003 MB / 0.9494 GB, free: 28.86 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5103/4.431, allocations: 201.2 MB / 1.146 GB, free: 14.28 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01698/4.448, allocations: 5.56 MB / 1.151 GB, free: 13.38 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01195/4.46, allocations: 3.614 MB / 1.155 GB, free: 12.99 MB / 474.8 MB Notification: Performance of SimCode: time 1.704e-06/4.46, allocations: 0 / 1.155 GB, free: 12.99 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.83/11.29, allocations: 314.6 MB / 1.462 GB, free: 87.65 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat