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.008926/0.008926, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.002118/0.002118, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.66/1.66, allocations: 205.1 MB / 222.6 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.001293/0.001293, allocations: 52.86 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1212, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.02209/0.1433, allocations: 20.35 MB / 393.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01926/0.1626, allocations: 6.373 MB / 399.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006335/0.1691, allocations: 155.5 kB / 400 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01396/0.1831, allocations: 6.226 MB / 406.3 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.195, allocations: 2.773 MB / 409 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007136/0.2022, allocations: 2.572 MB / 411.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01305/0.2152, allocations: 7.069 MB / 418.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01644/0.2317, allocations: 8.392 MB / 427.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007329/0.2391, allocations: 2.995 MB / 430.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007679/0.2469, allocations: 3.871 MB / 433.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003317/0.2502, allocations: 0.6992 MB / 434.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006103/0.2563, allocations: 1.97 MB / 436.6 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005612/0.262, allocations: 3.573 MB / 440.2 MB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009758/0.2718, allocations: 4.118 MB / 444.3 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.324/0.5958, allocations: 13.2 MB / 457.5 MB, free: 26.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5958, allocations: 0 / 457.5 MB, free: 26.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5959, allocations: 0 / 457.5 MB, free: 26.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006313/0.5965, allocations: 1.344 kB / 457.5 MB, free: 26.14 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.03869/0.6352, allocations: 8.732 MB / 466.2 MB, free: 22.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.6353, allocations: 9.125 kB / 466.2 MB, free: 22.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.6481, allocations: 2.622 MB / 468.9 MB, free: 22.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.6605, allocations: 4.444 MB / 473.3 MB, free: 21.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004084/0.661, allocations: 460.1 kB / 473.8 MB, free: 21.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003572/0.6646, allocations: 0.7039 MB / 474.5 MB, free: 21.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04198/0.7066, allocations: 18.27 MB / 492.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002891/0.7069, allocations: 70.52 kB / 492.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00209/0.709, allocations: 283.4 kB / 493.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004018/0.7131, allocations: 3.03 MB / 496.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03234/0.7454, allocations: 15.21 MB / 0.4993 GB, free: 15.59 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.1078/0.8532, allocations: 66.82 MB / 0.5646 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02515/0.8785, allocations: 7.919 MB / 0.5723 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005714/0.8842, allocations: 3.587 MB / 0.5758 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02675/0.911, allocations: 14.97 MB / 0.5904 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.9111, allocations: 68.12 kB / 0.5905 GB, free: 1.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 7.083e-06/0.9111, allocations: 0 / 0.5905 GB, free: 1.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.4736/1.385, allocations: 55.32 MB / 0.6445 GB, free: 194.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/1.385, allocations: 161.2 kB / 0.6447 GB, free: 194.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007924/1.393, allocations: 5.874 MB / 0.6504 GB, free: 192.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007918/1.394, allocations: 79.22 kB / 0.6505 GB, free: 192.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002466/1.396, allocations: 5.178 MB / 0.6555 GB, free: 189.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/1.397, allocations: 1.247 MB / 0.6568 GB, free: 188.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002369/1.4, allocations: 1.842 MB / 0.6586 GB, free: 187.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.987e-05/1.4, allocations: 301.1 kB / 0.6589 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005093/1.405, allocations: 4.14 MB / 0.6629 GB, free: 186 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007609/1.413, allocations: 9.432 MB / 0.6721 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/1.427, allocations: 14.57 MB / 0.6863 GB, free: 165 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.427, allocations: 51 kB / 0.6864 GB, free: 165 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.06737/1.494, allocations: 24.51 MB / 0.7103 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.494, allocations: 87.94 kB / 0.7104 GB, free: 140.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/1.495, allocations: 188 kB / 0.7106 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01431/1.509, allocations: 5.378 MB / 0.7158 GB, free: 135 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007101/1.516, allocations: 2.082 MB / 0.7179 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04072/1.557, allocations: 36.04 MB / 0.7531 GB, free: 95.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008451/1.565, allocations: 0.6154 MB / 0.7537 GB, free: 95.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001698/1.567, allocations: 0.5234 MB / 0.7542 GB, free: 94.79 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.006262/1.573, allocations: 3.399 MB / 0.7575 GB, free: 91.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/1.574, allocations: 0.5626 MB / 0.758 GB, free: 90.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05656/1.631, allocations: 17.68 MB / 0.7753 GB, free: 73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.913e-05/1.631, allocations: 44 kB / 0.7753 GB, free: 72.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-05/1.631, allocations: 8 kB / 0.7753 GB, free: 72.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.853e-05/1.631, allocations: 20.59 kB / 0.7754 GB, free: 72.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07378/1.705, allocations: 28.53 MB / 0.8032 GB, free: 44.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/1.705, allocations: 0 / 0.8032 GB, free: 44.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/1.709, allocations: 0.5188 MB / 0.8037 GB, free: 43.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0141/1.723, allocations: 5.149 MB / 0.8088 GB, free: 38.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009282/1.724, allocations: 55.98 kB / 0.8088 GB, free: 38.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.357/2.081, allocations: 35.54 MB / 0.8435 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/2.081, allocations: 3.672 kB / 0.8435 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06766/2.148, allocations: 22.67 MB / 0.8657 GB, free: 166.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/2.152, allocations: 1.232 MB / 0.8669 GB, free: 166.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002072/2.154, allocations: 54.03 kB / 0.8669 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00451/2.159, allocations: 300.6 kB / 0.8672 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.16, allocations: 194.5 kB / 0.8674 GB, free: 166 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003091/2.16, allocations: 84.72 kB / 0.8675 GB, free: 166 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006852/2.167, allocations: 3.638 MB / 0.871 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/2.167, allocations: 0 / 0.871 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01118/2.178, allocations: 1.913 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.001268/2.18, allocations: 268.2 kB / 0.8732 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02127/2.201, allocations: 11.52 MB / 0.8844 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/2.201, allocations: 0 / 0.8844 GB, free: 153.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01215/2.213, allocations: 5.313 MB / 0.8896 GB, free: 148 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006846/2.22, allocations: 0.8341 MB / 0.8904 GB, free: 147.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03158/2.252, allocations: 17.39 MB / 0.9074 GB, free: 129.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007362/2.259, allocations: 5.188 MB / 0.9125 GB, free: 124.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007077/2.266, allocations: 2.795 MB / 0.9152 GB, free: 121.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/2.268, allocations: 351.4 kB / 0.9155 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.503e-06/2.268, allocations: 0 / 0.9155 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1307/2.398, allocations: 89.01 MB / 1.002 GB, free: 32.43 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)