Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001783/0.001783, allocations: 113.9 kB / 17.06 MB, free: 6.004 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.002128/0.002128, allocations: 200 kB / 18 MB, free: 5.082 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.623/1.623, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001292/0.001292, allocations: 47.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2333/0.3347, allocations: 21.32 MB / 395.8 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0174/0.3521, allocations: 6.632 MB / 402.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007372/0.3596, allocations: 162.4 kB / 402.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01355/0.3732, allocations: 7.079 MB / 409.7 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009649/0.3829, allocations: 2.817 MB / 412.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006239/0.3891, allocations: 2.548 MB / 415 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01252/0.4017, allocations: 7.26 MB / 422.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.4138, allocations: 9.089 MB / 431.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007625/0.4214, allocations: 3.21 MB / 434.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00813/0.4296, allocations: 4.05 MB / 438.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003079/0.4328, allocations: 0.7383 MB / 439.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005858/0.4386, allocations: 1.955 MB / 441.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005342/0.444, allocations: 3.827 MB / 445.2 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00854/0.4526, allocations: 4.32 MB / 449.5 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.4719, allocations: 13.65 MB / 463.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.472, allocations: 0 / 463.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.472, allocations: 3.938 kB / 463.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005653/0.4726, allocations: 4 kB / 463.1 MB, free: 6.617 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.0305/0.5031, allocations: 9.291 MB / 472.4 MB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5032, allocations: 8.031 kB / 472.4 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009979/0.5132, allocations: 2.365 MB / 474.8 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/0.5271, allocations: 4.741 MB / 479.5 MB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007281/0.5279, allocations: 489.1 kB / 480 MB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003954/0.5319, allocations: 0.6558 MB / 480.7 MB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04515/0.5771, allocations: 18.8 MB / 499.5 MB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002741/0.5774, allocations: 63.38 kB / 499.5 MB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001318/0.5787, allocations: 299.8 kB / 499.8 MB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004874/0.5836, allocations: 3.011 MB / 0.4911 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03577/0.6194, allocations: 16.17 MB / 0.5069 GB, free: 13.53 MB / 446.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.5582/1.178, allocations: 70.29 MB / 0.5755 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02685/1.205, allocations: 8.912 MB / 0.5842 GB, free: 105.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008135/1.213, allocations: 5.062 MB / 0.5891 GB, free: 103.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02709/1.24, allocations: 20.36 MB / 0.609 GB, free: 93.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/1.24, allocations: 71.34 kB / 0.6091 GB, free: 93.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=322): time 6.994e-06/1.24, allocations: 0 / 0.6091 GB, free: 93.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=380): time 0.1149/1.355, allocations: 44.06 MB / 0.6521 GB, free: 54.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01254/1.367, allocations: 12.88 MB / 0.6647 GB, free: 40.58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009296/1.377, allocations: 6.1 MB / 0.6707 GB, free: 34.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001552/1.378, allocations: 84.98 kB / 0.6707 GB, free: 34.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003185/1.382, allocations: 5.13 MB / 0.6757 GB, free: 29.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002364/1.384, allocations: 1.418 MB / 0.6771 GB, free: 27.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002989/1.387, allocations: 1.994 MB / 0.6791 GB, free: 25.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/1.387, allocations: 305.1 kB / 0.6794 GB, free: 25.54 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005741/1.393, allocations: 4.458 MB / 0.6837 GB, free: 21.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009065/1.402, allocations: 9.895 MB / 0.6934 GB, free: 8.598 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01927/1.421, allocations: 15.49 MB / 0.7085 GB, free: 6.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002696/1.422, allocations: 58.25 kB / 0.7086 GB, free: 6.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.04547/1.467, allocations: 17.63 MB / 0.7258 GB, free: 4.633 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003957/1.467, allocations: 87.98 kB / 0.7259 GB, free: 4.547 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004917/1.468, allocations: 192 kB / 0.7261 GB, free: 4.359 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.479, allocations: 3.554 MB / 0.7295 GB, free: 0.8008 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009049/1.489, allocations: 2.238 MB / 0.7317 GB, free: 14.56 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3394/1.828, allocations: 29.09 MB / 0.7601 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/1.838, allocations: 0.6142 MB / 0.7607 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002593/1.841, allocations: 0.5801 MB / 0.7613 GB, free: 162.8 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.01021/1.851, allocations: 3.569 MB / 0.7648 GB, free: 161.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/1.853, allocations: 0.5705 MB / 0.7653 GB, free: 161.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/1.876, allocations: 10.37 MB / 0.7755 GB, free: 157.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01724/1.893, allocations: 9.059 MB / 0.7843 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01653/1.91, allocations: 8.939 MB / 0.793 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/1.91, allocations: 26.06 kB / 0.7931 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04892/1.959, allocations: 24.41 MB / 0.8169 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.432e-05/1.959, allocations: 11.89 kB / 0.8169 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003684/1.963, allocations: 0.6279 MB / 0.8175 GB, free: 131.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008521/1.971, allocations: 2.958 MB / 0.8204 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/1.972, allocations: 75.97 kB / 0.8205 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02678/1.999, allocations: 22.69 MB / 0.8427 GB, free: 105.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005882/2.005, allocations: 6.025 MB / 0.8485 GB, free: 98.99 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02476/2.03, allocations: 15.05 MB / 0.8632 GB, free: 84.11 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00495/2.035, allocations: 1.255 MB / 0.8645 GB, free: 82.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.036, allocations: 67.98 kB / 0.8645 GB, free: 82.88 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/2.04, allocations: 277.5 kB / 0.8648 GB, free: 82.61 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008807/2.041, allocations: 239.9 kB / 0.865 GB, free: 82.38 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002944/2.041, allocations: 107.6 kB / 0.8651 GB, free: 82.27 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005439/2.047, allocations: 3.812 MB / 0.8688 GB, free: 78.47 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.71e-07/2.047, allocations: 480 / 0.8688 GB, free: 78.47 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01157/2.058, allocations: 2.099 MB / 0.8709 GB, free: 76.38 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.001504/2.06, allocations: 289.2 kB / 0.8712 GB, free: 76.11 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01801/2.078, allocations: 11.54 MB / 0.8824 GB, free: 64.56 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/2.078, allocations: 0 / 0.8824 GB, free: 64.56 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007698/2.086, allocations: 4.781 MB / 0.8871 GB, free: 59.73 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007662/2.093, allocations: 0.9125 MB / 0.888 GB, free: 58.83 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/2.127, allocations: 17.95 MB / 0.9055 GB, free: 40.77 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008093/2.135, allocations: 5.446 MB / 0.9108 GB, free: 35.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008342/2.143, allocations: 3.118 MB / 0.9139 GB, free: 32.17 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/2.145, allocations: 411.3 kB / 0.9143 GB, free: 31.77 MB / 0.5138 GB Notification: Performance of SimCode: time 1.984e-06/2.145, allocations: 0 / 0.9143 GB, free: 31.77 MB / 0.5138 GB Notification: Performance of Templates: time 0.44/2.585, allocations: 83.48 MB / 0.9958 GB, free: 132 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)