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.00611/0.00611, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001211/0.001211, allocations: 187.3 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.582/1.582, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.00121/0.00121, allocations: 46.69 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1165, allocations: 46.63 MB / 373.2 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02146/0.138, allocations: 20.34 MB / 393.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.1541, allocations: 6.37 MB / 399.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005149/0.1594, allocations: 151.6 kB / 400 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.1709, allocations: 6.238 MB / 406.3 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.1821, allocations: 2.855 MB / 409.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006354/0.1884, allocations: 2.565 MB / 411.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01249/0.201, allocations: 7.088 MB / 418.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.2125, allocations: 8.392 MB / 427.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007251/0.2199, allocations: 2.98 MB / 430.1 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009262/0.2292, allocations: 3.887 MB / 434 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003296/0.2325, allocations: 0.6992 MB / 434.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/0.2379, allocations: 1.974 MB / 436.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005775/0.2437, allocations: 3.628 MB / 440.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01088/0.2546, allocations: 4.118 MB / 444.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3406/0.5953, allocations: 13.15 MB / 457.6 MB, free: 25.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.5954, allocations: 3.75 kB / 457.6 MB, free: 25.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5954, allocations: 1.188 kB / 457.6 MB, free: 25.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000762/0.5961, allocations: 0 / 457.6 MB, free: 25.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.03887/0.635, allocations: 8.51 MB / 466.1 MB, free: 22.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.6351, allocations: 9.438 kB / 466.1 MB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.6497, allocations: 2.576 MB / 468.7 MB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01515/0.6649, allocations: 4.42 MB / 473.1 MB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007034/0.6657, allocations: 467.6 kB / 473.6 MB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005284/0.671, allocations: 0.6975 MB / 474.3 MB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05355/0.7245, allocations: 18.27 MB / 492.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004191/0.725, allocations: 69.55 kB / 492.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003846/0.7289, allocations: 281.7 kB / 492.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004486/0.7334, allocations: 3.028 MB / 495.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03593/0.7693, allocations: 15.2 MB / 0.4991 GB, free: 15.98 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.1166/0.8859, allocations: 66.7 MB / 0.5643 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02383/0.9098, allocations: 7.92 MB / 0.572 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006785/0.9166, allocations: 3.581 MB / 0.5755 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03312/0.9498, allocations: 14.97 MB / 0.5901 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.68e-05/0.9499, allocations: 63.09 kB / 0.5902 GB, free: 1.516 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 8.136e-06/0.9499, allocations: 4 kB / 0.5902 GB, free: 1.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.4769/1.427, allocations: 54.92 MB / 0.6438 GB, free: 194.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/1.427, allocations: 162.5 kB / 0.644 GB, free: 194.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008685/1.436, allocations: 5.868 MB / 0.6497 GB, free: 193 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008966/1.437, allocations: 73.55 kB / 0.6498 GB, free: 192.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002714/1.439, allocations: 4.984 MB / 0.6546 GB, free: 189.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/1.441, allocations: 1.193 MB / 0.6558 GB, free: 189 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002657/1.444, allocations: 1.825 MB / 0.6576 GB, free: 188.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/1.444, allocations: 301.1 kB / 0.6579 GB, free: 187.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006004/1.45, allocations: 4.149 MB / 0.6619 GB, free: 186.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009228/1.459, allocations: 9.422 MB / 0.6711 GB, free: 177.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/1.474, allocations: 14.56 MB / 0.6853 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000188/1.475, allocations: 54.5 kB / 0.6854 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.06643/1.541, allocations: 24.48 MB / 0.7093 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.541, allocations: 84 kB / 0.7094 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/1.541, allocations: 187 kB / 0.7096 GB, free: 141.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/1.556, allocations: 5.39 MB / 0.7148 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006629/1.562, allocations: 2.078 MB / 0.7168 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03864/1.601, allocations: 36.03 MB / 0.752 GB, free: 97.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00894/1.61, allocations: 0.6124 MB / 0.7526 GB, free: 96.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/1.612, allocations: 0.5235 MB / 0.7531 GB, free: 96.03 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.006058/1.618, allocations: 3.404 MB / 0.7565 GB, free: 92.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.619, allocations: 0.5322 MB / 0.757 GB, free: 92.08 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05286/1.672, allocations: 17.67 MB / 0.7742 GB, free: 74.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/1.672, allocations: 40 kB / 0.7743 GB, free: 74.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/1.672, allocations: 16 kB / 0.7743 GB, free: 74.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001138/1.672, allocations: 15.94 kB / 0.7743 GB, free: 74.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0699/1.742, allocations: 28.53 MB / 0.8022 GB, free: 45.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/1.742, allocations: 8 kB / 0.8022 GB, free: 45.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/1.745, allocations: 0.5188 MB / 0.8027 GB, free: 44.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01365/1.759, allocations: 5.14 MB / 0.8077 GB, free: 39.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/1.76, allocations: 55.98 kB / 0.8078 GB, free: 39.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3176/2.078, allocations: 35.53 MB / 0.8424 GB, free: 173 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.078, allocations: 1.781 kB / 0.8424 GB, free: 173 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06104/2.139, allocations: 22.66 MB / 0.8646 GB, free: 167.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003713/2.142, allocations: 1.2 MB / 0.8657 GB, free: 166.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/2.144, allocations: 57.62 kB / 0.8658 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/2.147, allocations: 302.4 kB / 0.8661 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008842/2.148, allocations: 185 kB / 0.8663 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/2.148, allocations: 86.23 kB / 0.8663 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005351/2.154, allocations: 3.639 MB / 0.8699 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/2.154, allocations: 0 / 0.8699 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01159/2.165, allocations: 1.915 MB / 0.8718 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.001066/2.166, allocations: 264.4 kB / 0.872 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01918/2.186, allocations: 11.52 MB / 0.8833 GB, free: 155 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/2.186, allocations: 4 kB / 0.8833 GB, free: 155 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01038/2.196, allocations: 5.298 MB / 0.8885 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.005814/2.202, allocations: 0.8342 MB / 0.8893 GB, free: 148.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/2.23, allocations: 17.14 MB / 0.906 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005831/2.236, allocations: 5.194 MB / 0.9111 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006349/2.242, allocations: 2.783 MB / 0.9138 GB, free: 123.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009494/2.243, allocations: 359.4 kB / 0.9141 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.924e-06/2.243, allocations: 0 / 0.9141 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.1292/2.373, allocations: 89 MB / 1.001 GB, free: 34.34 MB / 0.5137 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)