Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.155/2.155, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09489, allocations: 44.51 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5611, allocations: 107.4 MB / 415.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/0.5615, allocations: 96.56 kB / 416 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9152/1.477, allocations: 140.1 MB / 0.5431 GB, free: 65.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.477, allocations: 0 / 0.5431 GB, free: 65.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005852/1.477, allocations: 157.6 kB / 0.5433 GB, free: 65.37 MB / 410.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.0409/1.518, allocations: 8.346 MB / 0.5514 GB, free: 62.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.518, allocations: 11.03 kB / 0.5515 GB, free: 62.37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00661/1.525, allocations: 1.335 MB / 0.5528 GB, free: 62.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02257/1.548, allocations: 2.9 MB / 0.5556 GB, free: 61.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02845/1.576, allocations: 8.058 MB / 0.5635 GB, free: 60.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000752/1.577, allocations: 0.581 MB / 0.564 GB, free: 60.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004448/1.581, allocations: 0.7809 MB / 0.5648 GB, free: 60.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06091/1.642, allocations: 19.28 MB / 0.5836 GB, free: 57.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005376/1.643, allocations: 88.19 kB / 0.5837 GB, free: 57.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003904/1.647, allocations: 368.2 kB / 0.5841 GB, free: 57.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/1.651, allocations: 1.689 MB / 0.5857 GB, free: 57.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05476/1.706, allocations: 16.35 MB / 0.6017 GB, free: 54.19 MB / 410.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.1367/1.842, allocations: 80.59 MB / 0.6804 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3916/2.234, allocations: 9.904 MB / 0.69 GB, free: 76.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04865/2.283, allocations: 19.65 MB / 0.7092 GB, free: 73.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/2.283, allocations: 67.31 kB / 0.7093 GB, free: 73.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=308): time 7.975e-06/2.283, allocations: 0 / 0.7093 GB, free: 73.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=366): time 0.2088/2.492, allocations: 44.78 MB / 0.753 GB, free: 64.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.024/2.516, allocations: 12.92 MB / 0.7657 GB, free: 55.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/2.531, allocations: 5.382 MB / 0.7709 GB, free: 53.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001215/2.532, allocations: 75.89 kB / 0.771 GB, free: 53.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004591/2.537, allocations: 4.947 MB / 0.7758 GB, free: 50.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002708/2.54, allocations: 1.373 MB / 0.7772 GB, free: 49.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001905/2.542, allocations: 192.2 kB / 0.7773 GB, free: 49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009007/2.543, allocations: 0.7133 MB / 0.778 GB, free: 48.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0115/2.554, allocations: 4.354 MB / 0.7823 GB, free: 46.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01519/2.569, allocations: 9.751 MB / 0.7918 GB, free: 38.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/2.585, allocations: 6.382 MB / 0.798 GB, free: 35.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002337/2.585, allocations: 52 kB / 0.7981 GB, free: 35.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.05688/2.642, allocations: 17.18 MB / 0.8149 GB, free: 21.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00017/2.642, allocations: 88 kB / 0.815 GB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004071/2.642, allocations: 188 kB / 0.8151 GB, free: 21.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01903/2.662, allocations: 3.591 MB / 0.8186 GB, free: 18.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0145/2.676, allocations: 2.227 MB / 0.8208 GB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3803/3.056, allocations: 27.87 MB / 0.848 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01314/3.07, allocations: 0.6213 MB / 0.8486 GB, free: 75.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00277/3.072, allocations: 0.5736 MB / 0.8492 GB, free: 75.26 MB / 442.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.01235/3.085, allocations: 3.547 MB / 0.8527 GB, free: 75.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002089/3.087, allocations: 0.5625 MB / 0.8532 GB, free: 75.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03887/3.126, allocations: 10.3 MB / 0.8633 GB, free: 74.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03115/3.157, allocations: 8.987 MB / 0.8721 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03249/3.19, allocations: 9.401 MB / 0.8812 GB, free: 73.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001259/3.19, allocations: 24.08 kB / 0.8813 GB, free: 73.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07736/3.267, allocations: 24.39 MB / 0.9051 GB, free: 66.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.456e-05/3.267, allocations: 3.969 kB / 0.9051 GB, free: 66.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006522/3.274, allocations: 0.6174 MB / 0.9057 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01624/3.29, allocations: 2.997 MB / 0.9086 GB, free: 65.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001226/3.291, allocations: 74 kB / 0.9087 GB, free: 65.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04672/3.338, allocations: 21.57 MB / 0.9297 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01145/3.35, allocations: 6.019 MB / 0.9356 GB, free: 50.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04449/3.394, allocations: 15.55 MB / 0.9508 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004957/3.399, allocations: 1.253 MB / 0.952 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002615/3.402, allocations: 67.72 kB / 0.9521 GB, free: 42.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007148/3.409, allocations: 277.4 kB / 0.9524 GB, free: 42.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/3.411, allocations: 244.9 kB / 0.9526 GB, free: 42.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/3.412, allocations: 98.56 kB / 0.9527 GB, free: 42.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01062/3.423, allocations: 3.777 MB / 0.9564 GB, free: 39.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.042e-06/3.423, allocations: 0 / 0.9564 GB, free: 39.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01517/3.438, allocations: 2.086 MB / 0.9584 GB, free: 37.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.04536/3.483, allocations: 17.36 MB / 0.9754 GB, free: 22.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02682/3.51, allocations: 11.29 MB / 0.9864 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/3.51, allocations: 9.844 kB / 0.9864 GB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01529/3.526, allocations: 4.737 MB / 0.991 GB, free: 8.566 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007465/3.533, allocations: 0.7899 MB / 0.9918 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5432/4.076, allocations: 201.2 MB / 1.188 GB, free: 27.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01468/4.091, allocations: 5.561 MB / 1.194 GB, free: 26.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009948/4.101, allocations: 3.615 MB / 1.197 GB, free: 26.23 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/4.101, allocations: 0 / 1.197 GB, free: 26.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.258/11.36, allocations: 314.7 MB / 1.505 GB, free: 173.7 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat