Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008428/0.0008429, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008345/0.0008346, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 222.1 MB, free: 5.598 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.0005326/0.0005331, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3089, allocations: 47.58 MB / 326.5 MB, free: 1.219 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.0853/0.3943, allocations: 92.28 MB / 418.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05491/0.4493, allocations: 19.12 MB / 437.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02618/0.4755, allocations: 462.8 kB / 438.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01562/0.4912, allocations: 4.409 MB / 442.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04128/0.5325, allocations: 12.66 MB / 455.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00718/0.5397, allocations: 1.158 MB / 456.6 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3007/0.8404, allocations: 8.502 MB / 465.1 MB, free: 5.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01737/0.8578, allocations: 10.61 MB / 475.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007252/0.8652, allocations: 2.358 MB / 478 MB, free: 4.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007413/0.8726, allocations: 3.384 MB / 481.4 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002017/0.8747, allocations: 259 kB / 481.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.8792, allocations: 1.323 MB / 483 MB, free: 4.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004833/0.8841, allocations: 3.116 MB / 486.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003028/0.8871, allocations: 1.523 MB / 487.6 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.8998, allocations: 10.63 MB / 498.3 MB, free: 116 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.8999, allocations: 0 / 498.3 MB, free: 116 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.8999, allocations: 0 / 498.3 MB, free: 116 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006168/0.9005, allocations: 0 / 498.3 MB, free: 116 kB / 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.02136/0.9219, allocations: 7.691 MB / 0.4941 GB, free: 11.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9219, allocations: 8.75 kB / 0.4941 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009756/0.9317, allocations: 2.407 MB / 0.4964 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.9454, allocations: 4.524 MB / 0.5009 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/0.9458, allocations: 491.7 kB / 0.5013 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003479/0.9493, allocations: 0.6502 MB / 0.502 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04561/0.995, allocations: 18.79 MB / 0.5203 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003965/0.9954, allocations: 70.14 kB / 0.5204 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00232/0.9977, allocations: 302.5 kB / 0.5207 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004881/1.003, allocations: 3.013 MB / 0.5236 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03834/1.041, allocations: 16.15 MB / 0.5394 GB, free: 10.94 MB / 430.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.112/1.153, allocations: 70.62 MB / 0.6084 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02623/1.179, allocations: 8.983 MB / 0.6171 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007274/1.187, allocations: 5.057 MB / 0.6221 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2498/1.437, allocations: 20.35 MB / 0.6419 GB, free: 197.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/1.437, allocations: 66.7 kB / 0.642 GB, free: 197.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 5.961e-06/1.437, allocations: 0 / 0.642 GB, free: 197.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.1006/1.537, allocations: 43.98 MB / 0.685 GB, free: 166 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01217/1.549, allocations: 12.34 MB / 0.697 GB, free: 153 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007496/1.557, allocations: 6.069 MB / 0.7029 GB, free: 146.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000957/1.558, allocations: 81.7 kB / 0.703 GB, free: 146.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.56, allocations: 5.126 MB / 0.708 GB, free: 141.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001597/1.562, allocations: 1.418 MB / 0.7094 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005213/1.562, allocations: 195.7 kB / 0.7096 GB, free: 140.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003597/1.563, allocations: 0.7154 MB / 0.7103 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005336/1.568, allocations: 4.427 MB / 0.7146 GB, free: 134.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007798/1.576, allocations: 9.86 MB / 0.7242 GB, free: 122.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009106/1.585, allocations: 6.467 MB / 0.7306 GB, free: 116.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/1.585, allocations: 63.94 kB / 0.7306 GB, free: 116 MB / 494.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03576/1.621, allocations: 17.55 MB / 0.7477 GB, free: 98.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.621, allocations: 88 kB / 0.7478 GB, free: 98.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/1.621, allocations: 188.9 kB / 0.748 GB, free: 98.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008876/1.63, allocations: 3.588 MB / 0.7515 GB, free: 94.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00737/1.638, allocations: 2.238 MB / 0.7537 GB, free: 92.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02625/1.664, allocations: 27.08 MB / 0.7801 GB, free: 64.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008633/1.673, allocations: 0.6306 MB / 0.7808 GB, free: 63.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.675, allocations: 0.5759 MB / 0.7813 GB, free: 63.06 MB / 494.1 MB 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 (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.008316/1.683, allocations: 3.564 MB / 0.7848 GB, free: 59.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/1.684, allocations: 0.5669 MB / 0.7854 GB, free: 58.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01745/1.702, allocations: 10.37 MB / 0.7955 GB, free: 48.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0146/1.716, allocations: 9.039 MB / 0.8043 GB, free: 39.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01434/1.731, allocations: 8.915 MB / 0.813 GB, free: 30.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.51e-05/1.731, allocations: 19.94 kB / 0.813 GB, free: 30.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2553/1.986, allocations: 24.55 MB / 0.837 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.184e-05/1.986, allocations: 6.469 kB / 0.837 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/1.99, allocations: 0.6263 MB / 0.8376 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008516/1.999, allocations: 2.987 MB / 0.8405 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009469/1.999, allocations: 80.11 kB / 0.8406 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02417/2.024, allocations: 21.05 MB / 0.8612 GB, free: 169.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005755/2.029, allocations: 5.847 MB / 0.8669 GB, free: 165.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/2.05, allocations: 14.99 MB / 0.8815 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003593/2.054, allocations: 1.257 MB / 0.8828 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001066/2.055, allocations: 72.97 kB / 0.8828 GB, free: 159.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/2.058, allocations: 269.3 kB / 0.8831 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006887/2.059, allocations: 246.4 kB / 0.8833 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/2.059, allocations: 107.1 kB / 0.8834 GB, free: 159.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006222/2.065, allocations: 3.776 MB / 0.8871 GB, free: 158.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/2.065, allocations: 0 / 0.8871 GB, free: 158.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01063/2.076, allocations: 2.1 MB / 0.8892 GB, free: 157.7 MB / 494.1 MB 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 (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.001186/2.077, allocations: 264.5 kB / 0.8894 GB, free: 157.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01623/2.093, allocations: 11.45 MB / 0.9006 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/2.093, allocations: 0 / 0.9006 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006702/2.1, allocations: 4.755 MB / 0.9052 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/2.105, allocations: 0.8541 MB / 0.9061 GB, free: 142.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/2.136, allocations: 21.1 MB / 0.9267 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006647/2.142, allocations: 5.453 MB / 0.932 GB, free: 115.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00734/2.15, allocations: 3.118 MB / 0.935 GB, free: 112.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/2.151, allocations: 411.3 kB / 0.9354 GB, free: 112.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/2.151, allocations: 0 / 0.9354 GB, free: 112.1 MB / 494.1 MB Notification: Performance of Templates: time 0.118/2.269, allocations: 81.22 MB / 1.015 GB, free: 30.85 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)