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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001574/0.001574, allocations: 169.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.265/1.265, allocations: 170.6 MB / 178.7 MB, free: 15.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001646/0.001645, allocations: 107.4 kB / 218 MB, free: 8.418 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.325e-05/1.318e-05, allocations: 0 / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.07732, allocations: 38.77 MB / 301 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/0.3826, allocations: 100.9 MB / 401.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.3829, allocations: 84.58 kB / 401.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5362/0.9191, allocations: 136.5 MB / 0.5258 GB, free: 65.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.9192, allocations: 0 / 0.5258 GB, free: 65.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004984/0.9197, allocations: 161.7 kB / 0.526 GB, free: 65.26 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.03575/0.9555, allocations: 7.87 MB / 0.5337 GB, free: 57.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.9555, allocations: 8.031 kB / 0.5337 GB, free: 57.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02161/0.9772, allocations: 2.904 MB / 0.5365 GB, free: 54.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02536/1.003, allocations: 8.009 MB / 0.5444 GB, free: 46.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/1.003, allocations: 256 kB / 0.5446 GB, free: 46.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004145/1.007, allocations: 463.8 kB / 0.545 GB, free: 45.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02804/1.035, allocations: 11.38 MB / 0.5562 GB, free: 34.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04707/1.083, allocations: 16.32 MB / 0.5721 GB, free: 16.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004703/1.083, allocations: 87.16 kB / 0.5722 GB, free: 16.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003942/1.087, allocations: 40 kB / 0.5722 GB, free: 16.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003603/1.091, allocations: 1.699 MB / 0.5739 GB, free: 14.92 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.332/1.423, allocations: 79.78 MB / 0.6518 GB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007118/1.43, allocations: 6.01 MB / 0.6576 GB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00509/1.435, allocations: 4.466 MB / 0.662 GB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/1.436, allocations: 1.143 MB / 0.6631 GB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/1.436, allocations: 71.83 kB / 0.6632 GB, free: 7.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=318): time 5.7e-06/1.436, allocations: 3.344 kB / 0.6632 GB, free: 7.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=388): time 0.1145/1.551, allocations: 41.19 MB / 0.7034 GB, free: 6.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/1.551, allocations: 166.1 kB / 0.7036 GB, free: 5.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/1.562, allocations: 4.67 MB / 0.7081 GB, free: 1.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00125/1.564, allocations: 25.7 kB / 0.7082 GB, free: 1.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005196/1.569, allocations: 5.163 MB / 0.7132 GB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003114/1.572, allocations: 1.396 MB / 0.7146 GB, free: 11.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002003/1.574, allocations: 6.344 kB / 0.7146 GB, free: 11.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.001498/1.575, allocations: 0.7296 MB / 0.7153 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008363/1.584, allocations: 4.313 MB / 0.7195 GB, free: 7.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2197/1.804, allocations: 9.8 MB / 0.7291 GB, free: 78.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01347/1.817, allocations: 6.437 MB / 0.7354 GB, free: 78.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004869/1.818, allocations: 62.23 kB / 0.7354 GB, free: 78.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.03919/1.857, allocations: 16.71 MB / 0.7517 GB, free: 77.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.857, allocations: 88.38 kB / 0.7518 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002315/1.857, allocations: 198.1 kB / 0.752 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/1.869, allocations: 3.783 MB / 0.7557 GB, free: 76.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009565/1.878, allocations: 2.328 MB / 0.758 GB, free: 76.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02958/1.908, allocations: 25.75 MB / 0.7831 GB, free: 64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009184/1.917, allocations: 481.9 kB / 0.7836 GB, free: 63.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/1.92, allocations: 0.6052 MB / 0.7842 GB, free: 63.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 63 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1198): * Single equations (assignments): 1183 * Array equations: 8 * 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%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002197/1.922, allocations: 0.6081 MB / 0.7848 GB, free: 63.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.923, allocations: 0.5336 MB / 0.7853 GB, free: 63.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/1.943, allocations: 10.32 MB / 0.7954 GB, free: 59.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01687/1.96, allocations: 9.007 MB / 0.8042 GB, free: 56.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01691/1.976, allocations: 8.906 MB / 0.8128 GB, free: 48.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001429/1.977, allocations: 15.56 kB / 0.8129 GB, free: 48.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04683/2.024, allocations: 23.75 MB / 0.8361 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.191e-05/2.024, allocations: 8.156 kB / 0.8361 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003653/2.027, allocations: 0.6552 MB / 0.8367 GB, free: 26.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00892/2.036, allocations: 2.978 MB / 0.8396 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/2.037, allocations: 19.98 kB / 0.8396 GB, free: 23.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/2.061, allocations: 19.78 MB / 0.8589 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2282/2.289, allocations: 5.509 MB / 0.8643 GB, free: 87.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02642/2.315, allocations: 15.96 MB / 0.8799 GB, free: 85.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003161/2.319, allocations: 1.242 MB / 0.8811 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/2.32, allocations: 11.36 kB / 0.8811 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/2.324, allocations: 227.7 kB / 0.8814 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007755/2.325, allocations: 257.3 kB / 0.8816 GB, free: 85.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003249/2.325, allocations: 106.7 kB / 0.8817 GB, free: 85.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005315/2.33, allocations: 3.141 MB / 0.8848 GB, free: 85.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.442e-06/2.33, allocations: 1.75 kB / 0.8848 GB, free: 85.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01181/2.342, allocations: 1.89 MB / 0.8866 GB, free: 85.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[2],$STATESET5.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 294 * 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%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/2.343, allocations: 225.1 kB / 0.8868 GB, free: 85.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01924/2.363, allocations: 11.27 MB / 0.8978 GB, free: 84.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/2.363, allocations: 1.531 kB / 0.8978 GB, free: 84.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007374/2.37, allocations: 4.724 MB / 0.9025 GB, free: 83.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005022/2.375, allocations: 0.659 MB / 0.9031 GB, free: 82.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/2.405, allocations: 14.91 MB / 0.9177 GB, free: 77.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008432/2.413, allocations: 5.577 MB / 0.9231 GB, free: 75.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009243/2.423, allocations: 3.217 MB / 0.9262 GB, free: 75.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/2.424, allocations: 402.4 kB / 0.9266 GB, free: 75.25 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/2.424, allocations: 0 / 0.9266 GB, free: 75.25 MB / 394.7 MB Notification: Performance of Templates: time 0.1265/2.551, allocations: 75.99 MB / 1.001 GB, free: 9.426 MB / 394.7 MB 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)