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.008032/0.008032, allocations: 165.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.402/1.402, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001601/0.001601, allocations: 117.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 11.98 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 38.77 MB / 312.9 MB, free: 38.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.3518, allocations: 100.6 MB / 413.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.3522, allocations: 91.95 kB / 413.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4465/0.7987, allocations: 136 MB / 0.5367 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7987, allocations: 0 / 0.5367 GB, free: 6.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004457/0.7992, allocations: 147.9 kB / 0.5369 GB, free: 6.645 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.4243/1.223, allocations: 7.666 MB / 0.5444 GB, free: 34.61 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.224, allocations: 10.41 kB / 0.5444 GB, free: 34.61 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/1.237, allocations: 2.874 MB / 0.5472 GB, free: 34.13 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/1.256, allocations: 7.674 MB / 0.5547 GB, free: 33.72 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005996/1.256, allocations: 0.565 MB / 0.5552 GB, free: 33.71 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003993/1.26, allocations: 0.7526 MB / 0.556 GB, free: 33.7 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04789/1.308, allocations: 18.31 MB / 0.5738 GB, free: 30.19 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000552/1.309, allocations: 79.53 kB / 0.5739 GB, free: 30.19 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00385/1.313, allocations: 360.4 kB / 0.5743 GB, free: 30.19 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002935/1.316, allocations: 1.6 MB / 0.5758 GB, free: 30.18 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03286/1.348, allocations: 15.05 MB / 0.5905 GB, free: 30.13 MB / 346.8 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.1045/1.453, allocations: 75.44 MB / 0.6642 GB, free: 8.242 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02176/1.475, allocations: 7.647 MB / 0.6717 GB, free: 2.145 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02336/1.498, allocations: 14.05 MB / 0.6854 GB, free: 5.852 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/1.498, allocations: 64.19 kB / 0.6854 GB, free: 5.785 MB / 394.8 MB Notification: Performance of pre-optimization done (n=251): time 5.27e-06/1.498, allocations: 336 / 0.6854 GB, free: 5.785 MB / 394.8 MB Notification: Performance of matching and sorting (n=297): time 0.2882/1.786, allocations: 32.93 MB / 0.7176 GB, free: 77.65 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/1.787, allocations: 161.1 kB / 0.7178 GB, free: 77.49 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009757/1.796, allocations: 5.194 MB / 0.7228 GB, free: 77.01 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008304/1.797, allocations: 65.72 kB / 0.7229 GB, free: 76.98 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003298/1.8, allocations: 5.004 MB / 0.7278 GB, free: 74.52 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.802, allocations: 1.129 MB / 0.7289 GB, free: 73.88 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006437/1.803, allocations: 176.9 kB / 0.729 GB, free: 73.88 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0004159/1.803, allocations: 0.6827 MB / 0.7297 GB, free: 73.55 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004481/1.808, allocations: 3.356 MB / 0.733 GB, free: 73.53 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007094/1.815, allocations: 8.608 MB / 0.7414 GB, free: 66.77 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007538/1.822, allocations: 5.243 MB / 0.7465 GB, free: 66.73 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001318/1.822, allocations: 52.66 kB / 0.7466 GB, free: 66.73 MB / 394.8 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.025/1.847, allocations: 14 MB / 0.7602 GB, free: 62.52 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/1.848, allocations: 84 kB / 0.7603 GB, free: 62.52 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/1.848, allocations: 185.6 kB / 0.7605 GB, free: 62.52 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006505/1.854, allocations: 2.273 MB / 0.7627 GB, free: 62.07 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007736/1.862, allocations: 2.09 MB / 0.7648 GB, free: 61.82 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/1.882, allocations: 20.8 MB / 0.7851 GB, free: 48 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008105/1.89, allocations: 0.5013 MB / 0.7856 GB, free: 47.84 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/1.892, allocations: 0.5192 MB / 0.7861 GB, free: 47.76 MB / 394.8 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.008012/1.9, allocations: 3.376 MB / 0.7894 GB, free: 46.09 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.901, allocations: 0.5244 MB / 0.7899 GB, free: 45.56 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.915, allocations: 7.152 MB / 0.7969 GB, free: 39.66 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.067e-05/1.915, allocations: 43.38 kB / 0.7969 GB, free: 39.62 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-05/1.915, allocations: 8 kB / 0.7969 GB, free: 39.61 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/1.915, allocations: 19.47 kB / 0.7969 GB, free: 39.61 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.945, allocations: 15.39 MB / 0.812 GB, free: 27.04 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.945, allocations: 0 / 0.812 GB, free: 27.04 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/1.948, allocations: 0.5187 MB / 0.8125 GB, free: 26.65 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006086/1.954, allocations: 2.079 MB / 0.8145 GB, free: 25.18 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007416/1.955, allocations: 55.23 kB / 0.8145 GB, free: 25.13 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2534/2.209, allocations: 23.18 MB / 0.8372 GB, free: 63.68 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.209, allocations: 6.5 kB / 0.8372 GB, free: 63.68 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/2.226, allocations: 11.07 MB / 0.848 GB, free: 62.58 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0039/2.23, allocations: 1.012 MB / 0.849 GB, free: 62.48 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001576/2.232, allocations: 59.86 kB / 0.849 GB, free: 62.48 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/2.235, allocations: 188.8 kB / 0.8492 GB, free: 62.48 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006474/2.236, allocations: 184.8 kB / 0.8494 GB, free: 62.48 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/2.236, allocations: 82.2 kB / 0.8495 GB, free: 62.48 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.007171/2.243, allocations: 3.612 MB / 0.853 GB, free: 62.27 MB / 394.8 MB Notification: Performance of sort global known variables: time 5.61e-07/2.243, allocations: 1.781 kB / 0.853 GB, free: 62.27 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01187/2.255, allocations: 1.741 MB / 0.8547 GB, free: 62.27 MB / 394.8 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.001217/2.256, allocations: 262.3 kB / 0.855 GB, free: 62.18 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.01582/2.272, allocations: 9.255 MB / 0.864 GB, free: 61.31 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/2.272, allocations: 0 / 0.864 GB, free: 61.31 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00593/2.278, allocations: 4.187 MB / 0.8681 GB, free: 60.25 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/2.282, allocations: 0.7265 MB / 0.8688 GB, free: 60.23 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02992/2.312, allocations: 18.91 MB / 0.8873 GB, free: 53.14 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00715/2.32, allocations: 5.284 MB / 0.8924 GB, free: 52.25 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.007592/2.327, allocations: 2.734 MB / 0.8951 GB, free: 52.03 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/2.329, allocations: 350.7 kB / 0.8954 GB, free: 52.02 MB / 394.8 MB Notification: Performance of SimCode: time 1.403e-06/2.329, allocations: 3.75 kB / 0.8954 GB, free: 52.02 MB / 394.8 MB Notification: Performance of Templates: time 0.1107/2.439, allocations: 66.48 MB / 0.9604 GB, free: 10.46 MB / 394.8 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)