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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 101.2 kB / 16.5 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 193.9 kB / 17.42 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.3 MB, free: 12.41 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 51.94 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09429, allocations: 46.62 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.2498/0.3442, allocations: 90.2 MB / 416.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04544/0.3897, allocations: 18.01 MB / 434.2 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02429/0.414, allocations: 409.7 kB / 434.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01242/0.4265, allocations: 6.245 MB / 440.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009352/0.4359, allocations: 2.611 MB / 443.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006465/0.4424, allocations: 2.503 MB / 445.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01344/0.4558, allocations: 10.29 MB / 456.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.4696, allocations: 8.34 MB / 464.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006887/0.4765, allocations: 2.663 MB / 467.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007399/0.484, allocations: 4.109 MB / 471.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002831/0.4868, allocations: 0.5 MB / 471.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005395/0.4922, allocations: 1.88 MB / 473.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005066/0.4973, allocations: 3.429 MB / 477.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008212/0.5056, allocations: 3.931 MB / 481.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01562/0.5212, allocations: 12.61 MB / 493.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5213, allocations: 3.984 kB / 493.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5213, allocations: 0 / 493.7 MB, free: 14.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003883/0.5217, allocations: 0 / 493.7 MB, free: 14.18 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.02068/0.5424, allocations: 8.513 MB / 0.4904 GB, free: 5.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5424, allocations: 12.03 kB / 0.4904 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009134/0.5516, allocations: 2.568 MB / 0.4929 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009335/0.5609, allocations: 4.325 MB / 0.4972 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/0.5614, allocations: 463.8 kB / 0.4976 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002098/0.5635, allocations: 0.6948 MB / 0.4983 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/0.6008, allocations: 18.27 MB / 0.5161 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/0.6011, allocations: 67.36 kB / 0.5162 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00097/0.6021, allocations: 283.8 kB / 0.5165 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004228/0.6063, allocations: 3.034 MB / 0.5194 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03387/0.6402, allocations: 15.2 MB / 0.5343 GB, free: 7.578 MB / 446.1 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.4627/1.103, allocations: 67.05 MB / 0.5997 GB, free: 116.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02193/1.125, allocations: 7.935 MB / 0.6075 GB, free: 109.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004877/1.13, allocations: 3.579 MB / 0.611 GB, free: 106.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02244/1.152, allocations: 14.96 MB / 0.6256 GB, free: 90.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.152, allocations: 64.5 kB / 0.6257 GB, free: 90.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=268): time 5.451e-06/1.152, allocations: 0 / 0.6257 GB, free: 90.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=314): time 0.1833/1.336, allocations: 54.91 MB / 0.6793 GB, free: 35.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/1.336, allocations: 166.5 kB / 0.6794 GB, free: 35.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007082/1.343, allocations: 5.859 MB / 0.6852 GB, free: 29.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007718/1.344, allocations: 73.61 kB / 0.6852 GB, free: 29.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.346, allocations: 4.978 MB / 0.6901 GB, free: 24.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001355/1.347, allocations: 1.194 MB / 0.6913 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002295/1.35, allocations: 1.829 MB / 0.693 GB, free: 21.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/1.35, allocations: 301.1 kB / 0.6933 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/1.355, allocations: 4.148 MB / 0.6974 GB, free: 16.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007635/1.363, allocations: 9.432 MB / 0.7066 GB, free: 4.789 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1935/1.556, allocations: 14.54 MB / 0.7208 GB, free: 135 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/1.556, allocations: 57.22 kB / 0.7208 GB, free: 135 MB / 446.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07268/1.629, allocations: 24.49 MB / 0.7448 GB, free: 128.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.629, allocations: 81.59 kB / 0.7448 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/1.63, allocations: 185.5 kB / 0.745 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01457/1.644, allocations: 5.382 MB / 0.7503 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007007/1.651, allocations: 2.086 MB / 0.7523 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03912/1.69, allocations: 33.33 MB / 0.7849 GB, free: 91.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009077/1.699, allocations: 0.616 MB / 0.7855 GB, free: 91.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/1.702, allocations: 0.5272 MB / 0.786 GB, free: 90.58 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1094): * Single equations (assignments): 1081 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,4,60.0%), (1,3,100.0%), (1,3,100.0%), (4,9,100.0%), (4,9,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.008955/1.711, allocations: 3.393 MB / 0.7893 GB, free: 87.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00194/1.713, allocations: 0.5268 MB / 0.7898 GB, free: 87.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0561/1.769, allocations: 17.68 MB / 0.8071 GB, free: 69.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-05/1.769, allocations: 44 kB / 0.8071 GB, free: 69.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.14e-05/1.769, allocations: 11.94 kB / 0.8071 GB, free: 69.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.591e-05/1.769, allocations: 15.94 kB / 0.8071 GB, free: 69.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07446/1.844, allocations: 28.57 MB / 0.835 GB, free: 40.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/1.844, allocations: 0 / 0.835 GB, free: 40.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/1.847, allocations: 0.5265 MB / 0.8356 GB, free: 39.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01375/1.861, allocations: 5.139 MB / 0.8406 GB, free: 34.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008247/1.862, allocations: 59.98 kB / 0.8406 GB, free: 34.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3078/2.17, allocations: 32.83 MB / 0.8727 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/2.17, allocations: 9.125 kB / 0.8727 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0705/2.24, allocations: 22.66 MB / 0.8948 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00401/2.244, allocations: 1.205 MB / 0.896 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/2.246, allocations: 51.53 kB / 0.8961 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003712/2.25, allocations: 295.9 kB / 0.8963 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009996/2.251, allocations: 189.8 kB / 0.8965 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/2.251, allocations: 86.83 kB / 0.8966 GB, free: 131.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006875/2.258, allocations: 3.643 MB / 0.9002 GB, free: 130.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/2.258, allocations: 3.344 kB / 0.9002 GB, free: 130.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01147/2.269, allocations: 1.906 MB / 0.902 GB, free: 130.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,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 (235): * Single equations (assignments): 224 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (5,4,60.0%), (2,1,100.0%), (4,9,100.0%), (4,9,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001316/2.271, allocations: 263.6 kB / 0.9023 GB, free: 130.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02082/2.292, allocations: 11.47 MB / 0.9135 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.292, allocations: 0 / 0.9135 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01134/2.303, allocations: 5.294 MB / 0.9187 GB, free: 119.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/2.309, allocations: 0.7777 MB / 0.9194 GB, free: 118.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/2.341, allocations: 20.87 MB / 0.9398 GB, free: 98.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008381/2.349, allocations: 5.177 MB / 0.9448 GB, free: 92.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008002/2.358, allocations: 2.791 MB / 0.9476 GB, free: 90.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/2.359, allocations: 355.4 kB / 0.9479 GB, free: 89.74 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/2.359, allocations: 0 / 0.9479 GB, free: 89.74 MB / 446.1 MB Notification: Performance of Templates: time 0.3714/2.73, allocations: 91.09 MB / 1.037 GB, free: 130.2 MB / 446.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)