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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001466/0.001466, allocations: 185.2 kB / 8.359 MB, free: 0.6953 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.393/1.393, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00176/0.00176, allocations: 119.4 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.151e-05, allocations: 7.984 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09445, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/0.4095, allocations: 106.6 MB / 449.2 MB, free: 5.629 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4098, allocations: 87.39 kB / 449.3 MB, free: 5.586 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5673/0.9771, allocations: 136.6 MB / 0.5722 GB, free: 69.96 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.9772, allocations: 0 / 0.5722 GB, free: 69.96 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0006739/0.9779, allocations: 157.8 kB / 0.5724 GB, free: 69.95 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.03129/1.009, allocations: 7.87 MB / 0.5801 GB, free: 66.43 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.009, allocations: 15.31 kB / 0.5801 GB, free: 66.42 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/1.025, allocations: 2.898 MB / 0.5829 GB, free: 65.86 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02032/1.045, allocations: 8.018 MB / 0.5907 GB, free: 62.8 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004441/1.046, allocations: 253.2 kB / 0.591 GB, free: 62.8 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004361/1.05, allocations: 474.3 kB / 0.5914 GB, free: 62.78 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02395/1.074, allocations: 11.38 MB / 0.6025 GB, free: 58.66 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03971/1.114, allocations: 16.32 MB / 0.6185 GB, free: 42.88 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005599/1.114, allocations: 87.17 kB / 0.6186 GB, free: 42.8 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004042/1.118, allocations: 47.95 kB / 0.6186 GB, free: 42.75 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002684/1.121, allocations: 1.696 MB / 0.6203 GB, free: 41.06 MB / 395.1 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.3907/1.512, allocations: 79.79 MB / 0.6982 GB, free: 39.72 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009319/1.521, allocations: 6.003 MB / 0.704 GB, free: 39.06 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006256/1.527, allocations: 4.486 MB / 0.7084 GB, free: 39 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/1.529, allocations: 1.134 MB / 0.7095 GB, free: 38.06 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/1.529, allocations: 67.7 kB / 0.7096 GB, free: 38.02 MB / 411.1 MB Notification: Performance of pre-optimization done (n=318): time 7.244e-06/1.529, allocations: 0 / 0.7096 GB, free: 38.02 MB / 411.1 MB Notification: Performance of matching and sorting (n=388): time 0.1078/1.637, allocations: 40.43 MB / 0.7491 GB, free: 25.4 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/1.637, allocations: 171.7 kB / 0.7492 GB, free: 25.24 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.648, allocations: 4.667 MB / 0.7538 GB, free: 23.52 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001516/1.65, allocations: 25.7 kB / 0.7538 GB, free: 23.49 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004021/1.654, allocations: 5.164 MB / 0.7589 GB, free: 19.49 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002593/1.657, allocations: 1.396 MB / 0.7602 GB, free: 18.45 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/1.658, allocations: 0 / 0.7602 GB, free: 18.45 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.001159/1.659, allocations: 0.73 MB / 0.7609 GB, free: 17.97 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007211/1.667, allocations: 4.318 MB / 0.7652 GB, free: 16.35 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008754/1.675, allocations: 9.8 MB / 0.7747 GB, free: 7.367 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009798/1.685, allocations: 6.447 MB / 0.781 GB, free: 5.043 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002015/1.685, allocations: 55.81 kB / 0.7811 GB, free: 5.043 MB / 411.1 MB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.0421/1.728, allocations: 16.7 MB / 0.7974 GB, free: 8.32 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/1.728, allocations: 92 kB / 0.7975 GB, free: 8.23 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004113/1.728, allocations: 192 kB / 0.7977 GB, free: 8.043 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/1.741, allocations: 3.777 MB / 0.8013 GB, free: 5.504 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009829/1.751, allocations: 2.326 MB / 0.8036 GB, free: 3.531 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.316/2.067, allocations: 25.85 MB / 0.8289 GB, free: 96 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/2.077, allocations: 475 kB / 0.8293 GB, free: 96 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002801/2.08, allocations: 0.604 MB / 0.8299 GB, free: 96 MB / 443.1 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.002808/2.083, allocations: 0.6093 MB / 0.8305 GB, free: 95.8 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/2.084, allocations: 0.5338 MB / 0.831 GB, free: 95.8 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/2.104, allocations: 10.31 MB / 0.8411 GB, free: 95.26 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01911/2.123, allocations: 9.012 MB / 0.8499 GB, free: 94.75 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01928/2.142, allocations: 8.911 MB / 0.8586 GB, free: 93.96 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001194/2.143, allocations: 19.59 kB / 0.8586 GB, free: 93.96 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05338/2.196, allocations: 23.76 MB / 0.8818 GB, free: 85.1 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/2.196, allocations: 6.75 kB / 0.8818 GB, free: 85.1 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003806/2.2, allocations: 0.6533 MB / 0.8825 GB, free: 85.08 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008893/2.209, allocations: 2.98 MB / 0.8854 GB, free: 84.51 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009697/2.21, allocations: 30.48 kB / 0.8854 GB, free: 84.5 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/2.234, allocations: 19.77 MB / 0.9047 GB, free: 74.01 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005775/2.24, allocations: 5.508 MB / 0.9101 GB, free: 70.29 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02653/2.266, allocations: 15.97 MB / 0.9257 GB, free: 63.55 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004429/2.271, allocations: 1.244 MB / 0.9269 GB, free: 62.86 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00233/2.273, allocations: 16.23 kB / 0.9269 GB, free: 62.86 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005087/2.278, allocations: 226 kB / 0.9271 GB, free: 62.86 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/2.28, allocations: 254.1 kB / 0.9274 GB, free: 62.82 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004085/2.28, allocations: 104 kB / 0.9275 GB, free: 62.79 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.006421/2.287, allocations: 3.142 MB / 0.9305 GB, free: 60.68 MB / 443.1 MB Notification: Performance of sort global known variables: time 9.32e-07/2.287, allocations: 0 / 0.9305 GB, free: 60.68 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.01302/2.3, allocations: 1.892 MB / 0.9324 GB, free: 58.81 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[2],$STATESET0.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.001583/2.301, allocations: 232.5 kB / 0.9326 GB, free: 58.64 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.01934/2.321, allocations: 11.27 MB / 0.9436 GB, free: 48.73 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/2.321, allocations: 0 / 0.9436 GB, free: 48.73 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008206/2.329, allocations: 4.721 MB / 0.9482 GB, free: 44.52 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00516/2.334, allocations: 0.6617 MB / 0.9489 GB, free: 44 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/2.363, allocations: 14.9 MB / 0.9634 GB, free: 29.15 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00842/2.371, allocations: 5.584 MB / 0.9689 GB, free: 23.57 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.01004/2.381, allocations: 3.214 MB / 0.972 GB, free: 20.41 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/2.383, allocations: 403.3 kB / 0.9724 GB, free: 20.02 MB / 443.1 MB Notification: Performance of SimCode: time 8.41e-07/2.383, allocations: 4 kB / 0.9724 GB, free: 20.02 MB / 443.1 MB Notification: Performance of Templates: time 0.3729/2.756, allocations: 75.99 MB / 1.047 GB, free: 79.54 MB / 443.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)