Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 186.5 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 43.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2853, allocations: 46.63 MB / 324.9 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.0993/0.3847, allocations: 101.7 MB / 426.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0541/0.4389, allocations: 19.89 MB / 446.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0322/0.4712, allocations: 458.8 kB / 446.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01654/0.4878, allocations: 6.861 MB / 453.7 MB, free: 2.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01103/0.4988, allocations: 2.623 MB / 456.4 MB, free: 128 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2269/0.7258, allocations: 2.423 MB / 458.8 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.7391, allocations: 7.315 MB / 466.1 MB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.7514, allocations: 9.584 MB / 475.7 MB, free: 16.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006871/0.7583, allocations: 3.298 MB / 479 MB, free: 16.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006922/0.7653, allocations: 4.454 MB / 483.4 MB, free: 16.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.7677, allocations: 0.7378 MB / 484.2 MB, free: 16.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005103/0.7729, allocations: 1.985 MB / 486.2 MB, free: 16.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00511/0.778, allocations: 3.808 MB / 490 MB, free: 16.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006987/0.785, allocations: 4.348 MB / 494.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01823/0.8033, allocations: 13.38 MB / 0.4958 GB, free: 7.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.8033, allocations: 4 kB / 0.4958 GB, free: 7.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8033, allocations: 0 / 0.4958 GB, free: 7.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005827/0.8039, allocations: 0 / 0.4958 GB, free: 7.406 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.02831/0.8322, allocations: 9.301 MB / 0.5049 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.8323, allocations: 8.031 kB / 0.5049 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009719/0.842, allocations: 2.361 MB / 0.5072 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009888/0.8519, allocations: 4.612 MB / 0.5117 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004359/0.8524, allocations: 492.8 kB / 0.5122 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002857/0.8553, allocations: 0.6542 MB / 0.5128 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03939/0.8947, allocations: 18.79 MB / 0.5312 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/0.895, allocations: 65.72 kB / 0.5312 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001375/0.8964, allocations: 309.9 kB / 0.5315 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004594/0.901, allocations: 3.01 MB / 0.5345 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03591/0.9369, allocations: 16.17 MB / 0.5503 GB, free: 15.67 MB / 462.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.1036/1.041, allocations: 70.68 MB / 0.6193 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3404/1.381, allocations: 8.908 MB / 0.628 GB, free: 236.7 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007145/1.388, allocations: 5.052 MB / 0.6329 GB, free: 236.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02743/1.416, allocations: 20.37 MB / 0.6528 GB, free: 226.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.416, allocations: 76.12 kB / 0.6529 GB, free: 226.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=322): time 5.52e-06/1.416, allocations: 0 / 0.6529 GB, free: 226.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=380): time 0.1123/1.528, allocations: 44.07 MB / 0.6959 GB, free: 188.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01165/1.54, allocations: 12.87 MB / 0.7085 GB, free: 175.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008619/1.548, allocations: 6.104 MB / 0.7144 GB, free: 169.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.55, allocations: 84.59 kB / 0.7145 GB, free: 169 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.552, allocations: 5.13 MB / 0.7195 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002495/1.555, allocations: 1.42 MB / 0.7209 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003308/1.558, allocations: 2.003 MB / 0.7229 GB, free: 160.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/1.558, allocations: 305.2 kB / 0.7232 GB, free: 160.2 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00556/1.564, allocations: 4.462 MB / 0.7275 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007833/1.572, allocations: 9.889 MB / 0.7372 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.588, allocations: 15.49 MB / 0.7523 GB, free: 125 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001827/1.588, allocations: 56 kB / 0.7524 GB, free: 124.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03269/1.62, allocations: 17.63 MB / 0.7696 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/1.621, allocations: 84.94 kB / 0.7697 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/1.621, allocations: 192.1 kB / 0.7698 GB, free: 106.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009972/1.631, allocations: 3.561 MB / 0.7733 GB, free: 103.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007526/1.638, allocations: 2.25 MB / 0.7755 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02803/1.666, allocations: 29.11 MB / 0.8039 GB, free: 71.04 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/1.676, allocations: 0.6163 MB / 0.8045 GB, free: 70.42 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/1.679, allocations: 0.5848 MB / 0.8051 GB, free: 69.84 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 66 (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 (1169): * Single equations (assignments): 1152 * 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.00759/1.686, allocations: 3.576 MB / 0.8086 GB, free: 66.25 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001449/1.688, allocations: 0.563 MB / 0.8092 GB, free: 65.68 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01728/1.705, allocations: 10.37 MB / 0.8193 GB, free: 55.18 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01467/1.72, allocations: 9.073 MB / 0.8281 GB, free: 45.99 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01414/1.734, allocations: 8.934 MB / 0.8369 GB, free: 36.94 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.995e-05/1.734, allocations: 15.94 kB / 0.8369 GB, free: 36.92 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04144/1.776, allocations: 24.6 MB / 0.8609 GB, free: 12.14 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.648e-05/1.776, allocations: 8.656 kB / 0.8609 GB, free: 12.13 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/1.779, allocations: 0.6357 MB / 0.8615 GB, free: 11.49 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008141/1.787, allocations: 2.968 MB / 0.8644 GB, free: 8.512 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/1.788, allocations: 75.97 kB / 0.8645 GB, free: 8.438 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2522/2.041, allocations: 22.63 MB / 0.8866 GB, free: 207.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005984/2.047, allocations: 6.027 MB / 0.8925 GB, free: 203.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/2.072, allocations: 15.04 MB / 0.9072 GB, free: 197.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003781/2.076, allocations: 1.255 MB / 0.9084 GB, free: 197.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/2.077, allocations: 67.22 kB / 0.9085 GB, free: 197.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00437/2.082, allocations: 278.7 kB / 0.9087 GB, free: 197.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009601/2.083, allocations: 246.8 kB / 0.909 GB, free: 197.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/2.083, allocations: 98.39 kB / 0.9091 GB, free: 197.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006832/2.09, allocations: 3.82 MB / 0.9128 GB, free: 196 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.52e-07/2.09, allocations: 0 / 0.9128 GB, free: 196 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01409/2.104, allocations: 2.095 MB / 0.9148 GB, free: 195.8 MB / 0.5138 GB 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 (290): * Single equations (assignments): 282 * 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.001715/2.106, allocations: 285.2 kB / 0.9151 GB, free: 195.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.03289/2.139, allocations: 17.11 MB / 0.9318 GB, free: 182.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/2.139, allocations: 0 / 0.9318 GB, free: 182.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.009971/2.149, allocations: 4.777 MB / 0.9365 GB, free: 177.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/2.159, allocations: 0.9155 MB / 0.9374 GB, free: 177.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04295/2.202, allocations: 21.82 MB / 0.9587 GB, free: 156.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01441/2.216, allocations: 5.455 MB / 0.964 GB, free: 150.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01106/2.228, allocations: 3.114 MB / 0.9671 GB, free: 147.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002842/2.23, allocations: 411.3 kB / 0.9674 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of SimCode: time 1.082e-06/2.23, allocations: 4 kB / 0.9675 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1408/2.371, allocations: 87.75 MB / 1.053 GB, free: 59.53 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)