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.009187/0.009187, allocations: 104.5 kB / 15.73 MB, free: 6.039 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.001928/0.001929, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.49/1.49, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.00119/0.001191, allocations: 55.2 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1199, allocations: 46.61 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02135/0.1413, allocations: 20.35 MB / 393.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.158, allocations: 6.373 MB / 399.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005759/0.1639, allocations: 151.6 kB / 400 MB, free: 6.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01328/0.1772, allocations: 6.226 MB / 406.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.1902, allocations: 2.773 MB / 409 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007951/0.1981, allocations: 2.572 MB / 411.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01553/0.2137, allocations: 7.073 MB / 418.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01585/0.2296, allocations: 8.392 MB / 427.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007655/0.2374, allocations: 2.999 MB / 430.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007983/0.2454, allocations: 3.871 MB / 433.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003653/0.2491, allocations: 0.6953 MB / 434.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006432/0.2556, allocations: 1.978 MB / 436.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007831/0.2634, allocations: 3.57 MB / 440.2 MB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.2746, allocations: 4.114 MB / 444.3 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3489/0.6236, allocations: 13.15 MB / 457.5 MB, free: 26.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.6237, allocations: 2.266 kB / 457.5 MB, free: 26.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.6237, allocations: 2.844 kB / 457.5 MB, free: 26.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007702/0.6244, allocations: 0 / 457.5 MB, free: 26.2 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.03105/0.6555, allocations: 8.512 MB / 466 MB, free: 23.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.6556, allocations: 12.72 kB / 466 MB, free: 23.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.6671, allocations: 2.572 MB / 468.6 MB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/0.6803, allocations: 4.423 MB / 473 MB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/0.6809, allocations: 469 kB / 473.4 MB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004906/0.6858, allocations: 0.6956 MB / 474.1 MB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04659/0.7324, allocations: 18.27 MB / 492.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003558/0.7328, allocations: 70.2 kB / 492.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00264/0.7354, allocations: 280.5 kB / 492.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004086/0.7395, allocations: 3.033 MB / 495.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03309/0.7727, allocations: 15.2 MB / 0.499 GB, free: 184 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.1138/0.8865, allocations: 66.69 MB / 0.5641 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02615/0.9127, allocations: 7.91 MB / 0.5719 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005327/0.9181, allocations: 3.593 MB / 0.5754 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/0.9462, allocations: 14.96 MB / 0.59 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.9463, allocations: 64.55 kB / 0.59 GB, free: 1.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 7.093e-06/0.9463, allocations: 3.656 kB / 0.59 GB, free: 1.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.4658/1.412, allocations: 54.92 MB / 0.6437 GB, free: 194.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/1.412, allocations: 162.2 kB / 0.6438 GB, free: 194.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008965/1.421, allocations: 5.859 MB / 0.6495 GB, free: 192.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009215/1.422, allocations: 75.08 kB / 0.6496 GB, free: 192.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002718/1.425, allocations: 4.988 MB / 0.6545 GB, free: 189.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001503/1.426, allocations: 1.194 MB / 0.6557 GB, free: 188.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/1.429, allocations: 1.82 MB / 0.6574 GB, free: 187.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/1.429, allocations: 304.7 kB / 0.6577 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005537/1.435, allocations: 4.146 MB / 0.6618 GB, free: 186.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008721/1.443, allocations: 9.423 MB / 0.671 GB, free: 177.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/1.461, allocations: 14.56 MB / 0.6852 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002012/1.461, allocations: 52.38 kB / 0.6852 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.08215/1.543, allocations: 24.48 MB / 0.7092 GB, free: 142 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/1.544, allocations: 88.03 kB / 0.7092 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003041/1.544, allocations: 188 kB / 0.7094 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0254/1.569, allocations: 5.384 MB / 0.7147 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/1.582, allocations: 2.082 MB / 0.7167 GB, free: 134.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07229/1.654, allocations: 36.02 MB / 0.7519 GB, free: 97.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01691/1.671, allocations: 0.6165 MB / 0.7525 GB, free: 96.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002891/1.674, allocations: 0.5234 MB / 0.753 GB, free: 96.19 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.01142/1.686, allocations: 3.404 MB / 0.7563 GB, free: 92.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/1.687, allocations: 0.5283 MB / 0.7568 GB, free: 92.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06286/1.75, allocations: 17.67 MB / 0.7741 GB, free: 74.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.22e-05/1.75, allocations: 44 kB / 0.7741 GB, free: 74.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.326e-05/1.75, allocations: 8 kB / 0.7741 GB, free: 74.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-05/1.751, allocations: 19.94 kB / 0.7742 GB, free: 74.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07861/1.829, allocations: 28.52 MB / 0.802 GB, free: 45.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/1.829, allocations: 0 / 0.802 GB, free: 45.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003317/1.833, allocations: 0.5265 MB / 0.8025 GB, free: 45.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01458/1.847, allocations: 5.142 MB / 0.8076 GB, free: 39.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008726/1.848, allocations: 59.98 kB / 0.8076 GB, free: 39.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2786/2.127, allocations: 35.53 MB / 0.8423 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.127, allocations: 3 kB / 0.8423 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06631/2.193, allocations: 22.66 MB / 0.8644 GB, free: 167.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/2.197, allocations: 1.202 MB / 0.8656 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001294/2.198, allocations: 47.72 kB / 0.8657 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003743/2.202, allocations: 306.4 kB / 0.8659 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009387/2.203, allocations: 183.6 kB / 0.8661 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002694/2.203, allocations: 83.83 kB / 0.8662 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005266/2.209, allocations: 3.638 MB / 0.8698 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/2.209, allocations: 0 / 0.8698 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0105/2.219, allocations: 1.908 MB / 0.8716 GB, free: 165.3 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.00101/2.22, allocations: 265 kB / 0.8719 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02147/2.242, allocations: 11.53 MB / 0.8831 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/2.242, allocations: 0 / 0.8831 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01158/2.253, allocations: 5.301 MB / 0.8883 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/2.259, allocations: 0.8391 MB / 0.8891 GB, free: 149 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/2.287, allocations: 17.13 MB / 0.9059 GB, free: 131.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006346/2.293, allocations: 5.192 MB / 0.9109 GB, free: 126.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006626/2.3, allocations: 2.783 MB / 0.9136 GB, free: 123.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/2.301, allocations: 363.4 kB / 0.914 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.184e-06/2.301, allocations: 0 / 0.914 GB, free: 123.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1293/2.43, allocations: 88.99 MB / 1.001 GB, free: 34.46 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)