Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009439/0.000944, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 226.6 MB / 244.3 MB, free: 8.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007392/0.000739, allocations: 100.8 kB / 296.4 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002235/0.0002235, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1932, allocations: 51.28 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.06679/0.26, allocations: 91.56 MB / 499.1 MB, free: 20 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2311/0.4912, allocations: 19.03 MB / 0.5059 GB, free: 272 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01834/0.5096, allocations: 462.4 kB / 0.5064 GB, free: 268 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.5213, allocations: 4.409 MB / 0.5107 GB, free: 232 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03015/0.5515, allocations: 12.61 MB / 0.523 GB, free: 13.75 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.5567, allocations: 1.129 MB / 0.5241 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.5677, allocations: 8.539 MB / 0.5324 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.5814, allocations: 10.55 MB / 0.5427 GB, free: 8.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.5855, allocations: 2.311 MB / 0.545 GB, free: 8.223 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004567/0.5901, allocations: 3.3 MB / 0.5482 GB, free: 7.578 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000867/0.591, allocations: 257.6 kB / 0.5485 GB, free: 7.574 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.5937, allocations: 1.312 MB / 0.5498 GB, free: 6.836 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.5962, allocations: 3.061 MB / 0.5527 GB, free: 4.309 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.5977, allocations: 1.491 MB / 0.5542 GB, free: 3.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009241/0.6069, allocations: 10.44 MB / 0.5644 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.607, allocations: 0 / 0.5644 GB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.607, allocations: 3.938 kB / 0.5644 GB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003832/0.6074, allocations: 4 kB / 0.5644 GB, free: 10.46 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: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.01692/0.6243, allocations: 7.696 MB / 0.5719 GB, free: 3.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.6243, allocations: 16.02 kB / 0.5719 GB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007803/0.6322, allocations: 2.393 MB / 0.5743 GB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007632/0.6398, allocations: 4.317 MB / 0.5785 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/0.6401, allocations: 483.7 kB / 0.5789 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.6413, allocations: 0.6481 MB / 0.5796 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/0.674, allocations: 18.57 MB / 0.5977 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002259/0.6743, allocations: 66.33 kB / 0.5978 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008885/0.6752, allocations: 294 kB / 0.5981 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004295/0.6795, allocations: 2.955 MB / 0.6009 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03003/0.7095, allocations: 15.87 MB / 0.6164 GB, free: 1.254 MB / 442.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.4032/1.113, allocations: 69.74 MB / 0.6845 GB, free: 187.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02222/1.135, allocations: 8.883 MB / 0.6932 GB, free: 186.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004757/1.14, allocations: 4.985 MB / 0.6981 GB, free: 186.5 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02119/1.161, allocations: 20.17 MB / 0.7178 GB, free: 177.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/1.161, allocations: 64.19 kB / 0.7178 GB, free: 177.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=313): time 6.732e-06/1.161, allocations: 2.656 kB / 0.7178 GB, free: 177.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=371): time 0.09246/1.254, allocations: 43.63 MB / 0.7605 GB, free: 138.4 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01078/1.264, allocations: 12.34 MB / 0.7725 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00655/1.271, allocations: 5.955 MB / 0.7783 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/1.272, allocations: 77.7 kB / 0.7784 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.274, allocations: 5.065 MB / 0.7833 GB, free: 114.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009612/1.275, allocations: 1.376 MB / 0.7847 GB, free: 112.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/1.276, allocations: 191.4 kB / 0.7849 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002975/1.276, allocations: 0.7072 MB / 0.7856 GB, free: 112 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004722/1.281, allocations: 4.36 MB / 0.7898 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/1.287, allocations: 9.708 MB / 0.7993 GB, free: 95.48 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/1.295, allocations: 6.367 MB / 0.8055 GB, free: 89.13 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.959e-05/1.295, allocations: 55.94 kB / 0.8056 GB, free: 89.08 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.02753/1.322, allocations: 17.34 MB / 0.8225 GB, free: 71.64 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/1.323, allocations: 84 kB / 0.8226 GB, free: 71.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.323, allocations: 191.9 kB / 0.8228 GB, free: 71.38 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00882/1.331, allocations: 3.577 MB / 0.8263 GB, free: 67.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006864/1.338, allocations: 2.195 MB / 0.8284 GB, free: 65.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/1.363, allocations: 27.09 MB / 0.8549 GB, free: 37.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007034/1.37, allocations: 0.6159 MB / 0.8555 GB, free: 36.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.372, allocations: 0.5741 MB / 0.856 GB, free: 36.39 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 68 (sensorConstraintRelative.arrow.arrowLine.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 (1147): * Single equations (assignments): 1130 * Array equations: 10 * 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.005264/1.377, allocations: 3.507 MB / 0.8594 GB, free: 32.86 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/1.378, allocations: 0.5553 MB / 0.86 GB, free: 32.3 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.394, allocations: 10.22 MB / 0.87 GB, free: 21.95 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01438/1.409, allocations: 8.935 MB / 0.8787 GB, free: 12.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.1859/1.595, allocations: 8.793 MB / 0.8873 GB, free: 176.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/1.595, allocations: 17.64 kB / 0.8873 GB, free: 176.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03519/1.63, allocations: 23.98 MB / 0.9107 GB, free: 170.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/1.63, allocations: 6.094 kB / 0.9107 GB, free: 170.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/1.633, allocations: 0.605 MB / 0.9113 GB, free: 170.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007501/1.64, allocations: 2.973 MB / 0.9142 GB, free: 169.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003125/1.641, allocations: 76.38 kB / 0.9143 GB, free: 169.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/1.662, allocations: 21.07 MB / 0.9349 GB, free: 158.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005369/1.668, allocations: 5.855 MB / 0.9406 GB, free: 152.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/1.687, allocations: 14.71 MB / 0.9549 GB, free: 138.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.688, allocations: 0.6035 MB / 0.9555 GB, free: 138 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/1.689, allocations: 61.25 kB / 0.9556 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/1.692, allocations: 268.1 kB / 0.9558 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/1.692, allocations: 235.4 kB / 0.9561 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/1.693, allocations: 95.98 kB / 0.9562 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004291/1.697, allocations: 3.699 MB / 0.9598 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.423e-06/1.697, allocations: 0 / 0.9598 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007212/1.704, allocations: 2.076 MB / 0.9618 GB, free: 131.6 MB / 0.4949 GB 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.0007283/1.705, allocations: 270 kB / 0.9621 GB, free: 131.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.718, allocations: 11.3 MB / 0.9731 GB, free: 120.1 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.718, allocations: 0 / 0.9731 GB, free: 120.1 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006062/1.724, allocations: 4.698 MB / 0.9777 GB, free: 115.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/1.729, allocations: 0.8426 MB / 0.9785 GB, free: 114.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02333/1.752, allocations: 21.52 MB / 0.9995 GB, free: 93.17 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004546/1.757, allocations: 5.358 MB / 1.005 GB, free: 87.78 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.758, allocations: 471.3 kB / 1.005 GB, free: 87.32 MB / 0.4949 GB Notification: Performance of SimCode: time 7.51e-07/1.758, allocations: 0 / 1.005 GB, free: 87.32 MB / 0.4949 GB Notification: Performance of Templates: time 0.5673/2.326, allocations: 284.6 MB / 1.283 GB, free: 162.8 MB / 0.4949 GB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)