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.001447/0.001447, 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.002134/0.002134, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.745/1.745, allocations: 205.1 MB / 222.1 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3242/0.3242, allocations: 37.97 MB / 307.4 MB, free: 10.09 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.001491/0.001491, allocations: 78.88 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1349, allocations: 56.47 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.2968/0.4318, allocations: 47.52 MB / 478.7 MB, free: 28.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0258/0.4576, allocations: 9.252 MB / 488 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01539/0.4733, allocations: 195.1 kB / 488.2 MB, free: 22.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006377/0.4797, allocations: 3.225 MB / 491.4 MB, free: 20.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.4832, allocations: 0.8604 MB / 492.3 MB, free: 20.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.4856, allocations: 0.6138 MB / 492.9 MB, free: 19.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.4895, allocations: 2.321 MB / 495.2 MB, free: 18.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005945/0.4955, allocations: 4.297 MB / 499.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.4984, allocations: 1.393 MB / 0.4891 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/0.5019, allocations: 1.907 MB / 0.491 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.5033, allocations: 361.4 kB / 0.4914 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.5059, allocations: 0.9117 MB / 0.4922 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002218/0.5081, allocations: 1.692 MB / 0.4939 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.5114, allocations: 1.966 MB / 0.4958 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008859/0.5203, allocations: 6.111 MB / 0.5018 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.5203, allocations: 0 / 0.5018 GB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5203, allocations: 0 / 0.5018 GB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002937/0.5206, allocations: 1.312 kB / 0.5018 GB, free: 11.13 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01647/0.5371, allocations: 4.149 MB / 0.5058 GB, free: 8.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.757e-05/0.5372, allocations: 12.45 kB / 0.5058 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003707/0.5409, allocations: 0.4949 MB / 0.5063 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/0.5461, allocations: 1.737 MB / 0.508 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/0.5466, allocations: 239.1 kB / 0.5083 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.5483, allocations: 315.3 kB / 0.5086 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/0.572, allocations: 8.688 MB / 0.517 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.5723, allocations: 17.72 kB / 0.5171 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/0.5738, allocations: 135.1 kB / 0.5172 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002795/0.5766, allocations: 1.561 MB / 0.5187 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01807/0.5947, allocations: 6.712 MB / 0.5253 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05358/0.6483, allocations: 26.74 MB / 0.5514 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007186/0.6556, allocations: 2.066 MB / 0.5534 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.6574, allocations: 1.033 MB / 0.5544 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.6692, allocations: 6.681 MB / 0.5609 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.859e-05/0.6693, allocations: 43.22 kB / 0.561 GB, free: 6.496 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 4.549e-06/0.6693, allocations: 0 / 0.561 GB, free: 6.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.02148/0.6908, allocations: 6.737 MB / 0.5676 GB, free: 15.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.691, allocations: 145.5 kB / 0.5677 GB, free: 15.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/0.6965, allocations: 2.56 MB / 0.5702 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003224/0.6969, allocations: 45.7 kB / 0.5702 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002449/0.6993, allocations: 2.36 MB / 0.5725 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006188/0.7, allocations: 403 kB / 0.5729 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/0.7017, allocations: 0.7894 MB / 0.5737 GB, free: 9.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7018, allocations: 313.1 kB / 0.574 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.704, allocations: 1.132 MB / 0.5751 GB, free: 7.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.7081, allocations: 3.398 MB / 0.5784 GB, free: 3.355 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006507/0.7147, allocations: 4.845 MB / 0.5831 GB, free: 13.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.637e-05/0.7148, allocations: 24 kB / 0.5832 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.00892/0.7237, allocations: 4.461 MB / 0.5875 GB, free: 8.895 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.7238, allocations: 40 kB / 0.5876 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/0.724, allocations: 80 kB / 0.5876 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.7241, allocations: 108.8 kB / 0.5877 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/0.7273, allocations: 0.9241 MB / 0.5886 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001797/0.7275, allocations: 159.4 kB / 0.5888 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/0.7305, allocations: 183.9 kB / 0.589 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005352/0.731, allocations: 232 kB / 0.5892 GB, free: 7.184 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.004919/0.736, allocations: 1.589 MB / 0.5907 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008408/0.7368, allocations: 221.1 kB / 0.591 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.7397, allocations: 1.263 MB / 0.5922 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.7398, allocations: 12 kB / 0.5922 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.7398, allocations: 0 / 0.5922 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.7398, allocations: 11.97 kB / 0.5922 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.7553, allocations: 6.097 MB / 0.5982 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/0.7554, allocations: 19.94 kB / 0.5982 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.7565, allocations: 243.6 kB / 0.5984 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-05/0.7565, allocations: 27.94 kB / 0.5984 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.7567, allocations: 47.98 kB / 0.5985 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.627e-05/0.7567, allocations: 31.86 kB / 0.5985 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.191e-05/0.7568, allocations: 28.31 kB / 0.5985 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.7605, allocations: 2.092 MB / 0.6006 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7616, allocations: 318.1 kB / 0.6009 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/0.7624, allocations: 47.98 kB / 0.6009 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.7639, allocations: 59.95 kB / 0.601 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.7641, allocations: 131.8 kB / 0.6011 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.7642, allocations: 59.98 kB / 0.6012 GB, free: 10.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003914/0.7681, allocations: 1.663 MB / 0.6028 GB, free: 8.633 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7681, allocations: 4 kB / 0.6028 GB, free: 8.629 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004617/0.7728, allocations: 0.6719 MB / 0.6035 GB, free: 7.957 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.0006138/0.7734, allocations: 214.7 kB / 0.6037 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006087/0.7795, allocations: 2.836 MB / 0.6064 GB, free: 4.922 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.972e-05/0.7795, allocations: 0 / 0.6064 GB, free: 4.922 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.7809, allocations: 0.6788 MB / 0.6071 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.7839, allocations: 319 kB / 0.6074 GB, free: 3.938 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/0.8026, allocations: 8.728 MB / 0.6159 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005488/0.8081, allocations: 2.746 MB / 0.6186 GB, free: 8.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003546/0.8117, allocations: 1.013 MB / 0.6196 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006871/0.8124, allocations: 179.4 kB / 0.6198 GB, free: 6.992 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8124, allocations: 0 / 0.6198 GB, free: 6.992 MB / 494.1 MB Notification: Performance of Templates: time 0.27/1.082, allocations: 21.5 MB / 0.6408 GB, free: 112.5 MB / 494.1 MB 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)