Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007274/0.007274, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001424/0.001424, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.537/1.537, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001104/0.001104, allocations: 53.58 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1084, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.022/0.1304, allocations: 20.33 MB / 393.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.1472, allocations: 6.377 MB / 399.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00611/0.1534, allocations: 155.5 kB / 400 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.1663, allocations: 6.23 MB / 406.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.1764, allocations: 2.777 MB / 409 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006372/0.1828, allocations: 2.561 MB / 411.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.1966, allocations: 7.081 MB / 418.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01415/0.2108, allocations: 8.384 MB / 427.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006478/0.2174, allocations: 2.999 MB / 430.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007114/0.2245, allocations: 3.871 MB / 433.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002562/0.2271, allocations: 0.6953 MB / 434.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006117/0.2332, allocations: 1.97 MB / 436.6 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007027/0.2403, allocations: 3.573 MB / 440.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009406/0.2498, allocations: 4.122 MB / 444.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3467/0.5965, allocations: 13.2 MB / 457.5 MB, free: 26.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5966, allocations: 1.203 kB / 457.5 MB, free: 26.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5966, allocations: 0 / 457.5 MB, free: 26.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000587/0.5972, allocations: 0 / 457.5 MB, free: 26.18 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.03187/0.6291, allocations: 8.731 MB / 466.2 MB, free: 22.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6291, allocations: 9.438 kB / 466.2 MB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/0.6427, allocations: 2.621 MB / 468.9 MB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.6564, allocations: 4.446 MB / 473.3 MB, free: 21.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005207/0.6569, allocations: 461.4 kB / 473.8 MB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004559/0.6615, allocations: 0.6988 MB / 474.5 MB, free: 21.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04546/0.707, allocations: 18.28 MB / 492.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003962/0.7074, allocations: 68.75 kB / 492.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003278/0.7107, allocations: 277.8 kB / 493.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004252/0.715, allocations: 3.03 MB / 496.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/0.7487, allocations: 15.21 MB / 0.4993 GB, free: 15.67 MB / 398.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.1101/0.8588, allocations: 66.81 MB / 0.5646 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/0.8847, allocations: 7.918 MB / 0.5723 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005702/0.8905, allocations: 3.585 MB / 0.5758 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02784/0.9184, allocations: 14.98 MB / 0.5904 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.036e-05/0.9185, allocations: 68.03 kB / 0.5905 GB, free: 1.117 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 8.606e-06/0.9186, allocations: 0 / 0.5905 GB, free: 1.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.5134/1.432, allocations: 55.32 MB / 0.6445 GB, free: 194.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/1.432, allocations: 166.4 kB / 0.6447 GB, free: 194.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008736/1.441, allocations: 5.873 MB / 0.6504 GB, free: 192.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008578/1.442, allocations: 72.67 kB / 0.6505 GB, free: 192.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/1.444, allocations: 5.183 MB / 0.6555 GB, free: 189.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001601/1.446, allocations: 1.245 MB / 0.6568 GB, free: 188.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002497/1.448, allocations: 1.842 MB / 0.6586 GB, free: 187.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/1.448, allocations: 301.1 kB / 0.6588 GB, free: 187.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005224/1.454, allocations: 4.142 MB / 0.6629 GB, free: 185.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007534/1.461, allocations: 9.427 MB / 0.6721 GB, free: 177.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01508/1.476, allocations: 14.56 MB / 0.6863 GB, free: 165 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002101/1.477, allocations: 55.41 kB / 0.6864 GB, free: 165 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07609/1.553, allocations: 24.51 MB / 0.7103 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000262/1.553, allocations: 87.94 kB / 0.7104 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003542/1.553, allocations: 184.1 kB / 0.7106 GB, free: 140.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01429/1.568, allocations: 5.388 MB / 0.7158 GB, free: 135.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007698/1.575, allocations: 2.082 MB / 0.7179 GB, free: 133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04284/1.618, allocations: 36.03 MB / 0.753 GB, free: 96.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/1.629, allocations: 0.619 MB / 0.7537 GB, free: 95.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002569/1.632, allocations: 0.5195 MB / 0.7542 GB, free: 94.89 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.008759/1.641, allocations: 3.405 MB / 0.7575 GB, free: 91.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002/1.643, allocations: 0.5665 MB / 0.758 GB, free: 90.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05728/1.7, allocations: 17.67 MB / 0.7753 GB, free: 73.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.217e-05/1.7, allocations: 43.98 kB / 0.7753 GB, free: 73.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.42e-05/1.7, allocations: 12 kB / 0.7753 GB, free: 73.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.626e-05/1.7, allocations: 11.95 kB / 0.7754 GB, free: 73.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07613/1.776, allocations: 28.52 MB / 0.8032 GB, free: 44.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-05/1.776, allocations: 8.016 kB / 0.8032 GB, free: 44.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003269/1.78, allocations: 0.5272 MB / 0.8037 GB, free: 43.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/1.793, allocations: 5.148 MB / 0.8088 GB, free: 38.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008912/1.794, allocations: 63.81 kB / 0.8088 GB, free: 38.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3632/2.158, allocations: 35.53 MB / 0.8435 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/2.158, allocations: 6.812 kB / 0.8435 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0663/2.224, allocations: 22.67 MB / 0.8657 GB, free: 166.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00439/2.228, allocations: 1.233 MB / 0.8669 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/2.23, allocations: 50.3 kB / 0.8669 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003837/2.234, allocations: 302.4 kB / 0.8672 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000959/2.235, allocations: 191.4 kB / 0.8674 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002944/2.235, allocations: 89.56 kB / 0.8675 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006663/2.242, allocations: 3.635 MB / 0.871 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.913e-06/2.242, allocations: 0 / 0.871 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01113/2.253, allocations: 1.915 MB / 0.8729 GB, free: 164.5 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.001112/2.254, allocations: 267.8 kB / 0.8731 GB, free: 164.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02024/2.274, allocations: 11.53 MB / 0.8844 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/2.274, allocations: 0 / 0.8844 GB, free: 153.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/2.285, allocations: 5.305 MB / 0.8896 GB, free: 148.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/2.291, allocations: 0.8478 MB / 0.8904 GB, free: 147.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/2.322, allocations: 17.38 MB / 0.9074 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006307/2.329, allocations: 5.192 MB / 0.9125 GB, free: 124.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006378/2.335, allocations: 2.787 MB / 0.9152 GB, free: 122 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/2.336, allocations: 359.4 kB / 0.9155 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/2.336, allocations: 3.938 kB / 0.9155 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1331/2.469, allocations: 89 MB / 1.002 GB, free: 32.56 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)