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.01056/0.01056, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.002083/0.002083, allocations: 190 kB / 16.67 MB, free: 5.949 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001175/0.001175, allocations: 49.86 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02004/0.1304, allocations: 20.35 MB / 393.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.1471, allocations: 6.37 MB / 399.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006097/0.1532, allocations: 155.5 kB / 400 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01382/0.1671, allocations: 6.234 MB / 406.3 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.1775, allocations: 2.762 MB / 409 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006825/0.1844, allocations: 2.576 MB / 411.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.1982, allocations: 7.073 MB / 418.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01507/0.2134, allocations: 8.4 MB / 427.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.2197, allocations: 2.983 MB / 430.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007712/0.2274, allocations: 3.879 MB / 433.9 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002943/0.2304, allocations: 0.6992 MB / 434.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006906/0.2374, allocations: 1.97 MB / 436.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007573/0.245, allocations: 3.632 MB / 440.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009724/0.2548, allocations: 4.114 MB / 444.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3066/0.5614, allocations: 13.16 MB / 457.5 MB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.5615, allocations: 1.219 kB / 457.5 MB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5615, allocations: 0 / 457.5 MB, free: 26.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006133/0.5621, allocations: 0.5 kB / 457.5 MB, free: 26.13 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.03543/0.5975, allocations: 8.512 MB / 466 MB, free: 23.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5976, allocations: 10.5 kB / 466 MB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.6101, allocations: 2.575 MB / 468.6 MB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/0.6231, allocations: 4.427 MB / 473 MB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005045/0.6236, allocations: 459.7 kB / 473.5 MB, free: 21.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00431/0.6279, allocations: 0.7032 MB / 474.2 MB, free: 21.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04509/0.673, allocations: 18.27 MB / 492.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005712/0.6737, allocations: 63.95 kB / 492.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005311/0.679, allocations: 283.7 kB / 492.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006029/0.6851, allocations: 3.037 MB / 495.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0344/0.7195, allocations: 15.2 MB / 0.4991 GB, free: 80 kB / 382.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.1186/0.8382, allocations: 66.69 MB / 0.5642 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02565/0.8639, allocations: 7.917 MB / 0.5719 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006107/0.87, allocations: 3.58 MB / 0.5754 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03023/0.9003, allocations: 14.98 MB / 0.59 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/0.9004, allocations: 58.27 kB / 0.5901 GB, free: 1.605 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 9.458e-06/0.9004, allocations: 1.641 kB / 0.5901 GB, free: 1.605 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.5409/1.441, allocations: 54.93 MB / 0.6437 GB, free: 194.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.441, allocations: 158.7 kB / 0.6439 GB, free: 194.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01291/1.454, allocations: 5.862 MB / 0.6496 GB, free: 192.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001257/1.456, allocations: 70.72 kB / 0.6497 GB, free: 192.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003326/1.459, allocations: 4.986 MB / 0.6545 GB, free: 189.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.461, allocations: 1.189 MB / 0.6557 GB, free: 188.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003008/1.464, allocations: 1.83 MB / 0.6575 GB, free: 187.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.589e-05/1.464, allocations: 306.7 kB / 0.6578 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005845/1.47, allocations: 4.143 MB / 0.6618 GB, free: 186.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00901/1.479, allocations: 9.429 MB / 0.671 GB, free: 177.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/1.495, allocations: 14.56 MB / 0.6853 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002053/1.496, allocations: 52.56 kB / 0.6853 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07481/1.57, allocations: 24.48 MB / 0.7092 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/1.571, allocations: 84 kB / 0.7093 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002532/1.571, allocations: 184 kB / 0.7095 GB, free: 141.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01492/1.586, allocations: 5.377 MB / 0.7147 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008065/1.594, allocations: 2.082 MB / 0.7167 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04216/1.636, allocations: 36.04 MB / 0.7519 GB, free: 97.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009565/1.646, allocations: 0.6255 MB / 0.7526 GB, free: 96.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/1.648, allocations: 0.5195 MB / 0.7531 GB, free: 96.07 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.009719/1.658, allocations: 3.393 MB / 0.7564 GB, free: 92.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002572/1.661, allocations: 0.5322 MB / 0.7569 GB, free: 92.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06266/1.723, allocations: 17.67 MB / 0.7741 GB, free: 74.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001241/1.723, allocations: 43.98 kB / 0.7742 GB, free: 74.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.966e-05/1.723, allocations: 12 kB / 0.7742 GB, free: 74.26 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001172/1.724, allocations: 11.95 kB / 0.7742 GB, free: 74.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08007/1.804, allocations: 28.53 MB / 0.8021 GB, free: 45.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.422e-05/1.804, allocations: 4 kB / 0.8021 GB, free: 45.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003584/1.807, allocations: 0.5188 MB / 0.8026 GB, free: 44.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01442/1.822, allocations: 5.147 MB / 0.8076 GB, free: 39.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009208/1.823, allocations: 59.05 kB / 0.8077 GB, free: 39.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3323/2.155, allocations: 35.52 MB / 0.8424 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/2.155, allocations: 4.844 kB / 0.8424 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06938/2.225, allocations: 22.65 MB / 0.8645 GB, free: 167 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005282/2.23, allocations: 1.208 MB / 0.8657 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/2.232, allocations: 47.75 kB / 0.8657 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004913/2.237, allocations: 300.4 kB / 0.866 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/2.238, allocations: 187.4 kB / 0.8662 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003625/2.239, allocations: 87.8 kB / 0.8663 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007665/2.246, allocations: 3.638 MB / 0.8698 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.1e-07/2.246, allocations: 0 / 0.8698 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01141/2.258, allocations: 1.912 MB / 0.8717 GB, free: 165.1 MB / 0.5137 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.001265/2.259, allocations: 253.8 kB / 0.8719 GB, free: 165 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0211/2.28, allocations: 11.53 MB / 0.8832 GB, free: 155 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.28, allocations: 0 / 0.8832 GB, free: 155 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01135/2.292, allocations: 5.301 MB / 0.8884 GB, free: 149.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006019/2.298, allocations: 0.8415 MB / 0.8892 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0361/2.334, allocations: 17.14 MB / 0.9059 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006093/2.34, allocations: 5.184 MB / 0.911 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006172/2.346, allocations: 2.791 MB / 0.9137 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/2.347, allocations: 351.4 kB / 0.914 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/2.347, allocations: 0 / 0.914 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.1328/2.48, allocations: 89.34 MB / 1.001 GB, free: 34.07 MB / 0.5137 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)