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.0009752/0.0009753, allocations: 93.8 kB / 16.3 MB, free: 5.988 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.0009541/0.0009541, allocations: 183.5 kB / 17.2 MB, free: 5.906 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.376/1.376, allocations: 205.4 MB / 223.4 MB, free: 5.512 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.0004674/0.0004675, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2283, allocations: 47.58 MB / 327.7 MB, free: 1.293 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.07067/0.299, allocations: 77.23 MB / 404.9 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03574/0.3348, allocations: 17.97 MB / 422.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01736/0.3522, allocations: 402.9 kB / 423.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.365, allocations: 3.9 MB / 427.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03231/0.3974, allocations: 10.79 MB / 438 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005803/0.4032, allocations: 1.233 MB / 439.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007826/0.4111, allocations: 3.964 MB / 443.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01428/0.4254, allocations: 9.501 MB / 452.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004023/0.4295, allocations: 1.779 MB / 454.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004153/0.4337, allocations: 2.258 MB / 456.7 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.4348, allocations: 260 kB / 457 MB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.4385, allocations: 1.334 MB / 458.3 MB, free: 404 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2416/0.6801, allocations: 2.762 MB / 461.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003499/0.6837, allocations: 1.46 MB / 462.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.6968, allocations: 10.22 MB / 472.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6968, allocations: 0.7812 kB / 472.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6968, allocations: 0 / 472.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005095/0.6973, allocations: 5.969 kB / 472.8 MB, free: 10.89 MB / 382.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.01708/0.7144, allocations: 7.191 MB / 479.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.7145, allocations: 10.72 kB / 480 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.7261, allocations: 2.992 MB / 482.9 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.7373, allocations: 4.69 MB / 487.6 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004876/0.7379, allocations: 462.5 kB / 488.1 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003662/0.7415, allocations: 0.698 MB / 488.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04096/0.7825, allocations: 18.56 MB / 0.4955 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003121/0.7829, allocations: 63.16 kB / 0.4955 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002688/0.7856, allocations: 279.9 kB / 0.4958 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004599/0.7902, allocations: 3.043 MB / 0.4987 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03451/0.8247, allocations: 15.52 MB / 0.5139 GB, free: 5.641 MB / 398.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.1023/0.9271, allocations: 67.24 MB / 0.5796 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02483/0.952, allocations: 8.089 MB / 0.5875 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02841/0.9804, allocations: 15.11 MB / 0.6022 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.677e-05/0.9805, allocations: 57.75 kB / 0.6023 GB, free: 12.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 6.692e-06/0.9806, allocations: 0 / 0.6023 GB, free: 12.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.4095/1.39, allocations: 55.46 MB / 0.6564 GB, free: 195.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/1.39, allocations: 165.6 kB / 0.6566 GB, free: 195.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008154/1.398, allocations: 6.102 MB / 0.6626 GB, free: 193.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008537/1.399, allocations: 69.64 kB / 0.6626 GB, free: 193.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00269/1.402, allocations: 4.999 MB / 0.6675 GB, free: 189 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/1.404, allocations: 1.185 MB / 0.6687 GB, free: 188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/1.404, allocations: 177.6 kB / 0.6688 GB, free: 187.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003716/1.404, allocations: 0.6906 MB / 0.6695 GB, free: 187.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005394/1.41, allocations: 4.127 MB / 0.6735 GB, free: 185.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/1.417, allocations: 9.379 MB / 0.6827 GB, free: 173.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008225/1.426, allocations: 5.994 MB / 0.6886 GB, free: 167.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.426, allocations: 52 kB / 0.6886 GB, free: 167.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.07068/1.497, allocations: 24.44 MB / 0.7125 GB, free: 142.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/1.497, allocations: 87.94 kB / 0.7126 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003558/1.497, allocations: 184 kB / 0.7127 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/1.511, allocations: 5.396 MB / 0.718 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007465/1.519, allocations: 2.07 MB / 0.72 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04052/1.559, allocations: 34.55 MB / 0.7538 GB, free: 99.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009628/1.569, allocations: 0.6046 MB / 0.7544 GB, free: 99.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001979/1.571, allocations: 0.5213 MB / 0.7549 GB, free: 98.5 MB / 494.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 (1086): * Single equations (assignments): 1073 * Array equations: 6 * 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 {(5,60.0%) 4,(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.008132/1.579, allocations: 3.411 MB / 0.7582 GB, free: 95.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/1.581, allocations: 0.5321 MB / 0.7587 GB, free: 94.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05999/1.641, allocations: 17.66 MB / 0.776 GB, free: 76.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-05/1.641, allocations: 40 kB / 0.776 GB, free: 76.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.894e-05/1.641, allocations: 12 kB / 0.776 GB, free: 76.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-05/1.641, allocations: 15.94 kB / 0.776 GB, free: 76.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08106/1.722, allocations: 28.59 MB / 0.8039 GB, free: 47.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/1.723, allocations: 4 kB / 0.8039 GB, free: 47.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003212/1.726, allocations: 0.5188 MB / 0.8044 GB, free: 47.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01426/1.74, allocations: 5.142 MB / 0.8095 GB, free: 42.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009024/1.741, allocations: 58.56 kB / 0.8095 GB, free: 42.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2547/1.996, allocations: 34.05 MB / 0.8428 GB, free: 179.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.996, allocations: 1.094 kB / 0.8428 GB, free: 179.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07356/2.069, allocations: 22.72 MB / 0.865 GB, free: 175.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004749/2.074, allocations: 1.224 MB / 0.8662 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002417/2.077, allocations: 47.66 kB / 0.8662 GB, free: 175.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00479/2.081, allocations: 310.1 kB / 0.8665 GB, free: 175.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/2.083, allocations: 189 kB / 0.8667 GB, free: 175.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006538/2.083, allocations: 87.81 kB / 0.8668 GB, free: 175.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009011/2.092, allocations: 3.818 MB / 0.8705 GB, free: 173.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/2.092, allocations: 0 / 0.8705 GB, free: 173.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01208/2.105, allocations: 1.925 MB / 0.8724 GB, free: 173.7 MB / 494.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 (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 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/2.106, allocations: 268.7 kB / 0.8726 GB, free: 173.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02247/2.129, allocations: 11.39 MB / 0.8838 GB, free: 166.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/2.129, allocations: 0 / 0.8838 GB, free: 166.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01131/2.14, allocations: 5.276 MB / 0.8889 GB, free: 161.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/2.145, allocations: 0.7473 MB / 0.8896 GB, free: 161.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03724/2.182, allocations: 20.12 MB / 0.9093 GB, free: 141.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009855/2.192, allocations: 5.329 MB / 0.9145 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007852/2.2, allocations: 2.795 MB / 0.9172 GB, free: 133.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/2.201, allocations: 363.4 kB / 0.9176 GB, free: 133.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/2.201, allocations: 0 / 0.9176 GB, free: 133.1 MB / 494.1 MB Notification: Performance of Templates: time 0.125/2.326, allocations: 88.82 MB / 1.004 GB, free: 44.14 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: