Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.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.1_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.001704/0.001704, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002062/0.002062, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.52/1.52, allocations: 205.1 MB / 222 MB, free: 4.793 MB / 174.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.001363/0.001363, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2239, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.08309/0.307, allocations: 90.19 MB / 414.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04692/0.354, allocations: 18.01 MB / 432.9 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02214/0.3763, allocations: 410.9 kB / 433.3 MB, free: 7.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.3888, allocations: 6.25 MB / 439.5 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009369/0.3982, allocations: 2.608 MB / 442.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006633/0.4049, allocations: 2.499 MB / 444.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01662/0.4215, allocations: 10.31 MB / 454.9 MB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2589/0.6805, allocations: 8.321 MB / 463.3 MB, free: 2.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006039/0.6866, allocations: 2.664 MB / 465.9 MB, free: 2.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007341/0.694, allocations: 4.106 MB / 470 MB, free: 2.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00351/0.6975, allocations: 0.5023 MB / 470.5 MB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005655/0.7032, allocations: 1.882 MB / 472.4 MB, free: 2.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005404/0.7086, allocations: 3.425 MB / 475.8 MB, free: 2.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008051/0.7167, allocations: 3.927 MB / 479.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01593/0.7327, allocations: 12.61 MB / 492.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7328, allocations: 0 / 492.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7328, allocations: 0 / 492.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005642/0.7333, allocations: 3.156 kB / 492.4 MB, free: 14.66 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.03173/0.7651, allocations: 8.514 MB / 0.4892 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.7652, allocations: 13.19 kB / 0.4892 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/0.7767, allocations: 2.572 MB / 0.4917 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.7876, allocations: 4.327 MB / 0.4959 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.7881, allocations: 460.2 kB / 0.4963 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003643/0.7918, allocations: 0.6982 MB / 0.497 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04547/0.8373, allocations: 18.28 MB / 0.5149 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/0.8376, allocations: 63.12 kB / 0.5149 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001861/0.8395, allocations: 281.1 kB / 0.5152 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005393/0.8449, allocations: 3.031 MB / 0.5182 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04046/0.8853, allocations: 15.21 MB / 0.533 GB, free: 5.605 MB / 430.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.1046/0.99, allocations: 67.03 MB / 0.5985 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/1.013, allocations: 7.933 MB / 0.6062 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005244/1.018, allocations: 3.584 MB / 0.6097 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02494/1.043, allocations: 14.96 MB / 0.6243 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/1.043, allocations: 66.8 kB / 0.6244 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=268): time 6.192e-06/1.043, allocations: 4 kB / 0.6244 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=314): time 0.4891/1.533, allocations: 54.91 MB / 0.678 GB, free: 131.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/1.533, allocations: 158.5 kB / 0.6782 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009779/1.542, allocations: 5.862 MB / 0.6839 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009872/1.544, allocations: 80.94 kB / 0.684 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003077/1.547, allocations: 4.983 MB / 0.6888 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001862/1.548, allocations: 1.185 MB / 0.69 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003199/1.552, allocations: 1.832 MB / 0.6918 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/1.552, allocations: 301.1 kB / 0.6921 GB, free: 117.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005246/1.557, allocations: 4.145 MB / 0.6961 GB, free: 113.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00752/1.565, allocations: 9.424 MB / 0.7053 GB, free: 101.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/1.579, allocations: 14.55 MB / 0.7195 GB, free: 84.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/1.58, allocations: 56 kB / 0.7196 GB, free: 84.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.06846/1.648, allocations: 24.49 MB / 0.7435 GB, free: 61.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.648, allocations: 84 kB / 0.7436 GB, free: 61.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/1.648, allocations: 185.5 kB / 0.7438 GB, free: 61.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01422/1.663, allocations: 5.379 MB / 0.749 GB, free: 55.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007154/1.67, allocations: 2.077 MB / 0.751 GB, free: 53.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03872/1.709, allocations: 33.34 MB / 0.7836 GB, free: 19.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009233/1.718, allocations: 0.6163 MB / 0.7842 GB, free: 19.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/1.72, allocations: 0.5234 MB / 0.7847 GB, free: 18.56 MB / 0.5137 GB 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.007926/1.728, allocations: 3.401 MB / 0.788 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002023/1.73, allocations: 0.5283 MB / 0.7886 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05633/1.786, allocations: 17.67 MB / 0.8058 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001058/1.786, allocations: 55.05 kB / 0.8059 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.691e-05/1.787, allocations: 8 kB / 0.8059 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.544e-05/1.787, allocations: 19.94 kB / 0.8059 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3233/2.11, allocations: 28.58 MB / 0.8338 GB, free: 228.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.822e-05/2.11, allocations: 3.469 kB / 0.8338 GB, free: 228.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/2.114, allocations: 0.52 MB / 0.8343 GB, free: 228.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0139/2.127, allocations: 5.147 MB / 0.8393 GB, free: 227.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009922/2.129, allocations: 55.69 kB / 0.8394 GB, free: 227.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03962/2.168, allocations: 32.83 MB / 0.8714 GB, free: 204.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/2.168, allocations: 3.938 kB / 0.8715 GB, free: 204.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06046/2.229, allocations: 22.65 MB / 0.8936 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003759/2.232, allocations: 1.2 MB / 0.8947 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/2.234, allocations: 53.42 kB / 0.8948 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003892/2.238, allocations: 308.6 kB / 0.8951 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/2.239, allocations: 192.1 kB / 0.8953 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/2.239, allocations: 85.94 kB / 0.8954 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005887/2.245, allocations: 3.636 MB / 0.8989 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.51e-07/2.245, allocations: 3.5 kB / 0.8989 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009718/2.255, allocations: 1.912 MB / 0.9008 GB, free: 174.5 MB / 0.5294 GB 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.00113/2.256, allocations: 266.2 kB / 0.901 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02/2.276, allocations: 11.48 MB / 0.9122 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/2.276, allocations: 2 kB / 0.9122 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01044/2.287, allocations: 5.284 MB / 0.9174 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005909/2.293, allocations: 0.7726 MB / 0.9182 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03424/2.327, allocations: 20.86 MB / 0.9385 GB, free: 136 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007277/2.334, allocations: 5.183 MB / 0.9436 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007447/2.342, allocations: 2.791 MB / 0.9463 GB, free: 128 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/2.343, allocations: 359.4 kB / 0.9467 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/2.343, allocations: 0 / 0.9467 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1629/2.506, allocations: 91.11 MB / 1.036 GB, free: 36.34 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)