Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") translateModel(ModelicaTest.MultiBody.Joints.JointRRR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009748/0.009748, allocations: 100 kB / 15.73 MB, free: 6.016 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.002076/0.002076, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.56/1.56, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3129/0.313, allocations: 39.94 MB / 309.8 MB, free: 9.445 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.2. 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.001388/0.001389, allocations: 71.89 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.338, allocations: 56.88 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01434/0.3524, allocations: 14.24 MB / 0.495 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.3639, allocations: 4.003 MB / 0.4989 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.3666, allocations: 68.69 kB / 0.499 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006229/0.3729, allocations: 3.926 MB / 0.5028 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.376, allocations: 1.006 MB / 0.5038 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3784, allocations: 0.8805 MB / 0.5047 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003884/0.3823, allocations: 2.636 MB / 0.5072 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005877/0.3882, allocations: 5.107 MB / 0.5122 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.3913, allocations: 1.596 MB / 0.5138 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003942/0.3953, allocations: 2.082 MB / 0.5158 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.3964, allocations: 490.8 kB / 0.5163 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.3989, allocations: 1.148 MB / 0.5174 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002114/0.401, allocations: 1.964 MB / 0.5193 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.4037, allocations: 2.278 MB / 0.5216 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008393/0.4122, allocations: 7.741 MB / 0.5291 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4122, allocations: 0 / 0.5291 GB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4122, allocations: 0 / 0.5291 GB, free: 15.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002013/0.4124, allocations: 0 / 0.5291 GB, free: 15.06 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01256/0.425, allocations: 4.846 MB / 0.5339 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.425, allocations: 15.89 kB / 0.5339 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.4275, allocations: 0.5873 MB / 0.5344 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.432, allocations: 2.216 MB / 0.5366 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.4322, allocations: 270.9 kB / 0.5369 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006286/0.4328, allocations: 351.9 kB / 0.5372 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.4537, allocations: 10.49 MB / 0.5474 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-05/0.4539, allocations: 15.81 kB / 0.5475 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003762/0.4542, allocations: 155.9 kB / 0.5476 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00292/0.4572, allocations: 1.636 MB / 0.5492 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02099/0.4782, allocations: 9.168 MB / 0.5582 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05063/0.5288, allocations: 30.95 MB / 0.5884 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009521/0.5384, allocations: 3.093 MB / 0.5914 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.5409, allocations: 1.767 MB / 0.5931 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01272/0.5537, allocations: 9.735 MB / 0.6026 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.5537, allocations: 43.56 kB / 0.6027 GB, free: 2.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.096e-06/0.5537, allocations: 0 / 0.6027 GB, free: 2.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.02592/0.5797, allocations: 9.489 MB / 0.6119 GB, free: 8.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.5798, allocations: 115.8 kB / 0.6121 GB, free: 8.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.5836, allocations: 2.882 MB / 0.6149 GB, free: 5.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.5838, allocations: 45.7 kB / 0.6149 GB, free: 5.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.5856, allocations: 2.574 MB / 0.6174 GB, free: 2.883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004575/0.5861, allocations: 460.5 kB / 0.6179 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.5872, allocations: 0.8691 MB / 0.6187 GB, free: 1.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5874, allocations: 309.1 kB / 0.619 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.5897, allocations: 1.566 MB / 0.6205 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/0.5936, allocations: 3.874 MB / 0.6243 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006785/0.6004, allocations: 5.713 MB / 0.6299 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.011e-05/0.6005, allocations: 24 kB / 0.6299 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.3069/0.9074, allocations: 5.422 MB / 0.6352 GB, free: 123 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/0.9075, allocations: 40.94 kB / 0.6353 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.9076, allocations: 80.97 kB / 0.6353 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/0.9078, allocations: 110.4 kB / 0.6354 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/0.9115, allocations: 0.9983 MB / 0.6364 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/0.9117, allocations: 161.4 kB / 0.6366 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.9148, allocations: 234.4 kB / 0.6368 GB, free: 123 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004412/0.9152, allocations: 236.8 kB / 0.637 GB, free: 123 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 370 * Number of states: 0 () * Number of discrete variables: 49 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (531): * Single equations (assignments): 529 * Array equations: 2 * 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.003286/0.9185, allocations: 1.755 MB / 0.6387 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/0.9191, allocations: 251.3 kB / 0.639 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004271/0.9233, allocations: 2.214 MB / 0.6411 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.9234, allocations: 15.12 kB / 0.6411 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9234, allocations: 5.594 kB / 0.6412 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.9234, allocations: 6.156 kB / 0.6412 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.9372, allocations: 7.636 MB / 0.6486 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/0.9372, allocations: 14.45 kB / 0.6486 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.9383, allocations: 261.9 kB / 0.6489 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.928e-05/0.9384, allocations: 21.67 kB / 0.6489 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.225e-05/0.9385, allocations: 38.72 kB / 0.6489 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-05/0.9385, allocations: 31.56 kB / 0.649 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.618e-05/0.9385, allocations: 24.75 kB / 0.649 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.942, allocations: 2.382 MB / 0.6513 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.943, allocations: 348.4 kB / 0.6516 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.9435, allocations: 46.66 kB / 0.6517 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.9446, allocations: 67.23 kB / 0.6518 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.9448, allocations: 130.2 kB / 0.6519 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.9449, allocations: 50.22 kB / 0.6519 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003324/0.9483, allocations: 1.834 MB / 0.6537 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9483, allocations: 0 / 0.6537 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00511/0.9534, allocations: 0.7714 MB / 0.6545 GB, free: 115.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (137): * Single equations (assignments): 137 * 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.0006058/0.954, allocations: 209.7 kB / 0.6547 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005929/0.96, allocations: 3.387 MB / 0.658 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.726e-05/0.9601, allocations: 2.125 kB / 0.658 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.962, allocations: 0.8829 MB / 0.6588 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.9649, allocations: 336.2 kB / 0.6592 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.98, allocations: 7.826 MB / 0.6668 GB, free: 109.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.9829, allocations: 2.957 MB / 0.6697 GB, free: 108.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002599/0.9855, allocations: 1.023 MB / 0.6707 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.986, allocations: 180.5 kB / 0.6709 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.603e-06/0.986, allocations: 0 / 0.6709 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.04122/1.027, allocations: 24.19 MB / 0.6945 GB, free: 87.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1)