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.001007/0.001007, allocations: 91.08 kB / 16.65 MB, free: 6.602 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.001226/0.001226, allocations: 173.3 kB / 17.56 MB, free: 6.203 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.579/1.579, allocations: 205.4 MB / 223.7 MB, free: 13 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.0005143/0.0005144, allocations: 8 kB / 280.7 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.2998/0.4104, allocations: 88.04 MB / 416.4 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04448/0.4549, allocations: 17.93 MB / 434.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02622/0.4812, allocations: 406.8 kB / 434.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.4851, allocations: 0.7395 MB / 435.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.4952, allocations: 2.613 MB / 438 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.4991, allocations: 1.178 MB / 439.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01455/0.5136, allocations: 10.3 MB / 449.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01794/0.5316, allocations: 11.07 MB / 460.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.5368, allocations: 2.054 MB / 462.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007362/0.5442, allocations: 3.34 MB / 466 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001979/0.5462, allocations: 256 kB / 466.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005409/0.5517, allocations: 1.634 MB / 467.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005033/0.5567, allocations: 3.042 MB / 470.9 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006289/0.563, allocations: 3.491 MB / 474.4 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.5814, allocations: 12.18 MB / 486.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.5815, allocations: 0 / 486.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.981e-06/0.5815, allocations: 0 / 486.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008054/0.5823, allocations: 0 / 486.6 MB, free: 7.953 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.02042/0.6028, allocations: 6.902 MB / 493.5 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6028, allocations: 8.031 kB / 493.5 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.6132, allocations: 2.627 MB / 496.1 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00947/0.6227, allocations: 4.325 MB / 0.4887 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/0.6231, allocations: 467.9 kB / 0.4892 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/0.6261, allocations: 0.6948 MB / 0.4898 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0422/0.6684, allocations: 18.32 MB / 0.5077 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002722/0.6687, allocations: 71.36 kB / 0.5078 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.6699, allocations: 279.8 kB / 0.5081 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004897/0.6748, allocations: 3.027 MB / 0.511 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03705/0.7119, allocations: 15.25 MB / 0.5259 GB, free: 2.82 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.3318/1.044, allocations: 67.01 MB / 0.5913 GB, free: 119.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02283/1.067, allocations: 7.989 MB / 0.5992 GB, free: 116 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/1.071, allocations: 3.584 MB / 0.6027 GB, free: 114.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01965/1.091, allocations: 14.98 MB / 0.6173 GB, free: 101.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.091, allocations: 60.56 kB / 0.6173 GB, free: 101.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=268): time 5.841e-06/1.091, allocations: 0 / 0.6173 GB, free: 101.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=314): time 0.1886/1.28, allocations: 54.82 MB / 0.6709 GB, free: 46.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/1.28, allocations: 160 kB / 0.671 GB, free: 46.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008327/1.288, allocations: 5.867 MB / 0.6768 GB, free: 40.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008805/1.289, allocations: 73.3 kB / 0.6768 GB, free: 40.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002938/1.292, allocations: 4.985 MB / 0.6817 GB, free: 35.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00167/1.294, allocations: 1.186 MB / 0.6828 GB, free: 34.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.295, allocations: 0.7721 MB / 0.6836 GB, free: 33.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/1.295, allocations: 305.1 kB / 0.6839 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006092/1.301, allocations: 4.145 MB / 0.6879 GB, free: 29.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008676/1.31, allocations: 9.426 MB / 0.6971 GB, free: 17.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/1.324, allocations: 14.56 MB / 0.7114 GB, free: 80 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.324, allocations: 56 kB / 0.7114 GB, free: 24 kB / 446.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.3129/1.637, allocations: 24.48 MB / 0.7353 GB, free: 142.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/1.637, allocations: 81.59 kB / 0.7354 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/1.637, allocations: 186.2 kB / 0.7356 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/1.653, allocations: 5.377 MB / 0.7408 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007239/1.66, allocations: 2.087 MB / 0.7429 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04078/1.701, allocations: 33.32 MB / 0.7754 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009666/1.711, allocations: 0.6107 MB / 0.776 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00234/1.713, allocations: 0.5237 MB / 0.7765 GB, free: 105.1 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.008869/1.722, allocations: 3.394 MB / 0.7798 GB, free: 101.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.724, allocations: 0.5319 MB / 0.7803 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06019/1.784, allocations: 17.68 MB / 0.7976 GB, free: 83.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.922e-05/1.784, allocations: 40 kB / 0.7977 GB, free: 83.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.175e-05/1.784, allocations: 11.94 kB / 0.7977 GB, free: 83.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.592e-05/1.784, allocations: 15.95 kB / 0.7977 GB, free: 83.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07806/1.862, allocations: 28.58 MB / 0.8256 GB, free: 54.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-05/1.862, allocations: 4 kB / 0.8256 GB, free: 54.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/1.865, allocations: 0.5226 MB / 0.8261 GB, free: 54.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0144/1.88, allocations: 5.138 MB / 0.8311 GB, free: 49.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008019/1.881, allocations: 60.77 kB / 0.8312 GB, free: 49.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04006/1.921, allocations: 32.82 MB / 0.8632 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.921, allocations: 192 / 0.8632 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3151/2.236, allocations: 22.65 MB / 0.8853 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005123/2.241, allocations: 1.207 MB / 0.8865 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001717/2.243, allocations: 53.02 kB / 0.8866 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/2.247, allocations: 306.2 kB / 0.8869 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009405/2.248, allocations: 187.5 kB / 0.887 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/2.248, allocations: 84.12 kB / 0.8871 GB, free: 134.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006387/2.255, allocations: 3.634 MB / 0.8907 GB, free: 133.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.002e-06/2.255, allocations: 1.375 kB / 0.8907 GB, free: 133.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009675/2.264, allocations: 1.91 MB / 0.8925 GB, free: 133.5 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.001242/2.266, allocations: 269.4 kB / 0.8928 GB, free: 133.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02212/2.288, allocations: 11.47 MB / 0.904 GB, free: 128.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/2.288, allocations: 0 / 0.904 GB, free: 128.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01192/2.3, allocations: 5.287 MB / 0.9092 GB, free: 126.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00696/2.307, allocations: 0.7799 MB / 0.9099 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/2.341, allocations: 20.99 MB / 0.9304 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006268/2.347, allocations: 5.187 MB / 0.9355 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007118/2.354, allocations: 2.791 MB / 0.9382 GB, free: 99.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/2.355, allocations: 355.4 kB / 0.9386 GB, free: 99.18 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/2.355, allocations: 0 / 0.9386 GB, free: 99.18 MB / 446.1 MB Notification: Performance of Templates: time 0.1345/2.49, allocations: 89.65 MB / 1.026 GB, free: 9.363 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)