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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001286, 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.001387/0.001387, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.548/1.548, allocations: 205.1 MB / 222 MB, free: 4.969 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.001178/0.001178, allocations: 47.92 kB / 278.1 MB, free: 12.99 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2569, allocations: 46.61 MB / 324.7 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.08618/0.3431, allocations: 90.2 MB / 414.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04414/0.3873, allocations: 18.01 MB / 432.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02526/0.4127, allocations: 406.9 kB / 433.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01211/0.4248, allocations: 6.25 MB / 439.5 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008956/0.4338, allocations: 2.612 MB / 442.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005676/0.4395, allocations: 2.495 MB / 444.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.4525, allocations: 10.31 MB / 454.9 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2642/0.7167, allocations: 8.315 MB / 463.3 MB, free: 2.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007077/0.7239, allocations: 2.667 MB / 465.9 MB, free: 2.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007368/0.7313, allocations: 4.111 MB / 470 MB, free: 2.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002919/0.7342, allocations: 0.5005 MB / 470.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005424/0.7397, allocations: 1.88 MB / 472.4 MB, free: 2.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005627/0.7453, allocations: 3.423 MB / 475.8 MB, free: 2.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008128/0.7535, allocations: 3.924 MB / 479.8 MB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.7692, allocations: 12.61 MB / 492.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7692, allocations: 4 kB / 492.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.7692, allocations: 0 / 492.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006345/0.7699, allocations: 0 / 492.4 MB, free: 14.73 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.03273/0.8026, allocations: 8.516 MB / 0.4892 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.8027, allocations: 9.062 kB / 0.4892 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.8146, allocations: 2.574 MB / 0.4917 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.8249, allocations: 4.32 MB / 0.4959 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.8253, allocations: 469.2 kB / 0.4963 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/0.8283, allocations: 0.7013 MB / 0.497 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0435/0.8718, allocations: 18.28 MB / 0.5149 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/0.8721, allocations: 63.22 kB / 0.5149 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.8731, allocations: 285.5 kB / 0.5152 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004805/0.878, allocations: 3.03 MB / 0.5182 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03313/0.9111, allocations: 15.21 MB / 0.533 GB, free: 5.66 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.107/1.018, allocations: 67.04 MB / 0.5985 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02454/1.043, allocations: 7.928 MB / 0.6062 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006272/1.049, allocations: 3.583 MB / 0.6097 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03452/1.084, allocations: 14.97 MB / 0.6243 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.55e-05/1.084, allocations: 62.81 kB / 0.6244 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=268): time 7.724e-06/1.084, allocations: 0 / 0.6244 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=314): time 0.5251/1.609, allocations: 54.91 MB / 0.678 GB, free: 131.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/1.609, allocations: 160.9 kB / 0.6782 GB, free: 131.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009714/1.619, allocations: 5.86 MB / 0.6839 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/1.62, allocations: 70.88 kB / 0.684 GB, free: 125.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003746/1.624, allocations: 4.987 MB / 0.6888 GB, free: 120.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.626, allocations: 1.195 MB / 0.69 GB, free: 119.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003491/1.63, allocations: 1.824 MB / 0.6918 GB, free: 117.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/1.63, allocations: 301.1 kB / 0.6921 GB, free: 117.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00558/1.635, allocations: 4.147 MB / 0.6961 GB, free: 113.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008176/1.644, allocations: 9.428 MB / 0.7053 GB, free: 101.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/1.659, allocations: 14.56 MB / 0.7195 GB, free: 84.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002133/1.659, allocations: 52 kB / 0.7196 GB, free: 84.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.06981/1.729, allocations: 24.48 MB / 0.7435 GB, free: 61.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.729, allocations: 84 kB / 0.7436 GB, free: 61.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/1.73, allocations: 184 kB / 0.7438 GB, free: 61.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01443/1.744, allocations: 5.375 MB / 0.749 GB, free: 55.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008192/1.752, allocations: 2.082 MB / 0.751 GB, free: 53.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04027/1.793, allocations: 33.33 MB / 0.7836 GB, free: 19.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009831/1.803, allocations: 0.6202 MB / 0.7842 GB, free: 19.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002677/1.805, allocations: 0.5224 MB / 0.7847 GB, free: 18.6 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.008859/1.814, allocations: 3.4 MB / 0.788 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/1.816, allocations: 0.5283 MB / 0.7885 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05807/1.874, allocations: 17.68 MB / 0.8058 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.574e-05/1.874, allocations: 50.55 kB / 0.8059 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/1.874, allocations: 12 kB / 0.8059 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001034/1.875, allocations: 11.95 kB / 0.8059 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3219/2.196, allocations: 28.58 MB / 0.8338 GB, free: 228 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.474e-05/2.197, allocations: 3.406 kB / 0.8338 GB, free: 228 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/2.2, allocations: 0.5245 MB / 0.8343 GB, free: 228 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01372/2.214, allocations: 5.149 MB / 0.8393 GB, free: 227 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009293/2.215, allocations: 63.3 kB / 0.8394 GB, free: 226.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04132/2.256, allocations: 32.82 MB / 0.8714 GB, free: 204.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.256, allocations: 7.938 kB / 0.8715 GB, free: 204.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06293/2.319, allocations: 22.65 MB / 0.8936 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004192/2.323, allocations: 1.199 MB / 0.8947 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002252/2.325, allocations: 56 kB / 0.8948 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005723/2.331, allocations: 302.1 kB / 0.8951 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/2.333, allocations: 189.7 kB / 0.8953 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007751/2.334, allocations: 82.33 kB / 0.8953 GB, free: 180 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009404/2.343, allocations: 3.64 MB / 0.8989 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/2.343, allocations: 7.844 kB / 0.8989 GB, free: 176.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01187/2.355, allocations: 1.902 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.001638/2.357, allocations: 261.6 kB / 0.901 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02128/2.378, allocations: 11.5 MB / 0.9122 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/2.378, allocations: 0 / 0.9122 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0116/2.39, allocations: 5.291 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.008455/2.398, allocations: 0.7836 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.03956/2.438, allocations: 20.84 MB / 0.9385 GB, free: 136 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/2.448, allocations: 5.187 MB / 0.9436 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00917/2.458, allocations: 2.787 MB / 0.9463 GB, free: 128 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/2.459, allocations: 359.4 kB / 0.9467 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/2.459, allocations: 0 / 0.9467 GB, free: 127.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.135/2.594, allocations: 91.11 MB / 1.036 GB, free: 36.34 MB / 0.5294 GB 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)