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.001329/0.001329, allocations: 99.33 kB / 16.5 MB, free: 6.695 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.001493/0.001493, allocations: 194 kB / 17.42 MB, free: 6.09 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.401/1.401, allocations: 205.1 MB / 223.3 MB, free: 12.53 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.001743/0.001743, allocations: 43.94 kB / 279.3 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1073, allocations: 46.64 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2912/0.3985, allocations: 101.7 MB / 427.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05927/0.4579, allocations: 20.01 MB / 447.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02968/0.4876, allocations: 458.8 kB / 448.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.5028, allocations: 7.119 MB / 455.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.5139, allocations: 2.662 MB / 457.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006648/0.5206, allocations: 2.456 MB / 460.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01542/0.536, allocations: 10.68 MB / 471 MB, free: 4.992 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01204/0.5481, allocations: 9.03 MB / 480 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005849/0.554, allocations: 2.897 MB / 482.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007913/0.5619, allocations: 4.292 MB / 487.2 MB, free: 4.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002399/0.5644, allocations: 0.5352 MB / 487.8 MB, free: 4.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004824/0.5692, allocations: 1.853 MB / 489.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004816/0.574, allocations: 3.616 MB / 493.2 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007431/0.5815, allocations: 4.133 MB / 497.4 MB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01663/0.5981, allocations: 13.11 MB / 0.4985 GB, free: 13.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.5982, allocations: 0 / 0.4985 GB, free: 13.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5982, allocations: 0 / 0.4985 GB, free: 13.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0007786/0.599, allocations: 0 / 0.4985 GB, free: 13.35 MB / 414.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.03654/0.6355, allocations: 9.295 MB / 0.5076 GB, free: 3.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/0.6356, allocations: 12.03 kB / 0.5076 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.6478, allocations: 2.361 MB / 0.5099 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.6619, allocations: 4.612 MB / 0.5144 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005747/0.6626, allocations: 497.1 kB / 0.5149 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003651/0.6662, allocations: 0.6597 MB / 0.5155 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05036/0.7166, allocations: 18.79 MB / 0.5339 GB, free: 7.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005209/0.7172, allocations: 67.36 kB / 0.5339 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/0.7204, allocations: 299.8 kB / 0.5342 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005945/0.7264, allocations: 3.011 MB / 0.5372 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4456/1.172, allocations: 16.17 MB / 0.553 GB, free: 158.3 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.09852/1.271, allocations: 70.68 MB / 0.622 GB, free: 95.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02387/1.295, allocations: 8.916 MB / 0.6307 GB, free: 86.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00628/1.301, allocations: 5.056 MB / 0.6356 GB, free: 81.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02982/1.331, allocations: 20.37 MB / 0.6555 GB, free: 60.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.537e-05/1.331, allocations: 68.64 kB / 0.6556 GB, free: 60.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=322): time 7.244e-06/1.331, allocations: 4 kB / 0.6556 GB, free: 60.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=380): time 0.116/1.447, allocations: 44.04 MB / 0.6986 GB, free: 15.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01219/1.459, allocations: 12.38 MB / 0.7107 GB, free: 2.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1949/1.654, allocations: 6.09 MB / 0.7166 GB, free: 149.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009775/1.655, allocations: 83.08 kB / 0.7167 GB, free: 149.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003365/1.658, allocations: 5.135 MB / 0.7217 GB, free: 146.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/1.66, allocations: 1.411 MB / 0.7231 GB, free: 145.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003067/1.663, allocations: 1.998 MB / 0.7251 GB, free: 144.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/1.663, allocations: 305.5 kB / 0.7253 GB, free: 144.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006381/1.67, allocations: 4.465 MB / 0.7297 GB, free: 143.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007622/1.677, allocations: 9.9 MB / 0.7394 GB, free: 134.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/1.693, allocations: 15.48 MB / 0.7545 GB, free: 122.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/1.693, allocations: 52.31 kB / 0.7545 GB, free: 122.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03183/1.725, allocations: 17.64 MB / 0.7718 GB, free: 111.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/1.725, allocations: 91.28 kB / 0.7719 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003072/1.726, allocations: 188 kB / 0.772 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009807/1.736, allocations: 3.553 MB / 0.7755 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007886/1.743, allocations: 2.246 MB / 0.7777 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0281/1.772, allocations: 27.27 MB / 0.8043 GB, free: 78.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009726/1.781, allocations: 0.6275 MB / 0.8049 GB, free: 77.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/1.784, allocations: 0.578 MB / 0.8055 GB, free: 77.22 MB / 446.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 (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.007117/1.791, allocations: 3.572 MB / 0.809 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/1.792, allocations: 0.5707 MB / 0.8096 GB, free: 73.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.812, allocations: 10.37 MB / 0.8197 GB, free: 62.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01708/1.829, allocations: 9.073 MB / 0.8285 GB, free: 53.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01555/1.844, allocations: 8.934 MB / 0.8373 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-05/1.844, allocations: 15.94 kB / 0.8373 GB, free: 44.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05046/1.895, allocations: 24.57 MB / 0.8613 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.914e-05/1.895, allocations: 4 kB / 0.8613 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/1.899, allocations: 0.6318 MB / 0.8619 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008899/1.907, allocations: 2.985 MB / 0.8648 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/1.909, allocations: 75.98 kB / 0.8649 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2492/2.158, allocations: 21.08 MB / 0.8855 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006196/2.164, allocations: 5.863 MB / 0.8912 GB, free: 124.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/2.186, allocations: 15.04 MB / 0.9059 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003673/2.19, allocations: 1.249 MB / 0.9071 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00168/2.192, allocations: 72.56 kB / 0.9072 GB, free: 118.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/2.195, allocations: 272.3 kB / 0.9074 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008914/2.196, allocations: 245.8 kB / 0.9077 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/2.196, allocations: 116.7 kB / 0.9078 GB, free: 118.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006077/2.203, allocations: 3.81 MB / 0.9115 GB, free: 116.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/2.203, allocations: 0 / 0.9115 GB, free: 116.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008947/2.212, allocations: 2.095 MB / 0.9135 GB, free: 116.7 MB / 446.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 (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.0009604/2.212, allocations: 288.3 kB / 0.9138 GB, free: 116.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01498/2.227, allocations: 11.48 MB / 0.925 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/2.228, allocations: 7.938 kB / 0.925 GB, free: 108.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006936/2.234, allocations: 4.769 MB / 0.9297 GB, free: 104.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006186/2.241, allocations: 0.845 MB / 0.9305 GB, free: 103.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/2.275, allocations: 21.84 MB / 0.9519 GB, free: 83.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009582/2.285, allocations: 5.451 MB / 0.9572 GB, free: 77.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009873/2.295, allocations: 3.117 MB / 0.9602 GB, free: 74.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/2.297, allocations: 415.3 kB / 0.9606 GB, free: 74.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/2.297, allocations: 0 / 0.9606 GB, free: 74.26 MB / 446.1 MB Notification: Performance of Templates: time 0.3144/2.612, allocations: 84.47 MB / 1.043 GB, free: 137.5 MB / 462.1 MB 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)