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.001283/0.001284, allocations: 94.48 kB / 16.3 MB, free: 5.996 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.001219/0.00122, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.397/1.397, allocations: 205.4 MB / 223.4 MB, free: 5.559 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.0004041/0.0004042, allocations: 10.81 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2517, allocations: 47.58 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.07985/0.3316, allocations: 87.08 MB / 414.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04546/0.3771, allocations: 20.03 MB / 434.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02151/0.3987, allocations: 454.8 kB / 435.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01623/0.4149, allocations: 4.405 MB / 439.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04052/0.4555, allocations: 12.15 MB / 451.8 MB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008137/0.4637, allocations: 1.303 MB / 453.1 MB, free: 5.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009243/0.4729, allocations: 4.034 MB / 457.2 MB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.242/0.715, allocations: 10.53 MB / 467.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.7186, allocations: 1.897 MB / 469.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/0.7224, allocations: 2.281 MB / 471.9 MB, free: 5.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.7235, allocations: 261.1 kB / 472.1 MB, free: 5.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.7266, allocations: 1.285 MB / 473.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00287/0.7294, allocations: 2.885 MB / 476.3 MB, free: 5.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002218/0.7317, allocations: 1.531 MB / 477.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.7428, allocations: 10.66 MB / 488.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7428, allocations: 0 / 488.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.7428, allocations: 0 / 488.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005356/0.7433, allocations: 0 / 488.5 MB, free: 2.613 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.0234/0.7667, allocations: 8.024 MB / 496.5 MB, free: 14.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.7668, allocations: 8.906 kB / 496.5 MB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.7787, allocations: 2.721 MB / 499.2 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/0.7932, allocations: 4.969 MB / 0.4924 GB, free: 11.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.7937, allocations: 485.7 kB / 0.4928 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/0.7965, allocations: 0.6566 MB / 0.4935 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04247/0.839, allocations: 19.09 MB / 0.5121 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003054/0.8394, allocations: 68.78 kB / 0.5122 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001789/0.8412, allocations: 296.6 kB / 0.5125 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005188/0.8464, allocations: 3.022 MB / 0.5154 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03852/0.8849, allocations: 16.49 MB / 0.5315 GB, free: 1.395 MB / 414.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.1059/0.9909, allocations: 70.89 MB / 0.6008 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02651/1.017, allocations: 9.216 MB / 0.6098 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2354/1.253, allocations: 20.53 MB / 0.6298 GB, free: 198.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/1.253, allocations: 76.97 kB / 0.6299 GB, free: 198.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=322): time 7.525e-06/1.253, allocations: 0 / 0.6299 GB, free: 198.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=380): time 0.1084/1.361, allocations: 45.4 MB / 0.6742 GB, free: 180.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01267/1.374, allocations: 12.92 MB / 0.6868 GB, free: 166.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008127/1.382, allocations: 6.341 MB / 0.693 GB, free: 160.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001161/1.383, allocations: 89.52 kB / 0.6931 GB, free: 160.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002574/1.386, allocations: 5.143 MB / 0.6981 GB, free: 155.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/1.388, allocations: 1.419 MB / 0.6995 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000539/1.388, allocations: 193.5 kB / 0.6997 GB, free: 153.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003729/1.389, allocations: 0.7153 MB / 0.7004 GB, free: 152.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005286/1.394, allocations: 4.403 MB / 0.7047 GB, free: 148.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/1.401, allocations: 9.799 MB / 0.7143 GB, free: 136.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008199/1.409, allocations: 6.446 MB / 0.7206 GB, free: 129.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.469e-05/1.41, allocations: 56 kB / 0.7206 GB, free: 129.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.02838/1.438, allocations: 17.49 MB / 0.7377 GB, free: 112.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.945e-05/1.438, allocations: 88 kB / 0.7378 GB, free: 112 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.438, allocations: 191.9 kB / 0.738 GB, free: 111.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00937/1.448, allocations: 3.583 MB / 0.7415 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008049/1.456, allocations: 2.234 MB / 0.7437 GB, free: 106 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02729/1.483, allocations: 27.71 MB / 0.7707 GB, free: 77.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00917/1.492, allocations: 0.623 MB / 0.7713 GB, free: 76.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001954/1.494, allocations: 0.5779 MB / 0.7719 GB, free: 76.18 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 (1161): * Single equations (assignments): 1144 * 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.007177/1.501, allocations: 3.568 MB / 0.7754 GB, free: 72.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.503, allocations: 0.5669 MB / 0.7759 GB, free: 72.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/1.52, allocations: 10.35 MB / 0.786 GB, free: 61.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01563/1.536, allocations: 9.052 MB / 0.7949 GB, free: 52.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01521/1.551, allocations: 8.907 MB / 0.8036 GB, free: 43.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.817e-05/1.551, allocations: 19.92 kB / 0.8036 GB, free: 43.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04505/1.596, allocations: 24.58 MB / 0.8276 GB, free: 18.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/1.596, allocations: 7.953 kB / 0.8276 GB, free: 18.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003361/1.6, allocations: 0.6285 MB / 0.8282 GB, free: 17.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008415/1.608, allocations: 2.992 MB / 0.8311 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009194/1.609, allocations: 80.16 kB / 0.8312 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2431/1.852, allocations: 21.65 MB / 0.8524 GB, free: 174.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007231/1.86, allocations: 6.02 MB / 0.8582 GB, free: 170.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02654/1.886, allocations: 15.89 MB / 0.8738 GB, free: 164.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004702/1.891, allocations: 1.273 MB / 0.875 GB, free: 163.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/1.893, allocations: 64.75 kB / 0.8751 GB, free: 163.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/1.898, allocations: 272.7 kB / 0.8753 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/1.899, allocations: 256.6 kB / 0.8756 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003572/1.899, allocations: 102.2 kB / 0.8757 GB, free: 163.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008268/1.907, allocations: 3.986 MB / 0.8796 GB, free: 162.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.907, allocations: 0 / 0.8796 GB, free: 162.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01183/1.919, allocations: 2.109 MB / 0.8816 GB, free: 162.1 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.001266/1.92, allocations: 287.8 kB / 0.8819 GB, free: 162 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01797/1.938, allocations: 11.42 MB / 0.893 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.939, allocations: 0 / 0.893 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007637/1.946, allocations: 4.753 MB / 0.8977 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/1.951, allocations: 0.7986 MB / 0.8985 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/1.983, allocations: 21.05 MB / 0.919 GB, free: 129.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006627/1.99, allocations: 5.615 MB / 0.9245 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007735/1.997, allocations: 3.118 MB / 0.9275 GB, free: 121.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.999, allocations: 415.3 kB / 0.9279 GB, free: 121.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/1.999, allocations: 0 / 0.9279 GB, free: 121.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1198/2.119, allocations: 81.86 MB / 1.008 GB, free: 39.19 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: