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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 196 kB / 16.53 MB, free: 6.699 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.416/1.416, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001248/0.001248, allocations: 55.91 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2596, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02196/0.2816, allocations: 20.34 MB / 345.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.2989, allocations: 6.377 MB / 352 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005077/0.3041, allocations: 151.5 kB / 352.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.3155, allocations: 6.23 MB / 358.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009138/0.3247, allocations: 2.773 MB / 361.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005871/0.3306, allocations: 2.576 MB / 363.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01098/0.3416, allocations: 7.069 MB / 370.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.3546, allocations: 8.4 MB / 379.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005679/0.3603, allocations: 2.987 MB / 382.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.3661, allocations: 3.871 MB / 386.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002344/0.3685, allocations: 0.6992 MB / 386.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.3736, allocations: 1.97 MB / 388.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005462/0.3791, allocations: 3.573 MB / 392.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007975/0.387, allocations: 4.114 MB / 396.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.405, allocations: 12.79 MB / 409.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.4051, allocations: 3.938 kB / 409.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4051, allocations: 0 / 409.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005914/0.4057, allocations: 0 / 409.2 MB, free: 15.66 MB / 350.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.02311/0.4288, allocations: 8.517 MB / 417.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.4289, allocations: 12.03 kB / 417.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009341/0.4382, allocations: 2.568 MB / 420.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009348/0.4476, allocations: 4.329 MB / 424.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/0.4481, allocations: 463.9 kB / 425.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002588/0.4507, allocations: 0.6947 MB / 425.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/0.4873, allocations: 18.27 MB / 444.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.4875, allocations: 59.45 kB / 444.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007557/0.4883, allocations: 283.8 kB / 444.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004305/0.4926, allocations: 3.042 MB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3657/0.8583, allocations: 15.2 MB / 462.7 MB, free: 99.93 MB / 382.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.08133/0.9397, allocations: 67.05 MB / 0.5173 GB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02246/0.9622, allocations: 7.936 MB / 0.525 GB, free: 31.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00421/0.9664, allocations: 3.581 MB / 0.5285 GB, free: 27.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.019/0.9855, allocations: 14.96 MB / 0.5432 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.9855, allocations: 64.44 kB / 0.5432 GB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=268): time 5.591e-06/0.9855, allocations: 0 / 0.5432 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=314): time 0.1951/1.181, allocations: 54.94 MB / 0.5969 GB, free: 5.043 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/1.181, allocations: 162.5 kB / 0.597 GB, free: 4.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2002/1.381, allocations: 5.856 MB / 0.6027 GB, free: 139 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.382, allocations: 71.95 kB / 0.6028 GB, free: 139 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004617/1.387, allocations: 4.985 MB / 0.6077 GB, free: 136.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/1.388, allocations: 1.186 MB / 0.6088 GB, free: 135.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00314/1.392, allocations: 1.832 MB / 0.6106 GB, free: 134.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/1.392, allocations: 301.1 kB / 0.6109 GB, free: 134.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006015/1.398, allocations: 4.149 MB / 0.615 GB, free: 132.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007974/1.406, allocations: 9.427 MB / 0.6242 GB, free: 124.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/1.42, allocations: 14.55 MB / 0.6384 GB, free: 112.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/1.421, allocations: 53.41 kB / 0.6384 GB, free: 112.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07133/1.492, allocations: 24.5 MB / 0.6623 GB, free: 95.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.492, allocations: 84 kB / 0.6624 GB, free: 95.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002186/1.492, allocations: 188 kB / 0.6626 GB, free: 95.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/1.507, allocations: 5.385 MB / 0.6679 GB, free: 90.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007334/1.515, allocations: 2.082 MB / 0.6699 GB, free: 88.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04108/1.556, allocations: 36.06 MB / 0.7051 GB, free: 51.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009427/1.565, allocations: 0.6086 MB / 0.7057 GB, free: 50.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001561/1.567, allocations: 0.5234 MB / 0.7062 GB, free: 49.93 MB / 430.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.006084/1.573, allocations: 3.405 MB / 0.7095 GB, free: 46.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.574, allocations: 0.5283 MB / 0.7101 GB, free: 45.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05999/1.634, allocations: 17.67 MB / 0.7273 GB, free: 28.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-05/1.635, allocations: 44 kB / 0.7274 GB, free: 28.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.543e-05/1.635, allocations: 11.94 kB / 0.7274 GB, free: 28.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.593e-05/1.635, allocations: 24.12 kB / 0.7274 GB, free: 28.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07657/1.711, allocations: 28.57 MB / 0.7553 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/1.711, allocations: 0 / 0.7553 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/1.715, allocations: 0.5226 MB / 0.7558 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2293/1.944, allocations: 5.149 MB / 0.7608 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007722/1.945, allocations: 55.58 kB / 0.7609 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04265/1.987, allocations: 35.55 MB / 0.7956 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.987, allocations: 3.938 kB / 0.7956 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06455/2.052, allocations: 22.66 MB / 0.8177 GB, free: 106.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/2.056, allocations: 1.195 MB / 0.8189 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001469/2.057, allocations: 52.17 kB / 0.8189 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003583/2.061, allocations: 307.3 kB / 0.8192 GB, free: 105.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009495/2.062, allocations: 189.6 kB / 0.8194 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/2.062, allocations: 87.27 kB / 0.8195 GB, free: 105.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005064/2.067, allocations: 3.636 MB / 0.8231 GB, free: 101.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/2.067, allocations: 0 / 0.8231 GB, free: 101.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008881/2.076, allocations: 1.91 MB / 0.8249 GB, free: 99.82 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.0008469/2.077, allocations: 270.5 kB / 0.8252 GB, free: 99.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02568/2.102, allocations: 15.14 MB / 0.84 GB, free: 84.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/2.102, allocations: 0 / 0.84 GB, free: 84.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01119/2.114, allocations: 5.298 MB / 0.8451 GB, free: 79.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006085/2.12, allocations: 0.838 MB / 0.846 GB, free: 78.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/2.151, allocations: 17.33 MB / 0.8629 GB, free: 60.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006388/2.158, allocations: 5.181 MB / 0.8679 GB, free: 55.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006798/2.164, allocations: 2.791 MB / 0.8707 GB, free: 52.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/2.166, allocations: 363.4 kB / 0.871 GB, free: 52.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/2.166, allocations: 0 / 0.871 GB, free: 52.59 MB / 446.1 MB Notification: Performance of Templates: time 0.3535/2.519, allocations: 93.56 MB / 0.9624 GB, free: 114.3 MB / 446.1 MB 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)