Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00165/0.00165, allocations: 187.9 kB / 8.353 MB, free: 0.707 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.407/1.407, 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.001704/0.001704, allocations: 114.3 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.551e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.07952, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3124/0.3919, allocations: 105.5 MB / 448.1 MB, free: 6.668 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.3923, allocations: 86.52 kB / 448.2 MB, free: 6.625 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5207/0.913, allocations: 132.7 MB / 0.5673 GB, free: 70.87 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.913, allocations: 4 kB / 0.5673 GB, free: 70.87 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004049/0.9134, allocations: 145.5 kB / 0.5675 GB, free: 70.86 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02192/0.9354, allocations: 7.244 MB / 0.5745 GB, free: 67.78 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.9354, allocations: 7.375 kB / 0.5745 GB, free: 67.78 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.949, allocations: 2.88 MB / 0.5774 GB, free: 67.23 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/0.9666, allocations: 7.639 MB / 0.5848 GB, free: 64.33 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.9669, allocations: 249.4 kB / 0.5851 GB, free: 64.33 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002828/0.9698, allocations: 457.3 kB / 0.5855 GB, free: 64.32 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0171/0.9869, allocations: 10.64 MB / 0.5959 GB, free: 60.49 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02706/1.014, allocations: 15.31 MB / 0.6108 GB, free: 50.31 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004071/1.014, allocations: 83.19 kB / 0.6109 GB, free: 50.23 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002459/1.017, allocations: 40 kB / 0.611 GB, free: 50.19 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/1.019, allocations: 1.605 MB / 0.6125 GB, free: 48.71 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.3098/1.329, allocations: 74.11 MB / 0.6849 GB, free: 42.68 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00512/1.334, allocations: 4.09 MB / 0.6889 GB, free: 42.01 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/1.338, allocations: 2.593 MB / 0.6914 GB, free: 41.97 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.339, allocations: 0.9053 MB / 0.6923 GB, free: 41.22 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/1.339, allocations: 64.84 kB / 0.6924 GB, free: 41.18 MB / 411.1 MB Notification: Performance of pre-optimization done (n=257): time 7.253e-06/1.339, allocations: 0 / 0.6924 GB, free: 41.18 MB / 411.1 MB Notification: Performance of matching and sorting (n=303): time 0.07568/1.414, allocations: 29.76 MB / 0.7214 GB, free: 33.97 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/1.415, allocations: 160.5 kB / 0.7216 GB, free: 33.81 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007855/1.422, allocations: 4.498 MB / 0.726 GB, free: 32.2 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007871/1.423, allocations: 25.7 kB / 0.726 GB, free: 32.16 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003611/1.427, allocations: 5.046 MB / 0.7309 GB, free: 28.29 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/1.428, allocations: 1.122 MB / 0.732 GB, free: 27.46 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/1.43, allocations: 2.812 kB / 0.732 GB, free: 27.46 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0009385/1.43, allocations: 0.6953 MB / 0.7327 GB, free: 26.98 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00577/1.436, allocations: 3.175 MB / 0.7358 GB, free: 25.77 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008508/1.445, allocations: 8.554 MB / 0.7442 GB, free: 17.28 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008325/1.453, allocations: 5.149 MB / 0.7492 GB, free: 15.5 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003214/1.454, allocations: 65.89 kB / 0.7493 GB, free: 15.5 MB / 411.1 MB Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.2148655148851041 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.09960050292505122) * bodyOfConstraint.v_0[2] + 0.5648625214636235 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[3] = (-0.1411940808771254) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.2148655148851041 , 0.0 , 1.0 ; -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 1.0 , 0.1411940808771254 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[3] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[2] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1191) (initialization): time 0.02744/1.481, allocations: 12.82 MB / 0.7618 GB, free: 11.03 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000209/1.481, allocations: 91.53 kB / 0.7619 GB, free: 11.03 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003096/1.482, allocations: 193.7 kB / 0.762 GB, free: 11.03 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006717/1.488, allocations: 2.237 MB / 0.7642 GB, free: 10.56 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008333/1.497, allocations: 2.151 MB / 0.7663 GB, free: 10.31 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/1.517, allocations: 19.18 MB / 0.7851 GB, free: 11.88 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00747/1.525, allocations: 342.8 kB / 0.7854 GB, free: 11.62 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/1.527, allocations: 0.5295 MB / 0.7859 GB, free: 11.09 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1108): * Single equations (assignments): 1097 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002821/1.53, allocations: 0.594 MB / 0.7865 GB, free: 10.5 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.531, allocations: 0.4936 MB / 0.787 GB, free: 9.996 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/1.546, allocations: 6.82 MB / 0.7936 GB, free: 4.395 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.83e-05/1.546, allocations: 53.89 kB / 0.7937 GB, free: 4.348 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-05/1.546, allocations: 8.656 kB / 0.7937 GB, free: 4.34 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-05/1.546, allocations: 18.72 kB / 0.7937 GB, free: 4.336 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03611/1.582, allocations: 13.97 MB / 0.8073 GB, free: 9.289 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/1.582, allocations: 2.125 kB / 0.8073 GB, free: 9.289 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003628/1.586, allocations: 0.5279 MB / 0.8079 GB, free: 8.895 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006732/1.593, allocations: 2.031 MB / 0.8098 GB, free: 7.449 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006964/1.594, allocations: 23.75 kB / 0.8099 GB, free: 7.43 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/1.618, allocations: 21.42 MB / 0.8308 GB, free: 3.086 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.618, allocations: 1.969 kB / 0.8308 GB, free: 3.086 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2631/1.881, allocations: 11.08 MB / 0.8416 GB, free: 112 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/1.884, allocations: 0.9711 MB / 0.8426 GB, free: 111.9 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/1.885, allocations: 8.125 kB / 0.8426 GB, free: 111.9 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003478/1.889, allocations: 145.8 kB / 0.8427 GB, free: 111.9 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006753/1.889, allocations: 191.3 kB / 0.8429 GB, free: 111.9 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003326/1.89, allocations: 81.38 kB / 0.843 GB, free: 111.9 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.005698/1.895, allocations: 2.995 MB / 0.8459 GB, free: 111.7 MB / 459.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.895, allocations: 0 / 0.8459 GB, free: 111.7 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01014/1.906, allocations: 1.535 MB / 0.8474 GB, free: 111.7 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (bodyOfJoint.v_0[2],bodyOfJoint.v_0[3],bodyOfJoint.body.frame_a.r_0[2],bodyOfJoint.body.frame_a.r_0[3],bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 207 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 6,(1,100.0%) 3,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/1.907, allocations: 212 kB / 0.8476 GB, free: 111.7 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.01561/1.923, allocations: 8.74 MB / 0.8561 GB, free: 110.9 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.923, allocations: 0 / 0.8561 GB, free: 110.9 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007334/1.93, allocations: 4.006 MB / 0.86 GB, free: 109.9 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/1.935, allocations: 0.605 MB / 0.8606 GB, free: 109.9 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03824/1.973, allocations: 13.16 MB / 0.8735 GB, free: 107.4 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01321/1.986, allocations: 5.293 MB / 0.8786 GB, free: 105.7 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.0105/1.997, allocations: 2.797 MB / 0.8814 GB, free: 105.5 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002128/1.999, allocations: 333 kB / 0.8817 GB, free: 105.5 MB / 459.1 MB Notification: Performance of SimCode: time 1.643e-06/1.999, allocations: 4 kB / 0.8817 GB, free: 105.5 MB / 459.1 MB Notification: Performance of Templates: time 0.1068/2.106, allocations: 60.24 MB / 0.9405 GB, free: 79.98 MB / 459.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)