Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001551/0.001551, allocations: 104.2 kB / 16.62 MB, free: 6.812 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.001589/0.001589, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.571/1.571, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001216/0.001216, allocations: 59.92 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1149, allocations: 46.62 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.3028/0.4178, allocations: 90.19 MB / 416.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04775/0.4656, allocations: 17.9 MB / 434.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.027/0.4927, allocations: 411.2 kB / 434.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.5041, allocations: 6.018 MB / 440.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008858/0.513, allocations: 2.58 MB / 443.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.5189, allocations: 2.46 MB / 445.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.53, allocations: 7.129 MB / 452.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.5411, allocations: 8.847 MB / 461.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005985/0.5471, allocations: 3.053 MB / 464.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/0.5538, allocations: 4.261 MB / 469 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.5561, allocations: 0.6992 MB / 469.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005052/0.5612, allocations: 1.994 MB / 471.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004979/0.5662, allocations: 3.616 MB / 475.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007991/0.5742, allocations: 4.153 MB / 479.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01916/0.5934, allocations: 12.86 MB / 492.3 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5935, allocations: 3.938 kB / 492.3 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5935, allocations: 0 / 492.3 MB, free: 15.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006301/0.5941, allocations: 4 kB / 492.3 MB, free: 15.66 MB / 398.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.03039/0.6245, allocations: 8.52 MB / 0.4891 GB, free: 7.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.6246, allocations: 8.031 kB / 0.4891 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.6365, allocations: 2.576 MB / 0.4916 GB, free: 4.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.6477, allocations: 4.325 MB / 0.4958 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005138/0.6483, allocations: 459.9 kB / 0.4963 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/0.6515, allocations: 0.7025 MB / 0.497 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04293/0.6945, allocations: 18.27 MB / 0.5148 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005384/0.6951, allocations: 59.44 kB / 0.5149 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003441/0.6986, allocations: 287.7 kB / 0.5151 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005325/0.7039, allocations: 3.027 MB / 0.5181 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03877/0.7427, allocations: 15.21 MB / 0.5329 GB, free: 9.047 MB / 446.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.4582/1.201, allocations: 67.04 MB / 0.5984 GB, free: 116.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02167/1.223, allocations: 7.939 MB / 0.6062 GB, free: 111.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004511/1.227, allocations: 3.581 MB / 0.6097 GB, free: 107.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02493/1.252, allocations: 14.96 MB / 0.6243 GB, free: 92.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/1.252, allocations: 60.5 kB / 0.6243 GB, free: 92.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=268): time 6.573e-06/1.252, allocations: 0 / 0.6243 GB, free: 92.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=314): time 0.1828/1.435, allocations: 54.95 MB / 0.678 GB, free: 36.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/1.435, allocations: 162.5 kB / 0.6781 GB, free: 36.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007339/1.443, allocations: 5.863 MB / 0.6839 GB, free: 30.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008305/1.443, allocations: 73.7 kB / 0.6839 GB, free: 30.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00269/1.446, allocations: 4.981 MB / 0.6888 GB, free: 25.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001714/1.448, allocations: 1.185 MB / 0.69 GB, free: 24.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00255/1.45, allocations: 1.829 MB / 0.6917 GB, free: 22.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/1.451, allocations: 309.1 kB / 0.692 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004977/1.456, allocations: 4.141 MB / 0.6961 GB, free: 18.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00759/1.463, allocations: 9.429 MB / 0.7053 GB, free: 6.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2601/1.723, allocations: 14.55 MB / 0.7195 GB, free: 136.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001953/1.723, allocations: 52.19 kB / 0.7195 GB, free: 136.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07142/1.795, allocations: 24.49 MB / 0.7435 GB, free: 130.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.795, allocations: 85 kB / 0.7435 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/1.795, allocations: 183.1 kB / 0.7437 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01378/1.809, allocations: 5.385 MB / 0.749 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006853/1.816, allocations: 2.079 MB / 0.751 GB, free: 127.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03863/1.855, allocations: 36.05 MB / 0.7862 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009314/1.864, allocations: 0.616 MB / 0.7868 GB, free: 90.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/1.866, allocations: 0.5236 MB / 0.7873 GB, free: 89.61 MB / 446.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 (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.005259/1.871, allocations: 3.403 MB / 0.7906 GB, free: 86.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.872, allocations: 0.5274 MB / 0.7912 GB, free: 86.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05235/1.924, allocations: 17.68 MB / 0.8084 GB, free: 68.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.078e-05/1.925, allocations: 47.98 kB / 0.8085 GB, free: 68.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.384e-05/1.925, allocations: 8 kB / 0.8085 GB, free: 68.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.603e-05/1.925, allocations: 15.95 kB / 0.8085 GB, free: 68.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06873/1.993, allocations: 28.58 MB / 0.8364 GB, free: 39.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/1.993, allocations: 4 kB / 0.8364 GB, free: 39.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/1.996, allocations: 0.5211 MB / 0.8369 GB, free: 38.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01336/2.01, allocations: 5.169 MB / 0.842 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000827/2.011, allocations: 59.92 kB / 0.842 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2726/2.283, allocations: 35.53 MB / 0.8767 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.283, allocations: 3.188 kB / 0.8767 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06368/2.347, allocations: 22.65 MB / 0.8989 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/2.351, allocations: 1.2 MB / 0.9 GB, free: 129.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/2.352, allocations: 56.95 kB / 0.9001 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/2.356, allocations: 305.1 kB / 0.9004 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009927/2.357, allocations: 191.6 kB / 0.9006 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003227/2.357, allocations: 81.2 kB / 0.9006 GB, free: 129.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006099/2.363, allocations: 3.638 MB / 0.9042 GB, free: 128.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/2.363, allocations: 0 / 0.9042 GB, free: 128.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009774/2.373, allocations: 1.905 MB / 0.906 GB, free: 128.2 MB / 446.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 (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.001152/2.374, allocations: 262.3 kB / 0.9063 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02587/2.4, allocations: 15.14 MB / 0.9211 GB, free: 117.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/2.4, allocations: 0 / 0.9211 GB, free: 117.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01047/2.41, allocations: 5.296 MB / 0.9263 GB, free: 111.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00517/2.416, allocations: 0.8483 MB / 0.9271 GB, free: 111.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/2.445, allocations: 20.83 MB / 0.9474 GB, free: 90.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00631/2.451, allocations: 5.2 MB / 0.9525 GB, free: 85.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006807/2.458, allocations: 2.787 MB / 0.9552 GB, free: 82.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/2.459, allocations: 351.4 kB / 0.9556 GB, free: 82.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/2.459, allocations: 2.953 kB / 0.9556 GB, free: 82.25 MB / 446.1 MB Notification: Performance of Templates: time 0.3413/2.801, allocations: 94.29 MB / 1.048 GB, free: 128.1 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)