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.0009659/0.0009659, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.138/1.138, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00157/0.00157, allocations: 115.9 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 11.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07913/0.07943, allocations: 44.49 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2525/0.332, allocations: 106.3 MB / 461.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3323, allocations: 95.78 kB / 461.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4966/0.829, allocations: 136 MB / 0.5835 GB, free: 77.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.029e-06/0.8291, allocations: 0 / 0.5835 GB, free: 77.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008216/0.8299, allocations: 151.5 kB / 0.5836 GB, free: 77.82 MB / 394.7 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.02823/0.8581, allocations: 7.666 MB / 0.5911 GB, free: 72.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8582, allocations: 8.031 kB / 0.5911 GB, free: 72.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.8723, allocations: 2.879 MB / 0.5939 GB, free: 69.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01953/0.8919, allocations: 7.68 MB / 0.6014 GB, free: 61.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.8924, allocations: 0.5638 MB / 0.602 GB, free: 61.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/0.8953, allocations: 0.7446 MB / 0.6027 GB, free: 60.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03439/0.9297, allocations: 18.31 MB / 0.6206 GB, free: 41.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002883/0.9301, allocations: 83.23 kB / 0.6206 GB, free: 40.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001511/0.9316, allocations: 358.2 kB / 0.621 GB, free: 40.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001837/0.9334, allocations: 1.597 MB / 0.6225 GB, free: 39.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/0.9617, allocations: 15.05 MB / 0.6372 GB, free: 23.98 MB / 394.7 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.3066/1.268, allocations: 75.43 MB / 0.7109 GB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02375/1.292, allocations: 7.639 MB / 0.7184 GB, free: 35.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02723/1.32, allocations: 14.06 MB / 0.7321 GB, free: 32.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.463e-05/1.32, allocations: 62.3 kB / 0.7322 GB, free: 32.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 9.688e-06/1.32, allocations: 4.219 kB / 0.7322 GB, free: 32.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=297): time 0.08619/1.406, allocations: 32.92 MB / 0.7643 GB, free: 21.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/1.406, allocations: 161.7 kB / 0.7645 GB, free: 21.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009126/1.415, allocations: 5.19 MB / 0.7695 GB, free: 19.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006633/1.416, allocations: 69.66 kB / 0.7696 GB, free: 19.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002521/1.418, allocations: 5.005 MB / 0.7745 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.419, allocations: 1.134 MB / 0.7756 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/1.42, allocations: 180 kB / 0.7758 GB, free: 14.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004202/1.42, allocations: 0.6804 MB / 0.7764 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/1.425, allocations: 3.356 MB / 0.7797 GB, free: 12.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007838/1.432, allocations: 8.607 MB / 0.7881 GB, free: 4.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/1.441, allocations: 5.242 MB / 0.7932 GB, free: 252 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001729/1.441, allocations: 56 kB / 0.7933 GB, free: 196 kB / 410.7 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=1155) (initialization): time 0.0356/1.477, allocations: 14.54 MB / 0.8075 GB, free: 5.773 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002327/1.477, allocations: 84 kB / 0.8076 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003642/1.477, allocations: 188 kB / 0.8077 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006864/1.484, allocations: 2.266 MB / 0.81 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007582/1.492, allocations: 2.079 MB / 0.812 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2568/1.749, allocations: 20.84 MB / 0.8323 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00806/1.757, allocations: 0.4987 MB / 0.8328 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.758, allocations: 0.5189 MB / 0.8333 GB, free: 102 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1061 * 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.00804/1.767, allocations: 3.381 MB / 0.8366 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.768, allocations: 0.528 MB / 0.8371 GB, free: 101.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.781, allocations: 7.148 MB / 0.8441 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.167e-05/1.781, allocations: 41.03 kB / 0.8442 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.362e-05/1.781, allocations: 11 kB / 0.8442 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/1.781, allocations: 14.67 kB / 0.8442 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/1.813, allocations: 15.39 MB / 0.8592 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/1.813, allocations: 1.469 kB / 0.8592 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/1.816, allocations: 0.523 MB / 0.8597 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005914/1.821, allocations: 2.077 MB / 0.8618 GB, free: 99.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004809/1.822, allocations: 54.81 kB / 0.8618 GB, free: 99.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/1.842, allocations: 23.18 MB / 0.8844 GB, free: 83.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.842, allocations: 0 / 0.8844 GB, free: 83.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.858, allocations: 11.09 MB / 0.8953 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003234/1.862, allocations: 1.016 MB / 0.8963 GB, free: 78.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008258/1.863, allocations: 55.25 kB / 0.8963 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.865, allocations: 184.7 kB / 0.8965 GB, free: 78.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/1.865, allocations: 189.1 kB / 0.8967 GB, free: 78.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.866, allocations: 78.42 kB / 0.8968 GB, free: 78.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006256/1.872, allocations: 3.617 MB / 0.9003 GB, free: 77.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.872, allocations: 0.75 kB / 0.9003 GB, free: 77.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008844/1.881, allocations: 1.742 MB / 0.902 GB, free: 77.18 MB / 442.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 201 * 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.0007906/1.882, allocations: 259 kB / 0.9022 GB, free: 77.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01356/1.895, allocations: 9.259 MB / 0.9113 GB, free: 73.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.895, allocations: 0 / 0.9113 GB, free: 73.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005325/1.9, allocations: 4.186 MB / 0.9154 GB, free: 71.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.904, allocations: 0.7316 MB / 0.9161 GB, free: 71.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/1.932, allocations: 18.9 MB / 0.9345 GB, free: 56.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005294/1.938, allocations: 5.281 MB / 0.9397 GB, free: 52.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007264/1.945, allocations: 2.727 MB / 0.9424 GB, free: 50.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.946, allocations: 358 kB / 0.9427 GB, free: 50.27 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/1.946, allocations: 3.188 kB / 0.9427 GB, free: 50.27 MB / 442.7 MB Notification: Performance of Templates: time 0.3315/2.277, allocations: 66.47 MB / 1.008 GB, free: 95.51 MB / 442.7 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)