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.001791/0.001791, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00201/0.00201, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.593/1.593, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001779/0.001779, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2817, allocations: 46.63 MB / 324.8 MB, free: 1.902 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.08054/0.3622, allocations: 90.2 MB / 415.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04836/0.4107, allocations: 17.89 MB / 432.9 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02637/0.4372, allocations: 406.9 kB / 433.3 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01323/0.4505, allocations: 6.031 MB / 439.4 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.4621, allocations: 2.573 MB / 441.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.4682, allocations: 2.46 MB / 444.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01186/0.4801, allocations: 7.139 MB / 451.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3266/0.8068, allocations: 8.82 MB / 460.4 MB, free: 4.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007803/0.8147, allocations: 3.055 MB / 463.4 MB, free: 4.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009222/0.8239, allocations: 4.265 MB / 467.7 MB, free: 4.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002972/0.8269, allocations: 0.6955 MB / 468.4 MB, free: 4.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005495/0.8324, allocations: 2 MB / 470.4 MB, free: 4.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004916/0.8374, allocations: 3.614 MB / 474 MB, free: 4.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007592/0.845, allocations: 4.145 MB / 478.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.8634, allocations: 12.87 MB / 491 MB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.8634, allocations: 2.625 kB / 491 MB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.8634, allocations: 7.281 kB / 491 MB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006392/0.8641, allocations: 0 / 491 MB, free: 384 kB / 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.02916/0.8932, allocations: 8.515 MB / 499.5 MB, free: 12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.8933, allocations: 8.844 kB / 499.5 MB, free: 12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.9042, allocations: 2.569 MB / 0.4903 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.9147, allocations: 4.322 MB / 0.4946 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.9151, allocations: 463.2 kB / 0.495 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003803/0.9189, allocations: 0.6992 MB / 0.4957 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04676/0.9657, allocations: 18.27 MB / 0.5135 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003243/0.966, allocations: 70.73 kB / 0.5136 GB, free: 9.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002708/0.9688, allocations: 283.7 kB / 0.5139 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004951/0.9737, allocations: 3.031 MB / 0.5168 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03717/1.011, allocations: 15.2 MB / 0.5317 GB, free: 6.898 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.1114/1.122, allocations: 67.05 MB / 0.5971 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02351/1.146, allocations: 7.94 MB / 0.6049 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005171/1.151, allocations: 3.585 MB / 0.6084 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02274/1.174, allocations: 14.95 MB / 0.623 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/1.174, allocations: 60.56 kB / 0.6231 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=268): time 7.013e-06/1.174, allocations: 0 / 0.6231 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=314): time 0.417/1.591, allocations: 54.95 MB / 0.6767 GB, free: 215.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/1.591, allocations: 166.5 kB / 0.6769 GB, free: 215.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008433/1.6, allocations: 5.861 MB / 0.6826 GB, free: 209.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009429/1.601, allocations: 71.73 kB / 0.6827 GB, free: 209.3 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00278/1.603, allocations: 4.987 MB / 0.6875 GB, free: 204.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/1.605, allocations: 1.186 MB / 0.6887 GB, free: 203.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002827/1.608, allocations: 1.827 MB / 0.6905 GB, free: 201.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/1.608, allocations: 301.1 kB / 0.6908 GB, free: 201 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005369/1.614, allocations: 4.148 MB / 0.6948 GB, free: 196.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007748/1.621, allocations: 9.425 MB / 0.704 GB, free: 184.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/1.636, allocations: 14.55 MB / 0.7182 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000189/1.636, allocations: 52 kB / 0.7183 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07345/1.71, allocations: 24.49 MB / 0.7422 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002671/1.71, allocations: 84.97 kB / 0.7423 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003254/1.71, allocations: 184 kB / 0.7425 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01467/1.725, allocations: 5.395 MB / 0.7477 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008489/1.734, allocations: 2.079 MB / 0.7498 GB, free: 135.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04499/1.779, allocations: 36.06 MB / 0.785 GB, free: 98.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/1.789, allocations: 0.6162 MB / 0.7856 GB, free: 97.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002671/1.792, allocations: 0.5253 MB / 0.7861 GB, free: 97.04 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.01027/1.802, allocations: 3.399 MB / 0.7894 GB, free: 93.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/1.805, allocations: 0.5283 MB / 0.7899 GB, free: 93.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05979/1.865, allocations: 17.67 MB / 0.8072 GB, free: 75.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.459e-05/1.865, allocations: 47.98 kB / 0.8072 GB, free: 75.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.724e-05/1.865, allocations: 12 kB / 0.8072 GB, free: 75.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.946e-05/1.865, allocations: 15.89 kB / 0.8072 GB, free: 75.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07528/1.941, allocations: 28.59 MB / 0.8352 GB, free: 46.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.204e-05/1.941, allocations: 3.938 kB / 0.8352 GB, free: 46.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/1.944, allocations: 0.5227 MB / 0.8357 GB, free: 45.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01383/1.958, allocations: 5.151 MB / 0.8407 GB, free: 40.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/1.959, allocations: 59.98 kB / 0.8408 GB, free: 40.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3062/2.265, allocations: 35.55 MB / 0.8755 GB, free: 209.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/2.265, allocations: 4.969 kB / 0.8755 GB, free: 209.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06386/2.329, allocations: 22.66 MB / 0.8976 GB, free: 205.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00417/2.333, allocations: 1.192 MB / 0.8988 GB, free: 204.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/2.335, allocations: 59.45 kB / 0.8988 GB, free: 204.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003803/2.339, allocations: 298 kB / 0.8991 GB, free: 204.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000934/2.34, allocations: 193.4 kB / 0.8993 GB, free: 204.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003494/2.34, allocations: 78.39 kB / 0.8994 GB, free: 204.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006009/2.346, allocations: 3.64 MB / 0.9029 GB, free: 203.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/2.346, allocations: 0 / 0.9029 GB, free: 203.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01103/2.357, allocations: 1.906 MB / 0.9048 GB, free: 203.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.001234/2.358, allocations: 265.1 kB / 0.905 GB, free: 203.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02882/2.387, allocations: 15.15 MB / 0.9198 GB, free: 192.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.387, allocations: 0 / 0.9198 GB, free: 192.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01157/2.399, allocations: 5.296 MB / 0.925 GB, free: 188.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00592/2.405, allocations: 0.8415 MB / 0.9258 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/2.444, allocations: 20.84 MB / 0.9462 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009012/2.453, allocations: 5.185 MB / 0.9512 GB, free: 162.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008552/2.461, allocations: 2.795 MB / 0.954 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/2.463, allocations: 355.4 kB / 0.9543 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.543e-06/2.463, allocations: 0 / 0.9543 GB, free: 159.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.139/2.602, allocations: 94.29 MB / 1.046 GB, free: 65.12 MB / 0.5137 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)