Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 227.2 MB / 245 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008857/0.0008856, allocations: 99.3 kB / 297.3 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002396, allocations: 8 kB / 358 MB, free: 9.246 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.5433, allocations: 115.9 MB / 0.5131 GB, free: 45.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5436, allocations: 95.2 kB / 0.5132 GB, free: 45.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3034/0.8471, allocations: 144.7 MB / 0.6545 GB, free: 8.305 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.8471, allocations: 0 / 0.6545 GB, free: 8.305 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003251/0.8474, allocations: 156 kB / 0.6547 GB, free: 8.152 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.02976/0.8772, allocations: 8.457 MB / 0.6629 GB, free: 15.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.8773, allocations: 8.031 kB / 0.663 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005831/0.8831, allocations: 1.334 MB / 0.6643 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.8959, allocations: 2.884 MB / 0.6671 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/0.9147, allocations: 7.093 MB / 0.674 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006161/0.9154, allocations: 0.5778 MB / 0.6746 GB, free: 3.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003609/0.919, allocations: 0.7692 MB / 0.6753 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.452/1.371, allocations: 19.26 MB / 0.6941 GB, free: 65.1 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/1.371, allocations: 91.03 kB / 0.6942 GB, free: 65.1 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/1.373, allocations: 364.4 kB / 0.6946 GB, free: 65.1 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002042/1.375, allocations: 1.682 MB / 0.6962 GB, free: 65.09 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/1.406, allocations: 16.29 MB / 0.7121 GB, free: 65.04 MB / 458.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.09254/1.498, allocations: 80.26 MB / 0.7905 GB, free: 32.06 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/1.521, allocations: 9.068 MB / 0.7993 GB, free: 29.43 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02998/1.551, allocations: 20.21 MB / 0.8191 GB, free: 15.84 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/1.551, allocations: 75.69 kB / 0.8192 GB, free: 15.76 MB / 474.8 MB Notification: Performance of pre-optimization done (n=313): time 6.052e-06/1.551, allocations: 0 / 0.8192 GB, free: 15.76 MB / 474.8 MB Notification: Performance of matching and sorting (n=371): time 0.4125/1.963, allocations: 45.75 MB / 0.8638 GB, free: 96.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01498/1.978, allocations: 12.92 MB / 0.8765 GB, free: 89.7 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00893/1.987, allocations: 5.301 MB / 0.8816 GB, free: 89.37 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.989, allocations: 81.36 kB / 0.8817 GB, free: 89.34 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003376/1.992, allocations: 5.09 MB / 0.8867 GB, free: 87.66 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001968/1.994, allocations: 1.388 MB / 0.888 GB, free: 86.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007388/1.995, allocations: 189.8 kB / 0.8882 GB, free: 86.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004456/1.995, allocations: 0.7073 MB / 0.8889 GB, free: 86.53 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005825/2.001, allocations: 4.323 MB / 0.8931 GB, free: 86.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008652/2.01, allocations: 9.657 MB / 0.9026 GB, free: 79.68 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009304/2.019, allocations: 6.334 MB / 0.9087 GB, free: 79.62 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002402/2.019, allocations: 56.66 kB / 0.9088 GB, free: 79.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.0378/2.057, allocations: 17.28 MB / 0.9257 GB, free: 77.31 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/2.057, allocations: 84.25 kB / 0.9258 GB, free: 77.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/2.058, allocations: 190.8 kB / 0.9259 GB, free: 77.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/2.068, allocations: 3.583 MB / 0.9294 GB, free: 76.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008431/2.077, allocations: 2.209 MB / 0.9316 GB, free: 76.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0305/2.107, allocations: 27.78 MB / 0.9587 GB, free: 59.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.118, allocations: 0.6125 MB / 0.9593 GB, free: 59.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002805/2.121, allocations: 0.5673 MB / 0.9599 GB, free: 59.72 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 856 * Number of states: 0 () * Number of discrete variables: 68 (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.groundColor[3],world.groundColor[2],world.groundColor[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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1144): * Single equations (assignments): 1129 * 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.01063/2.131, allocations: 3.516 MB / 0.9633 GB, free: 58.07 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001778/2.133, allocations: 0.559 MB / 0.9639 GB, free: 57.76 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/2.153, allocations: 10.25 MB / 0.9739 GB, free: 53.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01644/2.169, allocations: 8.961 MB / 0.9826 GB, free: 48.31 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01651/2.186, allocations: 9.368 MB / 0.9918 GB, free: 40.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.799e-05/2.186, allocations: 29.44 kB / 0.9918 GB, free: 40.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04302/2.229, allocations: 24.06 MB / 1.015 GB, free: 21.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.694e-05/2.229, allocations: 4 kB / 1.015 GB, free: 21.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00339/2.233, allocations: 0.6109 MB / 1.016 GB, free: 20.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008679/2.241, allocations: 2.99 MB / 1.019 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009347/2.242, allocations: 67.94 kB / 1.019 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2615/2.504, allocations: 21.75 MB / 1.04 GB, free: 83.95 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006187/2.51, allocations: 6.028 MB / 1.046 GB, free: 81.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02273/2.533, allocations: 15.08 MB / 1.061 GB, free: 80.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/2.535, allocations: 0.6018 MB / 1.061 GB, free: 79.95 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/2.536, allocations: 61.72 kB / 1.061 GB, free: 79.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/2.539, allocations: 265.6 kB / 1.062 GB, free: 79.95 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006626/2.54, allocations: 240.3 kB / 1.062 GB, free: 79.94 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/2.54, allocations: 101.6 kB / 1.062 GB, free: 79.94 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0053/2.545, allocations: 3.712 MB / 1.066 GB, free: 79.73 MB / 490.8 MB Notification: Performance of sort global known variables: time 3.11e-07/2.545, allocations: 0 / 1.066 GB, free: 79.73 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007453/2.553, allocations: 2.092 MB / 1.068 GB, free: 79.73 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (280): * Single equations (assignments): 272 * 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.02073/2.573, allocations: 16.52 MB / 1.084 GB, free: 77.43 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01513/2.589, allocations: 11.23 MB / 1.095 GB, free: 74.88 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/2.589, allocations: 3.594 kB / 1.095 GB, free: 74.88 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006222/2.595, allocations: 4.701 MB / 1.099 GB, free: 72.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/2.598, allocations: 0.7974 MB / 1.1 GB, free: 72.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3395/2.938, allocations: 198.2 MB / 1.294 GB, free: 74.59 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005654/2.944, allocations: 5.527 MB / 1.299 GB, free: 73.71 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.007076/2.951, allocations: 3.068 MB / 1.302 GB, free: 73.65 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004178/2.955, allocations: 3.553 MB / 1.305 GB, free: 73.64 MB / 0.5262 GB Notification: Performance of SimCode: time 8.01e-07/2.955, allocations: 0 / 1.305 GB, free: 73.64 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.402/3.357, allocations: 150.8 MB / 1.453 GB, free: 123.8 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/3.357, allocations: 231.5 kB / 1.453 GB, free: 123.5 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.039/9.396, allocations: 3.781 kB / 1.453 GB, free: 123.5 MB / 0.5262 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat