Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001552/0.001552, allocations: 164.4 kB / 7.635 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.271/1.271, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001649/0.001649, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.702e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07073/0.07076, allocations: 38.76 MB / 301 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.3658, allocations: 99.86 MB / 400.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.3661, allocations: 85.62 kB / 400.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4983/0.8645, allocations: 132.7 MB / 0.5212 GB, free: 67.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.8645, allocations: 0 / 0.5212 GB, free: 67.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003083/0.8648, allocations: 148.2 kB / 0.5213 GB, free: 67.75 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02202/0.8869, allocations: 7.247 MB / 0.5284 GB, free: 62.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.8869, allocations: 12.03 kB / 0.5284 GB, free: 62.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/0.9004, allocations: 2.881 MB / 0.5312 GB, free: 59.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/0.9177, allocations: 7.625 MB / 0.5386 GB, free: 52.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.9181, allocations: 252 kB / 0.5389 GB, free: 51.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003378/0.9215, allocations: 451.8 kB / 0.5393 GB, free: 51.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01643/0.9379, allocations: 10.65 MB / 0.5497 GB, free: 40.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.9656, allocations: 15.31 MB / 0.5647 GB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/0.966, allocations: 99.11 kB / 0.5648 GB, free: 24.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003086/0.9691, allocations: 36 kB / 0.5648 GB, free: 24.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002179/0.9712, allocations: 1.601 MB / 0.5664 GB, free: 22.52 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.2736/1.245, allocations: 74.11 MB / 0.6387 GB, free: 18.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004952/1.25, allocations: 4.089 MB / 0.6427 GB, free: 17.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002878/1.253, allocations: 2.598 MB / 0.6453 GB, free: 17.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009106/1.254, allocations: 0.9072 MB / 0.6461 GB, free: 16.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.254, allocations: 58.78 kB / 0.6462 GB, free: 16.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=257): time 5.53e-06/1.254, allocations: 0 / 0.6462 GB, free: 16.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=303): time 0.05897/1.313, allocations: 29.77 MB / 0.6753 GB, free: 5.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.313, allocations: 163.2 kB / 0.6754 GB, free: 5.715 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006084/1.319, allocations: 4.495 MB / 0.6798 GB, free: 4.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006215/1.32, allocations: 25.7 kB / 0.6798 GB, free: 4.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002089/1.322, allocations: 5.051 MB / 0.6848 GB, free: 140 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/1.323, allocations: 1.121 MB / 0.6859 GB, free: 15.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/1.323, allocations: 0 / 0.6859 GB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004457/1.324, allocations: 0.6885 MB / 0.6865 GB, free: 14.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/1.328, allocations: 3.179 MB / 0.6896 GB, free: 13.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00824/1.336, allocations: 8.557 MB / 0.698 GB, free: 4.605 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007909/1.344, allocations: 5.152 MB / 0.703 GB, free: 352 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/1.344, allocations: 56 kB / 0.7031 GB, free: 296 kB / 362.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=1191) (initialization): time 0.03469/1.379, allocations: 13.34 MB / 0.7161 GB, free: 6.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/1.379, allocations: 88 kB / 0.7162 GB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002639/1.379, allocations: 195.6 kB / 0.7164 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007018/1.386, allocations: 2.242 MB / 0.7186 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008092/1.395, allocations: 2.15 MB / 0.7207 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2319/1.626, allocations: 19.17 MB / 0.7394 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008882/1.635, allocations: 343.8 kB / 0.7397 GB, free: 71.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002209/1.638, allocations: 0.5352 MB / 0.7402 GB, free: 71.5 MB / 378.7 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.001743/1.639, allocations: 0.5836 MB / 0.7408 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/1.641, allocations: 0.4979 MB / 0.7413 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/1.653, allocations: 6.825 MB / 0.748 GB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/1.654, allocations: 42.81 kB / 0.748 GB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.381e-05/1.654, allocations: 10.84 kB / 0.748 GB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/1.654, allocations: 15.83 kB / 0.748 GB, free: 70.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/1.679, allocations: 13.87 MB / 0.7616 GB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/1.679, allocations: 0 / 0.7616 GB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/1.682, allocations: 0.5293 MB / 0.7621 GB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005682/1.687, allocations: 2.048 MB / 0.7641 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005006/1.688, allocations: 14.7 kB / 0.7641 GB, free: 67.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/1.706, allocations: 21.41 MB / 0.785 GB, free: 52.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.706, allocations: 0 / 0.785 GB, free: 52.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.721, allocations: 10.81 MB / 0.7956 GB, free: 48.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/1.723, allocations: 0.9677 MB / 0.7965 GB, free: 47.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000663/1.724, allocations: 8.5 kB / 0.7965 GB, free: 47.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.726, allocations: 149.8 kB / 0.7967 GB, free: 47.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004972/1.727, allocations: 193.8 kB / 0.7968 GB, free: 47.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.727, allocations: 81.55 kB / 0.7969 GB, free: 47.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004004/1.731, allocations: 2.99 MB / 0.7998 GB, free: 46.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/1.731, allocations: 1.844 kB / 0.7998 GB, free: 46.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008878/1.74, allocations: 1.54 MB / 0.8013 GB, free: 46.41 MB / 378.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 () * 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.0009019/1.741, allocations: 213.6 kB / 0.8015 GB, free: 46.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/1.753, allocations: 8.739 MB / 0.8101 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.753, allocations: 0 / 0.8101 GB, free: 42.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005184/1.758, allocations: 4.006 MB / 0.814 GB, free: 38.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/1.762, allocations: 0.6027 MB / 0.8146 GB, free: 38.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.787, allocations: 13.17 MB / 0.8274 GB, free: 26.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007162/1.794, allocations: 5.282 MB / 0.8326 GB, free: 22.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007359/1.802, allocations: 2.803 MB / 0.8353 GB, free: 20.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009997/1.803, allocations: 334.6 kB / 0.8357 GB, free: 20.6 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/1.803, allocations: 3.938 kB / 0.8357 GB, free: 20.59 MB / 378.7 MB Notification: Performance of Templates: time 0.3313/2.134, allocations: 60.22 MB / 0.8945 GB, free: 83.95 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)