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.001299/0.001299, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001524/0.001524, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.000481/0.0004811, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.06827/0.2934, allocations: 77.23 MB / 403.7 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03928/0.3327, allocations: 17.97 MB / 421.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01591/0.3487, allocations: 402.9 kB / 422 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01362/0.3623, allocations: 3.9 MB / 425.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0398/0.4022, allocations: 10.78 MB / 436.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005923/0.4081, allocations: 1.233 MB / 438 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008347/0.4165, allocations: 3.967 MB / 441.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01441/0.4309, allocations: 9.493 MB / 451.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00504/0.436, allocations: 1.787 MB / 453.2 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004265/0.4403, allocations: 2.25 MB / 455.5 MB, free: 2.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001731/0.4421, allocations: 260 kB / 455.7 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.446, allocations: 1.338 MB / 457.1 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2181/0.6641, allocations: 2.764 MB / 459.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003576/0.6677, allocations: 1.456 MB / 461.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.6806, allocations: 10.22 MB / 471.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6807, allocations: 3.906 kB / 471.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6807, allocations: 0 / 471.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005447/0.6812, allocations: 2.594 kB / 471.5 MB, free: 10.88 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.01686/0.6981, allocations: 7.191 MB / 478.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.6982, allocations: 8.688 kB / 478.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.7097, allocations: 2.99 MB / 481.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.7208, allocations: 4.688 MB / 486.4 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.7212, allocations: 462.9 kB / 486.8 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00298/0.7242, allocations: 0.7062 MB / 487.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03882/0.763, allocations: 18.56 MB / 0.4942 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002919/0.7634, allocations: 59.23 kB / 0.4943 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001761/0.7651, allocations: 283.6 kB / 0.4946 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004079/0.7692, allocations: 3.031 MB / 0.4975 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03399/0.8032, allocations: 15.52 MB / 0.5127 GB, free: 5.73 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.1015/0.9048, allocations: 67.24 MB / 0.5783 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02489/0.9297, allocations: 8.1 MB / 0.5862 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0308/0.9605, allocations: 15.1 MB / 0.601 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/0.9606, allocations: 59.69 kB / 0.601 GB, free: 12.72 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 6.633e-06/0.9607, allocations: 0 / 0.601 GB, free: 12.72 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.4065/1.367, allocations: 55.46 MB / 0.6552 GB, free: 196.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.367, allocations: 161.3 kB / 0.6554 GB, free: 195.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008735/1.376, allocations: 6.098 MB / 0.6613 GB, free: 193.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009843/1.377, allocations: 76.94 kB / 0.6614 GB, free: 193.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003346/1.38, allocations: 4.998 MB / 0.6663 GB, free: 189.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00165/1.382, allocations: 1.189 MB / 0.6674 GB, free: 188.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004787/1.383, allocations: 174.4 kB / 0.6676 GB, free: 188 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003738/1.383, allocations: 0.6913 MB / 0.6683 GB, free: 187.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.388, allocations: 4.131 MB / 0.6723 GB, free: 185.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007264/1.395, allocations: 9.37 MB / 0.6815 GB, free: 173.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008166/1.404, allocations: 6.006 MB / 0.6873 GB, free: 167.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-05/1.404, allocations: 56 kB / 0.6874 GB, free: 167.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.0726/1.476, allocations: 24.44 MB / 0.7112 GB, free: 142.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.476, allocations: 84 kB / 0.7113 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.477, allocations: 184 kB / 0.7115 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/1.492, allocations: 5.394 MB / 0.7168 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00749/1.499, allocations: 2.07 MB / 0.7188 GB, free: 135.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03952/1.539, allocations: 34.55 MB / 0.7525 GB, free: 99.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009842/1.549, allocations: 0.6058 MB / 0.7531 GB, free: 99.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/1.551, allocations: 0.5206 MB / 0.7536 GB, free: 98.54 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.006888/1.558, allocations: 3.408 MB / 0.757 GB, free: 95.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.559, allocations: 0.5399 MB / 0.7575 GB, free: 94.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05712/1.616, allocations: 17.66 MB / 0.7747 GB, free: 76.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.194e-05/1.616, allocations: 36 kB / 0.7748 GB, free: 76.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-05/1.616, allocations: 12 kB / 0.7748 GB, free: 76.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.149e-05/1.616, allocations: 15.94 kB / 0.7748 GB, free: 76.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07555/1.692, allocations: 28.59 MB / 0.8027 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/1.692, allocations: 0 / 0.8027 GB, free: 47.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/1.695, allocations: 0.5194 MB / 0.8032 GB, free: 47.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01399/1.709, allocations: 5.145 MB / 0.8082 GB, free: 42.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009084/1.71, allocations: 61.16 kB / 0.8083 GB, free: 42.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2583/1.968, allocations: 34.04 MB / 0.8415 GB, free: 179.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.968, allocations: 1.25 kB / 0.8415 GB, free: 179.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06714/2.036, allocations: 22.73 MB / 0.8637 GB, free: 175.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00431/2.04, allocations: 1.219 MB / 0.8649 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001773/2.042, allocations: 54.94 kB / 0.865 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004457/2.046, allocations: 303.3 kB / 0.8653 GB, free: 175.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009641/2.047, allocations: 194.6 kB / 0.8655 GB, free: 175.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/2.047, allocations: 78.44 kB / 0.8655 GB, free: 175.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006942/2.054, allocations: 3.817 MB / 0.8693 GB, free: 173.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/2.054, allocations: 0 / 0.8693 GB, free: 173.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01139/2.066, allocations: 1.926 MB / 0.8711 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.001293/2.067, allocations: 273.7 kB / 0.8714 GB, free: 173.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02098/2.088, allocations: 11.4 MB / 0.8825 GB, free: 166.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/2.088, allocations: 0 / 0.8825 GB, free: 166.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0116/2.1, allocations: 5.272 MB / 0.8877 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.005458/2.105, allocations: 0.7442 MB / 0.8884 GB, free: 161 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03674/2.142, allocations: 20.13 MB / 0.9081 GB, free: 141.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008466/2.151, allocations: 5.339 MB / 0.9133 GB, free: 136.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007835/2.159, allocations: 2.791 MB / 0.916 GB, free: 133.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/2.16, allocations: 363.4 kB / 0.9163 GB, free: 133.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.743e-06/2.16, allocations: 0 / 0.9163 GB, free: 133.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1312/2.291, allocations: 88.81 MB / 1.003 GB, free: 44.14 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: