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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 103.2 kB / 17.21 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 60 kB / 306.4 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07893/0.08002, allocations: 50.52 MB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2285/0.3085, allocations: 93.08 MB / 450 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03899/0.3476, allocations: 18.39 MB / 468.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01753/0.3651, allocations: 426.9 kB / 468.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01239/0.3776, allocations: 7.072 MB / 475.8 MB, free: 4.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.3849, allocations: 2.557 MB / 478.4 MB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.39, allocations: 2.433 MB / 480.8 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01188/0.4019, allocations: 10.56 MB / 491.4 MB, free: 4.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.413, allocations: 8.958 MB / 0.4886 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.4175, allocations: 2.827 MB / 0.4914 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/0.4233, allocations: 4.183 MB / 0.4955 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.425, allocations: 0.5312 MB / 0.496 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004341/0.4294, allocations: 1.845 MB / 0.4978 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004174/0.4335, allocations: 3.499 MB / 0.5012 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005226/0.4388, allocations: 4.005 MB / 0.5051 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.4498, allocations: 12.77 MB / 0.5176 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4499, allocations: 0 / 0.5176 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4499, allocations: 4 kB / 0.5176 GB, free: 13.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002603/0.4501, allocations: 0 / 0.5176 GB, free: 13.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2598 * Number of variables: 2598 Notification: Performance of Generate backend data structure: time 0.01854/0.4687, allocations: 9.224 MB / 0.5266 GB, free: 4.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4687, allocations: 8.031 kB / 0.5266 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001593/0.4703, allocations: 1.251 MB / 0.5278 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007015/0.4774, allocations: 2.334 MB / 0.5301 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2701/0.7475, allocations: 4.862 MB / 0.5349 GB, free: 144.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.7478, allocations: 479.5 kB / 0.5353 GB, free: 144.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.7495, allocations: 0.6443 MB / 0.5359 GB, free: 144.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02913/0.7786, allocations: 18.33 MB / 0.5538 GB, free: 136.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.7788, allocations: 71.62 kB / 0.5539 GB, free: 136.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006553/0.7795, allocations: 294.4 kB / 0.5542 GB, free: 136.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003614/0.7831, allocations: 2.883 MB / 0.557 GB, free: 135.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/0.8081, allocations: 15.77 MB / 0.5724 GB, free: 120.5 MB / 446.1 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.06454/0.8727, allocations: 69.34 MB / 0.6401 GB, free: 49.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/0.8937, allocations: 8.843 MB / 0.6488 GB, free: 40.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004548/0.8982, allocations: 4.992 MB / 0.6536 GB, free: 35.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02217/0.9204, allocations: 20.24 MB / 0.6734 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.9205, allocations: 68.59 kB / 0.6735 GB, free: 14.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=313): time 5.3e-06/0.9205, allocations: 0 / 0.6735 GB, free: 14.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=371): time 0.2485/1.169, allocations: 43.71 MB / 0.7162 GB, free: 141.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01296/1.182, allocations: 12.36 MB / 0.7282 GB, free: 132.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007736/1.19, allocations: 5.974 MB / 0.7341 GB, free: 130.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007713/1.191, allocations: 84.95 kB / 0.7341 GB, free: 130.6 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.193, allocations: 5.023 MB / 0.739 GB, free: 126.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.194, allocations: 1.381 MB / 0.7404 GB, free: 125.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002121/1.196, allocations: 1.95 MB / 0.7423 GB, free: 124.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.285e-05/1.196, allocations: 308.7 kB / 0.7426 GB, free: 124.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00474/1.201, allocations: 4.377 MB / 0.7469 GB, free: 123 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00625/1.207, allocations: 9.706 MB / 0.7563 GB, free: 114.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.219, allocations: 15.22 MB / 0.7712 GB, free: 102.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.868e-05/1.219, allocations: 56 kB / 0.7713 GB, free: 102 MB / 462.1 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.0255/1.245, allocations: 17.36 MB / 0.7882 GB, free: 84.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/1.245, allocations: 86.66 kB / 0.7883 GB, free: 84.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/1.245, allocations: 184 kB / 0.7885 GB, free: 84.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00875/1.254, allocations: 3.548 MB / 0.7919 GB, free: 80.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006461/1.26, allocations: 2.183 MB / 0.7941 GB, free: 78.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02519/1.286, allocations: 27.13 MB / 0.8206 GB, free: 50.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007606/1.293, allocations: 0.6134 MB / 0.8212 GB, free: 49.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.294, allocations: 0.57 MB / 0.8217 GB, free: 49.34 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 68 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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.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 (1136): * Single equations (assignments): 1119 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,20,100.0%), (1,7,100.0%), (2,24,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.004404/1.299, allocations: 3.476 MB / 0.8251 GB, free: 45.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009664/1.3, allocations: 0.5592 MB / 0.8257 GB, free: 45.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/1.315, allocations: 10.26 MB / 0.8357 GB, free: 34.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01417/1.33, allocations: 8.978 MB / 0.8444 GB, free: 25.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01332/1.343, allocations: 8.831 MB / 0.8531 GB, free: 16.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-05/1.343, allocations: 19.88 kB / 0.8531 GB, free: 16.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1825/1.525, allocations: 23.87 MB / 0.8764 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.526, allocations: 3.625 kB / 0.8764 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/1.528, allocations: 0.6183 MB / 0.877 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008792/1.537, allocations: 2.98 MB / 0.8799 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/1.537, allocations: 75.03 kB / 0.88 GB, free: 128.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02342/1.561, allocations: 21.1 MB / 0.9006 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005556/1.566, allocations: 5.862 MB / 0.9063 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/1.586, allocations: 14.78 MB / 0.9207 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.588, allocations: 0.5912 MB / 0.9213 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007541/1.588, allocations: 65.8 kB / 0.9214 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002632/1.591, allocations: 270.6 kB / 0.9216 GB, free: 108.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007592/1.592, allocations: 235.8 kB / 0.9219 GB, free: 108.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000261/1.592, allocations: 95.27 kB / 0.922 GB, free: 108.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004129/1.596, allocations: 3.737 MB / 0.9256 GB, free: 106.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.596, allocations: 0 / 0.9256 GB, free: 106.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006607/1.603, allocations: 2.035 MB / 0.9276 GB, free: 104.3 MB / 462.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,19,75.0%), (3,17,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0193/1.622, allocations: 15.54 MB / 0.9428 GB, free: 89.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01259/1.635, allocations: 11.33 MB / 0.9538 GB, free: 77.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.635, allocations: 0 / 0.9538 GB, free: 77.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005692/1.64, allocations: 4.727 MB / 0.9585 GB, free: 73.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/1.645, allocations: 0.8456 MB / 0.9593 GB, free: 72.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2811/1.926, allocations: 106.9 MB / 1.064 GB, free: 155.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/1.932, allocations: 5.325 MB / 1.069 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006875/1.939, allocations: 3.053 MB / 1.072 GB, free: 154.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003883/1.943, allocations: 3.496 MB / 1.075 GB, free: 152.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.163e-06/1.943, allocations: 0 / 1.075 GB, free: 152.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/2.105, allocations: 142.5 MB / 1.214 GB, free: 24.71 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/2.105, allocations: 272.1 kB / 1.215 GB, free: 24.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.951/7.056, allocations: 3.938 kB / 1.215 GB, free: 24.41 MB / 494.1 MB (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/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)