Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008691/0.00869, allocations: 102 kB / 15.73 MB, free: 6.039 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.001273/0.001273, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.713/1.713, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1963/0.1963, allocations: 38.01 MB / 307.9 MB, free: 5.969 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 71.91 kB / 433 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1348, allocations: 56.48 MB / 489.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.01367/0.1485, allocations: 12.59 MB / 0.4903 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009948/0.1585, allocations: 3.556 MB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.1609, allocations: 63.88 kB / 0.4938 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006367/0.1673, allocations: 3.337 MB / 0.4971 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.1708, allocations: 0.9483 MB / 0.498 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.1726, allocations: 0.6511 MB / 0.4987 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.1767, allocations: 2.314 MB / 0.5009 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004849/0.1816, allocations: 4.079 MB / 0.5049 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.1841, allocations: 1.367 MB / 0.5062 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002605/0.1867, allocations: 1.776 MB / 0.508 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006535/0.1874, allocations: 360 kB / 0.5083 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.1891, allocations: 0.8974 MB / 0.5092 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.1908, allocations: 1.687 MB / 0.5108 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.1931, allocations: 1.962 MB / 0.5128 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3019/0.4951, allocations: 6.243 MB / 0.5188 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.4951, allocations: 1.344 kB / 0.5188 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4952, allocations: 0 / 0.5188 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000314/0.4955, allocations: 5.844 kB / 0.5189 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01631/0.5118, allocations: 4.135 MB / 0.5229 GB, free: 12.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/0.5119, allocations: 14.14 kB / 0.5229 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/0.5146, allocations: 0.4913 MB / 0.5234 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004597/0.5192, allocations: 1.773 MB / 0.5251 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.5194, allocations: 239 kB / 0.5253 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006747/0.5201, allocations: 318.2 kB / 0.5256 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.5395, allocations: 8.678 MB / 0.5341 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.599e-05/0.5397, allocations: 19.38 kB / 0.5341 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003545/0.54, allocations: 142.2 kB / 0.5343 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/0.5426, allocations: 1.56 MB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.5574, allocations: 6.702 MB / 0.5423 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.043/0.6004, allocations: 26.6 MB / 0.5683 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006351/0.6068, allocations: 2.072 MB / 0.5703 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.6083, allocations: 1.028 MB / 0.5713 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009576/0.6179, allocations: 6.68 MB / 0.5779 GB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.618, allocations: 43.38 kB / 0.5779 GB, free: 4.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.618, allocations: 0 / 0.5779 GB, free: 4.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01762/0.6356, allocations: 6.746 MB / 0.5845 GB, free: 13.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.6358, allocations: 149 kB / 0.5846 GB, free: 13.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.6398, allocations: 2.553 MB / 0.5871 GB, free: 11.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6399, allocations: 41.7 kB / 0.5872 GB, free: 11.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.6416, allocations: 2.366 MB / 0.5895 GB, free: 8.664 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.642, allocations: 402.3 kB / 0.5899 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.6431, allocations: 0.7855 MB / 0.5906 GB, free: 7.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6432, allocations: 301.1 kB / 0.5909 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.6452, allocations: 1.141 MB / 0.592 GB, free: 6.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.6486, allocations: 3.405 MB / 0.5954 GB, free: 1.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006167/0.6548, allocations: 4.846 MB / 0.6001 GB, free: 11.93 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.871e-05/0.6549, allocations: 28 kB / 0.6001 GB, free: 11.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.007449/0.6623, allocations: 4.451 MB / 0.6045 GB, free: 7.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.6624, allocations: 40 kB / 0.6045 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.866e-05/0.6625, allocations: 84.59 kB / 0.6046 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-05/0.6626, allocations: 104 kB / 0.6047 GB, free: 7.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.6653, allocations: 0.9278 MB / 0.6056 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001184/0.6655, allocations: 158.8 kB / 0.6057 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.6681, allocations: 187.7 kB / 0.6059 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/0.6684, allocations: 239.7 kB / 0.6062 GB, free: 6.305 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 365 * Number of states: 0 () * Number of discrete variables: 40 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (495): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00309/0.6715, allocations: 1.594 MB / 0.6077 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.672, allocations: 222.9 kB / 0.6079 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.6741, allocations: 1.268 MB / 0.6092 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.6741, allocations: 12 kB / 0.6092 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6741, allocations: 0 / 0.6092 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6742, allocations: 3.984 kB / 0.6092 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009776/0.6839, allocations: 6.088 MB / 0.6151 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.684, allocations: 24.06 kB / 0.6151 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000909/0.6849, allocations: 251.5 kB / 0.6154 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.249e-05/0.6849, allocations: 20 kB / 0.6154 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/0.685, allocations: 41.64 kB / 0.6154 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-05/0.6851, allocations: 35.86 kB / 0.6155 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-05/0.6851, allocations: 27.88 kB / 0.6155 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.6878, allocations: 2.099 MB / 0.6176 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006703/0.6885, allocations: 318 kB / 0.6179 GB, free: 9.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.6888, allocations: 43.98 kB / 0.6179 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009367/0.6897, allocations: 59.95 kB / 0.618 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.6899, allocations: 131.9 kB / 0.6181 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.6899, allocations: 52 kB / 0.6181 GB, free: 9.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002288/0.6922, allocations: 1.667 MB / 0.6198 GB, free: 7.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6922, allocations: 0 / 0.6198 GB, free: 7.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002963/0.6952, allocations: 0.6797 MB / 0.6204 GB, free: 7.164 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 0 () * 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 (124): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003415/0.6956, allocations: 206.9 kB / 0.6206 GB, free: 6.957 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004004/0.6996, allocations: 2.674 MB / 0.6232 GB, free: 4.301 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6996, allocations: 4 kB / 0.6232 GB, free: 4.297 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.7007, allocations: 0.6762 MB / 0.6239 GB, free: 3.625 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.7024, allocations: 331.3 kB / 0.6242 GB, free: 3.316 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.7156, allocations: 6.923 MB / 0.631 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002856/0.7185, allocations: 2.746 MB / 0.6337 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002548/0.7211, allocations: 1.019 MB / 0.6346 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/0.7216, allocations: 179.4 kB / 0.6348 GB, free: 8.172 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7216, allocations: 0 / 0.6348 GB, free: 8.172 MB / 494.1 MB Notification: Performance of Templates: time 0.04675/0.7683, allocations: 20.91 MB / 0.6552 GB, free: 3.367 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)