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.006769/0.006769, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.00158/0.00158, allocations: 194.3 kB / 16.67 MB, free: 5.926 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001192/0.001192, allocations: 49.58 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1099, allocations: 46.64 MB / 373.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02269/0.1327, allocations: 21.32 MB / 394.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.1513, allocations: 6.627 MB / 401.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00647/0.1579, allocations: 159.5 kB / 401.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.1731, allocations: 7.079 MB / 408.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.1836, allocations: 2.816 MB / 411.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006702/0.1904, allocations: 2.557 MB / 413.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.2031, allocations: 7.26 MB / 421 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01593/0.2191, allocations: 9.08 MB / 430.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/0.2264, allocations: 3.233 MB / 433.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007513/0.2339, allocations: 4.031 MB / 437.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002963/0.2369, allocations: 0.7383 MB / 438.1 MB, free: 244 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005425/0.2424, allocations: 1.955 MB / 440 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006652/0.2491, allocations: 3.753 MB / 443.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01023/0.2594, allocations: 4.324 MB / 448.1 MB, free: 6.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2672/0.5265, allocations: 13.69 MB / 461.8 MB, free: 26.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5266, allocations: 1.125 kB / 461.8 MB, free: 26.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5266, allocations: 1.219 kB / 461.8 MB, free: 26.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000526/0.5271, allocations: 0 / 461.8 MB, free: 26.11 MB / 382.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.03287/0.56, allocations: 9.53 MB / 471.3 MB, free: 22.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5601, allocations: 9.531 kB / 471.3 MB, free: 22.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.5711, allocations: 2.413 MB / 473.7 MB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.5852, allocations: 4.752 MB / 478.5 MB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004668/0.5857, allocations: 491.8 kB / 479 MB, free: 21.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004229/0.59, allocations: 0.6547 MB / 479.6 MB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0429/0.6329, allocations: 18.8 MB / 498.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005708/0.6335, allocations: 71.97 kB / 498.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003691/0.6372, allocations: 296.2 kB / 498.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004508/0.6417, allocations: 3.01 MB / 0.49 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0361/0.6778, allocations: 16.18 MB / 0.5058 GB, free: 10.97 MB / 398.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.1237/0.8016, allocations: 70.42 MB / 0.5746 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02679/0.8285, allocations: 8.921 MB / 0.5833 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007261/0.8358, allocations: 5.047 MB / 0.5883 GB, free: 5.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03656/0.8724, allocations: 20.4 MB / 0.6082 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.8725, allocations: 72.06 kB / 0.6082 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 9.438e-06/0.8726, allocations: 0 / 0.6082 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.4304/1.303, allocations: 44.45 MB / 0.6516 GB, free: 191.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01322/1.316, allocations: 12.88 MB / 0.6642 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009396/1.326, allocations: 6.114 MB / 0.6702 GB, free: 179.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.327, allocations: 86.38 kB / 0.6703 GB, free: 179.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002898/1.33, allocations: 5.333 MB / 0.6755 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001997/1.332, allocations: 1.48 MB / 0.6769 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00314/1.335, allocations: 2.009 MB / 0.6789 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/1.335, allocations: 303.2 kB / 0.6792 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007822/1.343, allocations: 4.464 MB / 0.6835 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009535/1.352, allocations: 9.896 MB / 0.6932 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/1.37, allocations: 15.49 MB / 0.7083 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001904/1.37, allocations: 56 kB / 0.7084 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03876/1.409, allocations: 17.67 MB / 0.7256 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/1.409, allocations: 84 kB / 0.7257 GB, free: 125.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002535/1.409, allocations: 188.8 kB / 0.7259 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.419, allocations: 3.559 MB / 0.7294 GB, free: 121.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008513/1.428, allocations: 2.242 MB / 0.7316 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02953/1.457, allocations: 29.11 MB / 0.76 GB, free: 89.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/1.468, allocations: 0.6204 MB / 0.7606 GB, free: 88.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00232/1.471, allocations: 0.5857 MB / 0.7612 GB, free: 88.32 MB / 0.5137 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.00899/1.48, allocations: 3.561 MB / 0.7646 GB, free: 84.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/1.482, allocations: 0.6014 MB / 0.7652 GB, free: 84.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/1.501, allocations: 10.36 MB / 0.7754 GB, free: 73.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01661/1.517, allocations: 9.074 MB / 0.7842 GB, free: 64.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01551/1.533, allocations: 8.93 MB / 0.7929 GB, free: 55.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.965e-05/1.533, allocations: 15.94 kB / 0.7929 GB, free: 55.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.044/1.577, allocations: 24.43 MB / 0.8168 GB, free: 30.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/1.577, allocations: 4 kB / 0.8168 GB, free: 30.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003547/1.581, allocations: 0.624 MB / 0.8174 GB, free: 30.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008266/1.589, allocations: 2.968 MB / 0.8203 GB, free: 27.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008938/1.59, allocations: 75.97 kB / 0.8204 GB, free: 27.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2991/1.889, allocations: 22.71 MB / 0.8426 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006688/1.896, allocations: 6.03 MB / 0.8485 GB, free: 171.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/1.921, allocations: 15.08 MB / 0.8632 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004308/1.925, allocations: 1.281 MB / 0.8644 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002007/1.927, allocations: 78.12 kB / 0.8645 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004406/1.932, allocations: 271 kB / 0.8648 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/1.933, allocations: 247.9 kB / 0.865 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/1.933, allocations: 104.5 kB / 0.8651 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006074/1.939, allocations: 3.811 MB / 0.8688 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/1.939, allocations: 0 / 0.8688 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01243/1.952, allocations: 2.094 MB / 0.8709 GB, free: 164.5 MB / 0.5137 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.001568/1.953, allocations: 295.2 kB / 0.8712 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01898/1.972, allocations: 11.53 MB / 0.8824 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/1.972, allocations: 0 / 0.8824 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008055/1.98, allocations: 4.789 MB / 0.8871 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008466/1.989, allocations: 0.9226 MB / 0.888 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/2.024, allocations: 18.2 MB / 0.9058 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008456/2.032, allocations: 5.452 MB / 0.9111 GB, free: 129.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007928/2.04, allocations: 3.118 MB / 0.9141 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/2.042, allocations: 411.3 kB / 0.9145 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/2.042, allocations: 0 / 0.9145 GB, free: 126.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1298/2.172, allocations: 83.07 MB / 0.9956 GB, free: 43.14 MB / 0.5137 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)