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.008446/0.008446, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001689/0.001689, allocations: 197 kB / 16.68 MB, free: 5.93 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001243/0.001243, allocations: 49.72 kB / 326.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1056, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02286/0.1285, allocations: 21.32 MB / 394.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01764/0.1462, allocations: 6.63 MB / 401.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007349/0.1536, allocations: 159.5 kB / 401.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01538/0.1691, allocations: 7.08 MB / 408.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009375/0.1785, allocations: 2.824 MB / 411.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006397/0.1849, allocations: 2.545 MB / 413.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01312/0.1981, allocations: 7.264 MB / 421 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/0.2113, allocations: 9.076 MB / 430.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006337/0.2177, allocations: 3.237 MB / 433.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006998/0.2247, allocations: 4.031 MB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003113/0.2279, allocations: 0.7383 MB / 438.1 MB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005795/0.2337, allocations: 1.955 MB / 440 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006064/0.2398, allocations: 3.749 MB / 443.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008627/0.2485, allocations: 4.32 MB / 448.1 MB, free: 6.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2706/0.5191, allocations: 13.65 MB / 461.7 MB, free: 26.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5191, allocations: 1.469 kB / 461.7 MB, free: 26.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5191, allocations: 0 / 461.7 MB, free: 26.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008153/0.52, allocations: 0 / 461.7 MB, free: 26.29 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.03962/0.5596, allocations: 9.299 MB / 471 MB, free: 23.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5597, allocations: 9.594 kB / 471.1 MB, free: 23.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.5709, allocations: 2.359 MB / 473.4 MB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.5826, allocations: 4.731 MB / 478.1 MB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004/0.583, allocations: 489.5 kB / 478.6 MB, free: 21.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004753/0.5878, allocations: 0.6591 MB / 479.3 MB, free: 21.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04974/0.6375, allocations: 18.8 MB / 498.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005151/0.6381, allocations: 64.66 kB / 498.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003387/0.6415, allocations: 298.5 kB / 498.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004958/0.6465, allocations: 3.022 MB / 0.4897 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03754/0.684, allocations: 16.17 MB / 0.5055 GB, free: 11.46 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.1204/0.8045, allocations: 70.3 MB / 0.5741 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02896/0.8335, allocations: 8.921 MB / 0.5829 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007346/0.8409, allocations: 5.052 MB / 0.5878 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03766/0.8786, allocations: 20.38 MB / 0.6077 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.315e-05/0.8787, allocations: 75.97 kB / 0.6078 GB, free: 1.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 7.925e-06/0.8787, allocations: 0 / 0.6078 GB, free: 1.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.3947/1.273, allocations: 44.02 MB / 0.6508 GB, free: 192.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01344/1.287, allocations: 12.88 MB / 0.6633 GB, free: 183.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.298, allocations: 6.1 MB / 0.6693 GB, free: 181.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001589/1.3, allocations: 77.33 kB / 0.6694 GB, free: 181 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004421/1.304, allocations: 5.141 MB / 0.6744 GB, free: 177.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002587/1.307, allocations: 1.409 MB / 0.6758 GB, free: 176.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003228/1.31, allocations: 1.996 MB / 0.6777 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/1.31, allocations: 303.1 kB / 0.678 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007049/1.317, allocations: 4.466 MB / 0.6824 GB, free: 173.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009494/1.327, allocations: 9.894 MB / 0.692 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/1.343, allocations: 15.5 MB / 0.7072 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/1.344, allocations: 60 kB / 0.7072 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.04282/1.387, allocations: 17.63 MB / 0.7244 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004605/1.387, allocations: 88 kB / 0.7245 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006266/1.388, allocations: 188 kB / 0.7247 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/1.399, allocations: 3.553 MB / 0.7282 GB, free: 122.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009375/1.409, allocations: 2.242 MB / 0.7303 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/1.438, allocations: 29.09 MB / 0.7588 GB, free: 90.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/1.449, allocations: 0.6203 MB / 0.7594 GB, free: 90.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002486/1.452, allocations: 0.5814 MB / 0.7599 GB, free: 89.45 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.01063/1.462, allocations: 3.572 MB / 0.7634 GB, free: 85.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/1.465, allocations: 0.5725 MB / 0.764 GB, free: 85.29 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/1.485, allocations: 10.36 MB / 0.7741 GB, free: 74.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01716/1.502, allocations: 9.07 MB / 0.783 GB, free: 65.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01549/1.517, allocations: 8.938 MB / 0.7917 GB, free: 56.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.518, allocations: 19.92 kB / 0.7917 GB, free: 56.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04986/1.567, allocations: 24.42 MB / 0.8155 GB, free: 32.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.546e-05/1.568, allocations: 8.094 kB / 0.8156 GB, free: 32.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003853/1.571, allocations: 0.6357 MB / 0.8162 GB, free: 31.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008911/1.58, allocations: 2.961 MB / 0.8191 GB, free: 28.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/1.581, allocations: 75.97 kB / 0.8191 GB, free: 28.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3275/1.909, allocations: 22.68 MB / 0.8413 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007811/1.917, allocations: 6.024 MB / 0.8472 GB, free: 171.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/1.945, allocations: 15.04 MB / 0.8619 GB, free: 167 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004764/1.95, allocations: 1.257 MB / 0.8631 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002084/1.952, allocations: 68.05 kB / 0.8632 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004135/1.956, allocations: 275 kB / 0.8634 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/1.957, allocations: 248.6 kB / 0.8637 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003453/1.958, allocations: 107.8 kB / 0.8638 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006786/1.964, allocations: 3.815 MB / 0.8675 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/1.964, allocations: 0 / 0.8675 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01313/1.978, allocations: 2.088 MB / 0.8695 GB, free: 164.9 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.001814/1.979, allocations: 288.9 kB / 0.8698 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01814/1.998, allocations: 11.53 MB / 0.8811 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.998, allocations: 0 / 0.8811 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00845/2.006, allocations: 4.786 MB / 0.8857 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007909/2.014, allocations: 0.917 MB / 0.8866 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/2.047, allocations: 17.92 MB / 0.9041 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008952/2.056, allocations: 5.456 MB / 0.9095 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007907/2.064, allocations: 3.114 MB / 0.9125 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/2.066, allocations: 419.3 kB / 0.9129 GB, free: 127.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/2.066, allocations: 0 / 0.9129 GB, free: 127.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1241/2.19, allocations: 83.06 MB / 0.994 GB, free: 44.84 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)