Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006823/0.006823, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001655/0.001655, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.482/1.482, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001336/0.001336, allocations: 59.92 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1225, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.2975/0.42, allocations: 20.35 MB / 393.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02051/0.4406, allocations: 6.377 MB / 399.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008477/0.4492, allocations: 154 kB / 400 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01639/0.4656, allocations: 6.232 MB / 406.3 MB, free: 9.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.4799, allocations: 2.858 MB / 409.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008021/0.488, allocations: 2.567 MB / 411.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01574/0.5037, allocations: 7.068 MB / 418.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/0.5192, allocations: 8.403 MB / 427.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007586/0.5268, allocations: 2.983 MB / 430.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00865/0.5355, allocations: 3.879 MB / 434 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00369/0.5393, allocations: 0.6953 MB / 434.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007191/0.5465, allocations: 1.978 MB / 436.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006395/0.5529, allocations: 3.628 MB / 440.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009756/0.5627, allocations: 4.118 MB / 444.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02186/0.5846, allocations: 13.15 MB / 457.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.5847, allocations: 0 / 457.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5847, allocations: 0 / 457.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000633/0.5853, allocations: 0 / 457.6 MB, free: 10.85 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.03151/0.6168, allocations: 8.521 MB / 466.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/0.6169, allocations: 11.97 kB / 466.1 MB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.6288, allocations: 2.568 MB / 468.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.6406, allocations: 4.427 MB / 473.1 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005861/0.6412, allocations: 467.9 kB / 473.6 MB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003546/0.6448, allocations: 0.6948 MB / 474.3 MB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04365/0.6884, allocations: 18.27 MB / 492.5 MB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002762/0.6888, allocations: 55.47 kB / 492.6 MB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001297/0.6901, allocations: 287.8 kB / 492.9 MB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00461/0.6947, allocations: 3.03 MB / 495.9 MB, free: 3.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/0.7297, allocations: 15.2 MB / 0.4991 GB, free: 4.145 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.5848/1.315, allocations: 66.68 MB / 0.5643 GB, free: 108.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0264/1.341, allocations: 7.927 MB / 0.572 GB, free: 108.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006515/1.348, allocations: 3.585 MB / 0.5755 GB, free: 107.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0269/1.374, allocations: 14.96 MB / 0.5901 GB, free: 100.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/1.375, allocations: 76.45 kB / 0.5902 GB, free: 100.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 5.781e-06/1.375, allocations: 0 / 0.5902 GB, free: 100.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.1925/1.567, allocations: 54.92 MB / 0.6438 GB, free: 56.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.567, allocations: 170 kB / 0.644 GB, free: 56.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008683/1.576, allocations: 5.855 MB / 0.6497 GB, free: 50.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.577, allocations: 69.7 kB / 0.6498 GB, free: 50.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002912/1.58, allocations: 4.988 MB / 0.6546 GB, free: 45.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/1.582, allocations: 1.192 MB / 0.6558 GB, free: 43.92 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002717/1.584, allocations: 1.825 MB / 0.6576 GB, free: 42.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.793e-05/1.585, allocations: 305.1 kB / 0.6579 GB, free: 41.78 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005762/1.59, allocations: 4.145 MB / 0.6619 GB, free: 37.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008716/1.599, allocations: 9.434 MB / 0.6711 GB, free: 25.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/1.614, allocations: 14.55 MB / 0.6853 GB, free: 8.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/1.614, allocations: 52 kB / 0.6854 GB, free: 8.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07645/1.691, allocations: 24.48 MB / 0.7093 GB, free: 15.95 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.691, allocations: 84 kB / 0.7094 GB, free: 15.87 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/1.691, allocations: 184.9 kB / 0.7095 GB, free: 15.69 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01611/1.707, allocations: 5.38 MB / 0.7148 GB, free: 10.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0078/1.715, allocations: 2.082 MB / 0.7168 GB, free: 8.211 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05165/1.767, allocations: 36.04 MB / 0.752 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/1.779, allocations: 0.6162 MB / 0.7526 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/1.782, allocations: 0.5273 MB / 0.7531 GB, free: 2.082 MB / 0.5294 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.2959/2.078, allocations: 3.393 MB / 0.7565 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/2.079, allocations: 0.531 MB / 0.757 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06634/2.146, allocations: 17.68 MB / 0.7742 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/2.146, allocations: 37.19 kB / 0.7743 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.071e-05/2.146, allocations: 12.16 kB / 0.7743 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.8e-05/2.146, allocations: 19.09 kB / 0.7743 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07971/2.226, allocations: 28.52 MB / 0.8022 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-05/2.226, allocations: 6.719 kB / 0.8022 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003275/2.229, allocations: 0.5162 MB / 0.8027 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01432/2.243, allocations: 5.141 MB / 0.8077 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008879/2.244, allocations: 55.98 kB / 0.8077 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04081/2.285, allocations: 35.54 MB / 0.8424 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.285, allocations: 4.031 kB / 0.8424 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06447/2.35, allocations: 22.66 MB / 0.8646 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00338/2.353, allocations: 1.203 MB / 0.8658 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001916/2.355, allocations: 48 kB / 0.8658 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004616/2.36, allocations: 306.7 kB / 0.8661 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001461/2.361, allocations: 193.7 kB / 0.8663 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006268/2.362, allocations: 83.92 kB / 0.8664 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006701/2.368, allocations: 3.64 MB / 0.8699 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/2.369, allocations: 0 / 0.8699 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01062/2.379, allocations: 1.906 MB / 0.8718 GB, free: 103.9 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.001051/2.38, allocations: 263.6 kB / 0.872 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02145/2.402, allocations: 11.51 MB / 0.8833 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/2.402, allocations: 3.938 kB / 0.8833 GB, free: 92.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/2.414, allocations: 5.304 MB / 0.8884 GB, free: 86.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00735/2.422, allocations: 0.8357 MB / 0.8893 GB, free: 85.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/2.452, allocations: 17.13 MB / 0.906 GB, free: 68.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009181/2.461, allocations: 5.177 MB / 0.9111 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008823/2.47, allocations: 2.799 MB / 0.9138 GB, free: 60.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/2.472, allocations: 351.4 kB / 0.9141 GB, free: 60.33 MB / 0.5294 GB Notification: Performance of SimCode: time 1.292e-06/2.472, allocations: 0 / 0.9141 GB, free: 60.33 MB / 0.5294 GB Notification: Performance of Templates: time 0.4273/2.899, allocations: 89 MB / 1.001 GB, free: 162.6 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)