Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001071/0.001071, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001025/0.001025, allocations: 195 kB / 18 MB, free: 5.105 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 / 223.9 MB, free: 12.24 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.001321/0.001321, allocations: 43.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.23/0.3517, allocations: 20.34 MB / 394.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.3679, allocations: 6.372 MB / 401.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006578/0.3745, allocations: 157.6 kB / 401.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01283/0.3874, allocations: 6.23 MB / 407.6 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.3978, allocations: 2.775 MB / 410.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00726/0.405, allocations: 2.567 MB / 412.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0143/0.4194, allocations: 7.066 MB / 420 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.43, allocations: 8.395 MB / 428.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006166/0.4362, allocations: 2.991 MB / 431.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0067/0.4429, allocations: 3.879 MB / 435.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002106/0.4451, allocations: 0.6992 MB / 436 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/0.4497, allocations: 1.978 MB / 437.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004117/0.4539, allocations: 3.624 MB / 441.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.4607, allocations: 4.118 MB / 445.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02019/0.4809, allocations: 13.16 MB / 458.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.4809, allocations: 0 / 458.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.654e-06/0.4809, allocations: 0 / 458.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006048/0.4816, allocations: 0 / 458.8 MB, free: 10.95 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.02418/0.5057, allocations: 8.513 MB / 467.3 MB, free: 2.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5058, allocations: 12.03 kB / 467.4 MB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009741/0.5156, allocations: 2.576 MB / 469.9 MB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.5276, allocations: 4.419 MB / 474.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/0.5281, allocations: 467.9 kB / 474.8 MB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/0.5311, allocations: 0.7026 MB / 475.5 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03904/0.5702, allocations: 18.27 MB / 493.8 MB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002309/0.5705, allocations: 63.45 kB / 493.8 MB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009366/0.5714, allocations: 279.8 kB / 494.1 MB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004467/0.5759, allocations: 3.034 MB / 497.1 MB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03241/0.6083, allocations: 15.2 MB / 0.5003 GB, free: 4.246 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.5439/1.152, allocations: 66.69 MB / 0.5655 GB, free: 108.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0262/1.179, allocations: 7.913 MB / 0.5732 GB, free: 108 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006062/1.185, allocations: 3.588 MB / 0.5767 GB, free: 107.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02645/1.211, allocations: 14.96 MB / 0.5913 GB, free: 100.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/1.211, allocations: 60.09 kB / 0.5914 GB, free: 100 MB / 478.1 MB Notification: Performance of pre-optimization done (n=268): time 7.454e-06/1.211, allocations: 0 / 0.5914 GB, free: 100 MB / 478.1 MB Notification: Performance of matching and sorting (n=314): time 0.184/1.395, allocations: 54.92 MB / 0.645 GB, free: 56.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/1.395, allocations: 166.5 kB / 0.6452 GB, free: 56.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008016/1.403, allocations: 5.859 MB / 0.6509 GB, free: 50.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009232/1.404, allocations: 76.98 kB / 0.651 GB, free: 50.08 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.407, allocations: 4.983 MB / 0.6558 GB, free: 45.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.409, allocations: 1.189 MB / 0.657 GB, free: 43.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002536/1.411, allocations: 1.828 MB / 0.6588 GB, free: 42.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.479e-05/1.411, allocations: 309.1 kB / 0.6591 GB, free: 41.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/1.416, allocations: 4.141 MB / 0.6631 GB, free: 37.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006794/1.423, allocations: 9.424 MB / 0.6723 GB, free: 25.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.437, allocations: 14.56 MB / 0.6865 GB, free: 8.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001508/1.437, allocations: 52 kB / 0.6866 GB, free: 8.574 MB / 478.1 MB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07486/1.512, allocations: 24.49 MB / 0.7105 GB, free: 15.96 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.512, allocations: 84 kB / 0.7106 GB, free: 15.88 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/1.512, allocations: 188 kB / 0.7108 GB, free: 15.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01638/1.529, allocations: 5.373 MB / 0.716 GB, free: 10.31 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007839/1.537, allocations: 2.082 MB / 0.718 GB, free: 8.227 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05177/1.588, allocations: 36.04 MB / 0.7532 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008001/1.596, allocations: 0.6084 MB / 0.7538 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/1.598, allocations: 0.5234 MB / 0.7543 GB, free: 2.105 MB / 0.5294 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.292/1.89, allocations: 3.403 MB / 0.7577 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/1.891, allocations: 0.5311 MB / 0.7582 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06721/1.959, allocations: 17.68 MB / 0.7754 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/1.959, allocations: 42.41 kB / 0.7755 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.991e-05/1.959, allocations: 9.938 kB / 0.7755 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/1.959, allocations: 15.48 kB / 0.7755 GB, free: 185.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08481/2.044, allocations: 28.51 MB / 0.8034 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/2.044, allocations: 0 / 0.8034 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/2.047, allocations: 0.525 MB / 0.8039 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01424/2.062, allocations: 5.146 MB / 0.8089 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008673/2.062, allocations: 59.98 kB / 0.8089 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04102/2.103, allocations: 35.53 MB / 0.8436 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.104, allocations: 0 / 0.8436 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06221/2.166, allocations: 22.66 MB / 0.8658 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004381/2.17, allocations: 1.197 MB / 0.8669 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/2.172, allocations: 63.58 kB / 0.867 GB, free: 110 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003634/2.175, allocations: 295.5 kB / 0.8673 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/2.176, allocations: 193.7 kB / 0.8675 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002763/2.177, allocations: 81.95 kB / 0.8676 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006373/2.183, allocations: 3.644 MB / 0.8711 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/2.183, allocations: 0 / 0.8711 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01108/2.194, allocations: 1.912 MB / 0.873 GB, free: 103.9 MB / 0.5294 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.001053/2.195, allocations: 258.1 kB / 0.8732 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02003/2.215, allocations: 11.52 MB / 0.8845 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/2.215, allocations: 4.125 kB / 0.8845 GB, free: 92.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01167/2.227, allocations: 5.29 MB / 0.8896 GB, free: 86.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005994/2.233, allocations: 0.8424 MB / 0.8905 GB, free: 85.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/2.264, allocations: 17.15 MB / 0.9072 GB, free: 68.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007322/2.272, allocations: 5.177 MB / 0.9123 GB, free: 63.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007149/2.279, allocations: 2.791 MB / 0.915 GB, free: 60.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/2.28, allocations: 363.4 kB / 0.9153 GB, free: 60.33 MB / 0.5294 GB Notification: Performance of SimCode: time 1.312e-06/2.28, allocations: 3.938 kB / 0.9153 GB, free: 60.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.4362/2.716, allocations: 89.33 MB / 1.003 GB, free: 162.3 MB / 0.5294 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)