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.0009805/0.0009806, allocations: 182 kB / 13.64 MB, free: 1.676 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.636/1.636, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001719/0.00172, allocations: 124.7 kB / 253.5 MB, free: 9.562 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.265e-05/4.268e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4713, allocations: 106.2 MB / 455.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.4716, allocations: 85.64 kB / 455.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5996/1.071, allocations: 136.1 MB / 0.5779 GB, free: 72.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.524e-06/1.071, allocations: 3.938 kB / 0.578 GB, free: 72.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004169/1.072, allocations: 157.9 kB / 0.5781 GB, free: 72.56 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.02521/1.097, allocations: 7.24 MB / 0.5852 GB, free: 69.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.097, allocations: 10.28 kB / 0.5852 GB, free: 69.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/1.111, allocations: 2.88 MB / 0.588 GB, free: 69.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/1.13, allocations: 7.655 MB / 0.5955 GB, free: 68.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005454/1.13, allocations: 0.5678 MB / 0.596 GB, free: 68.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/1.134, allocations: 0.7418 MB / 0.5968 GB, free: 68.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04214/1.176, allocations: 18.17 MB / 0.6145 GB, free: 59.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002877/1.176, allocations: 79.19 kB / 0.6146 GB, free: 59.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/1.178, allocations: 357.7 kB / 0.6149 GB, free: 59.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/1.18, allocations: 1.602 MB / 0.6165 GB, free: 57.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03007/1.21, allocations: 14.84 MB / 0.631 GB, free: 44.96 MB / 394.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.3819/1.592, allocations: 75.44 MB / 0.7046 GB, free: 35.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/1.615, allocations: 7.583 MB / 0.712 GB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004014/1.619, allocations: 3.228 MB / 0.7152 GB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02128/1.64, allocations: 14.06 MB / 0.7289 GB, free: 31.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/1.64, allocations: 52.84 kB / 0.729 GB, free: 31.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 5.851e-06/1.64, allocations: 0 / 0.729 GB, free: 31.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=297): time 0.07641/1.717, allocations: 29.78 MB / 0.7581 GB, free: 25.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/1.717, allocations: 163.2 kB / 0.7582 GB, free: 25.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008323/1.725, allocations: 5.138 MB / 0.7632 GB, free: 23.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006688/1.726, allocations: 75.39 kB / 0.7633 GB, free: 23.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002701/1.728, allocations: 4.997 MB / 0.7682 GB, free: 19.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.73, allocations: 1.137 MB / 0.7693 GB, free: 18.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004343/1.73, allocations: 174.9 kB / 0.7695 GB, free: 18.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003886/1.731, allocations: 0.6806 MB / 0.7701 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/1.735, allocations: 3.281 MB / 0.7733 GB, free: 16.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007204/1.742, allocations: 8.528 MB / 0.7817 GB, free: 8.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007352/1.749, allocations: 5.225 MB / 0.7868 GB, free: 7.004 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.75, allocations: 51.31 kB / 0.7868 GB, free: 7.004 MB / 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.02877/1.778, allocations: 13.85 MB / 0.8003 GB, free: 14.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002338/1.779, allocations: 84.78 kB / 0.8004 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000333/1.779, allocations: 184 kB / 0.8006 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00713/1.786, allocations: 2.265 MB / 0.8028 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008386/1.795, allocations: 2.09 MB / 0.8048 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/1.82, allocations: 20.15 MB / 0.8245 GB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.83, allocations: 0.5024 MB / 0.825 GB, free: 7.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002878/1.833, allocations: 0.5149 MB / 0.8255 GB, free: 6.875 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 () * 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.00445/1.838, allocations: 0.7961 MB / 0.8263 GB, free: 6.082 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.839, allocations: 0.5206 MB / 0.8268 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.855, allocations: 7.082 MB / 0.8337 GB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-05/1.855, allocations: 48.12 kB / 0.8338 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.094e-05/1.855, allocations: 11.95 kB / 0.8338 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.316e-05/1.855, allocations: 22.02 kB / 0.8338 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/1.888, allocations: 15.3 MB / 0.8487 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/1.888, allocations: 0 / 0.8487 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003438/1.891, allocations: 0.5187 MB / 0.8492 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006991/1.898, allocations: 2.071 MB / 0.8513 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00083/1.899, allocations: 63.83 kB / 0.8513 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3055/2.205, allocations: 22.49 MB / 0.8733 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/2.205, allocations: 3.891 kB / 0.8733 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/2.224, allocations: 10.97 MB / 0.884 GB, free: 122.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003026/2.227, allocations: 1.008 MB / 0.885 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008164/2.228, allocations: 56.3 kB / 0.885 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/2.23, allocations: 186.3 kB / 0.8852 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/2.231, allocations: 187.2 kB / 0.8854 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/2.231, allocations: 82.16 kB / 0.8855 GB, free: 122.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005289/2.237, allocations: 3.566 MB / 0.889 GB, free: 122.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.237, allocations: 0 / 0.889 GB, free: 122.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00816/2.245, allocations: 1.74 MB / 0.8907 GB, free: 122.4 MB / 474.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 (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.0009302/2.246, allocations: 257.6 kB / 0.8909 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01389/2.26, allocations: 9.116 MB / 0.8998 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/2.26, allocations: 3.656 kB / 0.8998 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005758/2.265, allocations: 4.111 MB / 0.9038 GB, free: 120.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004134/2.27, allocations: 0.7337 MB / 0.9045 GB, free: 120.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/2.298, allocations: 13.3 MB / 0.9175 GB, free: 116.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00664/2.305, allocations: 5.286 MB / 0.9227 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008015/2.313, allocations: 2.734 MB / 0.9254 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/2.314, allocations: 348.7 kB / 0.9257 GB, free: 114.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/2.314, allocations: 0 / 0.9257 GB, free: 114.3 MB / 474.7 MB Notification: Performance of Templates: time 0.1192/2.433, allocations: 66.5 MB / 0.9906 GB, free: 72.54 MB / 474.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)