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.006643/0.006642, allocations: 95.97 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.001303/0.001303, allocations: 197.2 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.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001185/0.001185, allocations: 55.92 kB / 326.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1031, allocations: 46.61 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.2372/0.3403, allocations: 20.34 MB / 393.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02074/0.3611, allocations: 6.379 MB / 399.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00737/0.3686, allocations: 150.9 kB / 400 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01377/0.3824, allocations: 6.233 MB / 406.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.3936, allocations: 2.856 MB / 409.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006906/0.4005, allocations: 2.567 MB / 411.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01397/0.4145, allocations: 7.072 MB / 418.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.4271, allocations: 8.395 MB / 427.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008831/0.436, allocations: 2.983 MB / 430.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.4465, allocations: 3.883 MB / 434 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003569/0.4502, allocations: 0.6953 MB / 434.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006701/0.4569, allocations: 1.974 MB / 436.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005787/0.4627, allocations: 3.628 MB / 440.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008939/0.4717, allocations: 4.122 MB / 444.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02138/0.4931, allocations: 13.2 MB / 457.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.4931, allocations: 0 / 457.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4931, allocations: 0 / 457.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005521/0.4937, allocations: 0 / 457.6 MB, free: 10.78 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.03447/0.5282, allocations: 8.73 MB / 466.4 MB, free: 1.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.5283, allocations: 12.03 kB / 466.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.54, allocations: 2.62 MB / 469 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.5525, allocations: 4.456 MB / 473.5 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000524/0.5531, allocations: 467.9 kB / 473.9 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003961/0.5571, allocations: 0.691 MB / 474.6 MB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05119/0.6083, allocations: 18.28 MB / 492.9 MB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/0.6086, allocations: 59.52 kB / 492.9 MB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/0.6104, allocations: 275.8 kB / 493.2 MB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005289/0.6157, allocations: 3.038 MB / 496.3 MB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03795/0.6536, allocations: 15.2 MB / 0.4995 GB, free: 3.777 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.627/1.281, allocations: 66.81 MB / 0.5647 GB, free: 108.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02606/1.307, allocations: 7.919 MB / 0.5724 GB, free: 107.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005732/1.313, allocations: 3.587 MB / 0.5759 GB, free: 107.4 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.029/1.342, allocations: 14.99 MB / 0.5906 GB, free: 99.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.342, allocations: 66.5 kB / 0.5906 GB, free: 99.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 6.172e-06/1.342, allocations: 0 / 0.5906 GB, free: 99.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.1892/1.531, allocations: 55.32 MB / 0.6447 GB, free: 55.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/1.531, allocations: 162.5 kB / 0.6448 GB, free: 55.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008227/1.539, allocations: 5.87 MB / 0.6506 GB, free: 49.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009324/1.54, allocations: 69.7 kB / 0.6506 GB, free: 49.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002743/1.543, allocations: 5.18 MB / 0.6557 GB, free: 45.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/1.545, allocations: 1.248 MB / 0.6569 GB, free: 43.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00244/1.547, allocations: 1.842 MB / 0.6587 GB, free: 41.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.864e-05/1.547, allocations: 305.1 kB / 0.659 GB, free: 41.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/1.552, allocations: 4.145 MB / 0.663 GB, free: 37.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007618/1.56, allocations: 9.426 MB / 0.6722 GB, free: 25.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/1.575, allocations: 14.56 MB / 0.6865 GB, free: 8.496 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/1.575, allocations: 56 kB / 0.6865 GB, free: 8.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07661/1.651, allocations: 24.51 MB / 0.7105 GB, free: 15.8 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/1.652, allocations: 84 kB / 0.7105 GB, free: 15.72 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003424/1.652, allocations: 184.9 kB / 0.7107 GB, free: 15.54 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01803/1.67, allocations: 5.374 MB / 0.716 GB, free: 10.15 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008744/1.679, allocations: 2.078 MB / 0.718 GB, free: 8.07 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3025/1.981, allocations: 36.05 MB / 0.7532 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/1.992, allocations: 0.6216 MB / 0.7538 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002286/1.994, allocations: 0.5197 MB / 0.7543 GB, free: 162.4 MB / 0.5138 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.008372/2.002, allocations: 3.4 MB / 0.7576 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/2.004, allocations: 0.5594 MB / 0.7582 GB, free: 161.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06264/2.067, allocations: 17.68 MB / 0.7754 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/2.067, allocations: 41.75 kB / 0.7755 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-05/2.067, allocations: 10.5 kB / 0.7755 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/2.067, allocations: 21.41 kB / 0.7755 GB, free: 157 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07588/2.143, allocations: 28.51 MB / 0.8034 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/2.143, allocations: 0 / 0.8034 GB, free: 143.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/2.146, allocations: 0.5257 MB / 0.8039 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01362/2.16, allocations: 5.142 MB / 0.8089 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009325/2.161, allocations: 59.98 kB / 0.8089 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03979/2.201, allocations: 35.55 MB / 0.8437 GB, free: 101.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.201, allocations: 0 / 0.8437 GB, free: 101.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06251/2.263, allocations: 22.69 MB / 0.8658 GB, free: 78.97 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004496/2.268, allocations: 1.221 MB / 0.867 GB, free: 77.85 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/2.269, allocations: 59.89 kB / 0.8671 GB, free: 77.79 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004153/2.274, allocations: 303.5 kB / 0.8674 GB, free: 77.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/2.275, allocations: 185.8 kB / 0.8675 GB, free: 77.31 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/2.275, allocations: 83.58 kB / 0.8676 GB, free: 77.23 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006303/2.281, allocations: 3.64 MB / 0.8712 GB, free: 73.59 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.01e-07/2.281, allocations: 0 / 0.8712 GB, free: 73.59 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01101/2.292, allocations: 1.916 MB / 0.873 GB, free: 71.7 MB / 0.5138 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.001089/2.293, allocations: 257.1 kB / 0.8733 GB, free: 71.46 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02017/2.314, allocations: 11.53 MB / 0.8846 GB, free: 59.91 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/2.314, allocations: 4.125 kB / 0.8846 GB, free: 59.91 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/2.325, allocations: 5.299 MB / 0.8897 GB, free: 54.52 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007075/2.332, allocations: 0.8283 MB / 0.8905 GB, free: 53.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/2.366, allocations: 17.4 MB / 0.9075 GB, free: 36.26 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009921/2.376, allocations: 5.185 MB / 0.9126 GB, free: 31.04 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006654/2.383, allocations: 2.795 MB / 0.9153 GB, free: 28.23 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/2.384, allocations: 351.4 kB / 0.9157 GB, free: 27.89 MB / 0.5138 GB Notification: Performance of SimCode: time 9.52e-07/2.384, allocations: 0 / 0.9157 GB, free: 27.89 MB / 0.5138 GB Notification: Performance of Templates: time 0.3847/2.769, allocations: 89.01 MB / 1.003 GB, free: 123.7 MB / 0.5138 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)