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.001731/0.001731, allocations: 104.4 kB / 16.92 MB, free: 5.738 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.001686/0.001686, allocations: 191.4 kB / 17.85 MB, free: 5.168 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.433/1.433, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001603/0.001603, allocations: 48.14 kB / 280 MB, free: 3.164 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 46.63 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02372/0.1367, allocations: 20.34 MB / 347 MB, free: 20 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.1561, allocations: 6.385 MB / 353.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005221/0.1614, allocations: 147.6 kB / 353.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.1731, allocations: 6.223 MB / 359.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008303/0.1814, allocations: 2.773 MB / 362.5 MB, free: 448 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006091/0.1876, allocations: 2.569 MB / 365.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.1988, allocations: 7.078 MB / 372.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2123/0.4111, allocations: 8.394 MB / 380.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008164/0.4194, allocations: 2.996 MB / 383.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008869/0.4283, allocations: 3.87 MB / 387.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004244/0.4326, allocations: 0.6971 MB / 388.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008132/0.4407, allocations: 1.969 MB / 390.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009072/0.4498, allocations: 3.573 MB / 393.6 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008022/0.4579, allocations: 4.119 MB / 397.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.4722, allocations: 12.79 MB / 410.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4722, allocations: 0.5 kB / 410.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4722, allocations: 4.281 kB / 410.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005394/0.4728, allocations: 0 / 410.5 MB, free: 6.477 MB / 318.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.02238/0.4952, allocations: 8.513 MB / 419.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4952, allocations: 9.844 kB / 419.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008175/0.5034, allocations: 2.573 MB / 421.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009963/0.5134, allocations: 4.329 MB / 426 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004684/0.5139, allocations: 457.3 kB / 426.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00352/0.5175, allocations: 0.7053 MB / 427.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0443/0.5618, allocations: 18.27 MB / 445.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003026/0.5622, allocations: 72.7 kB / 445.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001449/0.5636, allocations: 277.8 kB / 445.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004717/0.5683, allocations: 3.033 MB / 448.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03599/0.6043, allocations: 15.19 MB / 464 MB, free: 5.992 MB / 366.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.1094/0.7138, allocations: 67.06 MB / 0.5186 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02538/0.7392, allocations: 7.932 MB / 0.5263 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005891/0.7451, allocations: 3.579 MB / 0.5298 GB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2543/0.9995, allocations: 14.97 MB / 0.5444 GB, free: 153.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.9996, allocations: 64.61 kB / 0.5445 GB, free: 153 MB / 446.1 MB Notification: Performance of pre-optimization done (n=268): time 5.61e-06/0.9996, allocations: 0 / 0.5445 GB, free: 153 MB / 446.1 MB Notification: Performance of matching and sorting (n=314): time 0.1968/1.196, allocations: 54.93 MB / 0.5981 GB, free: 118.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/1.197, allocations: 162.5 kB / 0.5983 GB, free: 118.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/1.208, allocations: 5.867 MB / 0.604 GB, free: 112.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009926/1.209, allocations: 71.58 kB / 0.6041 GB, free: 112.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003664/1.212, allocations: 4.985 MB / 0.609 GB, free: 107.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002113/1.215, allocations: 1.187 MB / 0.6101 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003959/1.219, allocations: 1.827 MB / 0.6119 GB, free: 104.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.698e-05/1.219, allocations: 301.1 kB / 0.6122 GB, free: 104.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009402/1.228, allocations: 4.147 MB / 0.6162 GB, free: 99.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01322/1.241, allocations: 9.423 MB / 0.6254 GB, free: 87.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02463/1.266, allocations: 14.55 MB / 0.6397 GB, free: 70.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002164/1.266, allocations: 56 kB / 0.6397 GB, free: 70.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.09063/1.357, allocations: 24.49 MB / 0.6636 GB, free: 46.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.357, allocations: 87.94 kB / 0.6637 GB, free: 46.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.357, allocations: 184 kB / 0.6639 GB, free: 45.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0144/1.372, allocations: 5.379 MB / 0.6691 GB, free: 40.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006827/1.379, allocations: 2.086 MB / 0.6712 GB, free: 38.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2682/1.647, allocations: 36.04 MB / 0.7064 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/1.657, allocations: 0.618 MB / 0.707 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00313/1.66, allocations: 0.5229 MB / 0.7075 GB, free: 125.1 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.008879/1.669, allocations: 3.411 MB / 0.7108 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/1.671, allocations: 0.5279 MB / 0.7113 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06016/1.731, allocations: 17.67 MB / 0.7286 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-05/1.731, allocations: 38.84 kB / 0.7286 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.224e-05/1.731, allocations: 10.53 kB / 0.7286 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.831e-05/1.731, allocations: 25.05 kB / 0.7287 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07702/1.808, allocations: 28.59 MB / 0.7566 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.736e-05/1.808, allocations: 0 / 0.7566 GB, free: 102.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003309/1.812, allocations: 0.5158 MB / 0.7571 GB, free: 102.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01453/1.826, allocations: 5.157 MB / 0.7621 GB, free: 97.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008969/1.827, allocations: 57.7 kB / 0.7622 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04171/1.869, allocations: 35.55 MB / 0.7969 GB, free: 60.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.869, allocations: 4.375 kB / 0.7969 GB, free: 60.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06498/1.934, allocations: 22.65 MB / 0.819 GB, free: 38.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003581/1.938, allocations: 1.202 MB / 0.8202 GB, free: 37.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/1.94, allocations: 48 kB / 0.8202 GB, free: 37.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004435/1.944, allocations: 309.4 kB / 0.8205 GB, free: 36.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/1.945, allocations: 193.7 kB / 0.8207 GB, free: 36.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002958/1.946, allocations: 83.98 kB / 0.8208 GB, free: 36.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006178/1.952, allocations: 3.636 MB / 0.8243 GB, free: 33.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.952, allocations: 1.641 kB / 0.8243 GB, free: 33.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01003/1.962, allocations: 1.906 MB / 0.8262 GB, free: 31.12 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.001149/1.963, allocations: 267.4 kB / 0.8265 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02709/1.99, allocations: 15.14 MB / 0.8412 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.99, allocations: 0 / 0.8412 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01125/2.001, allocations: 5.299 MB / 0.8464 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006558/2.008, allocations: 0.8431 MB / 0.8472 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.23/2.238, allocations: 17.34 MB / 0.8642 GB, free: 134.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008786/2.247, allocations: 5.187 MB / 0.8692 GB, free: 133.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01267/2.26, allocations: 2.791 MB / 0.872 GB, free: 132.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/2.262, allocations: 361.1 kB / 0.8723 GB, free: 132.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.464e-06/2.262, allocations: 0 / 0.8723 GB, free: 132.9 MB / 446.1 MB Notification: Performance of Templates: time 0.1568/2.418, allocations: 93.55 MB / 0.9637 GB, free: 54.23 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)