Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 109.5 kB / 17.09 MB, free: 5.984 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.001496/0.001496, allocations: 200.2 kB / 18.02 MB, free: 5.066 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.448/1.448, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2044/0.2044, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 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: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 81.44 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1083, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01033/0.1187, allocations: 9.173 MB / 0.4975 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.1249, allocations: 2.705 MB / 0.5002 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.1261, allocations: 36 kB / 0.5002 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.1288, allocations: 1.308 MB / 0.5015 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.1304, allocations: 0.5401 MB / 0.502 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1314, allocations: 423 kB / 0.5024 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.133, allocations: 1.254 MB / 0.5036 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.1344, allocations: 1.277 MB / 0.5049 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006694/0.1351, allocations: 0.6072 MB / 0.5055 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.1361, allocations: 0.8485 MB / 0.5063 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.1363, allocations: 128 kB / 0.5064 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000882/0.1372, allocations: 0.5811 MB / 0.507 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006402/0.1379, allocations: 0.8103 MB / 0.5078 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007103/0.1386, allocations: 0.9278 MB / 0.5087 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.141, allocations: 2.849 MB / 0.5115 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.141, allocations: 0 / 0.5115 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.141, allocations: 0 / 0.5115 GB, free: 4.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.141, allocations: 0 / 0.5115 GB, free: 4.191 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.003989/0.145, allocations: 2.376 MB / 0.5138 GB, free: 1.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1451, allocations: 11.89 kB / 0.5138 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.146, allocations: 265.8 kB / 0.5141 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.1473, allocations: 0.8771 MB / 0.5149 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.1473, allocations: 107.1 kB / 0.515 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.1476, allocations: 152 kB / 0.5152 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007358/0.155, allocations: 4.916 MB / 0.52 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/0.155, allocations: 15.88 kB / 0.52 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.1552, allocations: 67.94 kB / 0.52 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001636/0.1568, allocations: 1.003 MB / 0.521 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007382/0.1642, allocations: 3.823 MB / 0.5247 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2283/0.3925, allocations: 16.47 MB / 0.5408 GB, free: 30.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.3967, allocations: 1.264 MB / 0.5421 GB, free: 30.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008881/0.3976, allocations: 0.7953 MB / 0.5428 GB, free: 29.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005804/0.4034, allocations: 4.264 MB / 0.547 GB, free: 27.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4035, allocations: 41.14 kB / 0.547 GB, free: 27.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.745e-06/0.4035, allocations: 0 / 0.547 GB, free: 27.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00713/0.4106, allocations: 1.966 MB / 0.549 GB, free: 26.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4107, allocations: 115.7 kB / 0.5491 GB, free: 26.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.4128, allocations: 1.611 MB / 0.5506 GB, free: 26.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.4128, allocations: 31.86 kB / 0.5507 GB, free: 26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.4136, allocations: 1.385 MB / 0.552 GB, free: 24.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4137, allocations: 193.3 kB / 0.5522 GB, free: 24.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005344/0.4143, allocations: 482.1 kB / 0.5527 GB, free: 24.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4144, allocations: 354.1 kB / 0.553 GB, free: 24.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/0.4152, allocations: 0.5811 MB / 0.5536 GB, free: 24.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.4166, allocations: 2.091 MB / 0.5556 GB, free: 21.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.4187, allocations: 2.888 MB / 0.5584 GB, free: 19.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-05/0.4188, allocations: 19.12 kB / 0.5585 GB, free: 19.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003238/0.422, allocations: 2.568 MB / 0.561 GB, free: 18.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.4221, allocations: 29.31 kB / 0.561 GB, free: 18.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.008e-05/0.4221, allocations: 54.84 kB / 0.5611 GB, free: 18.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.683e-05/0.4222, allocations: 72.45 kB / 0.5611 GB, free: 18.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.4237, allocations: 0.5479 MB / 0.5617 GB, free: 17.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.202e-05/0.4238, allocations: 114.8 kB / 0.5618 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4253, allocations: 335.9 kB / 0.5621 GB, free: 17.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.4254, allocations: 141.9 kB / 0.5622 GB, free: 17.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 33 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (298): * Single equations (assignments): 298 * 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.001009/0.4264, allocations: 0.8663 MB / 0.5631 GB, free: 17.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.4266, allocations: 132.2 kB / 0.5632 GB, free: 17.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.4268, allocations: 160.2 kB / 0.5633 GB, free: 17.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4268, allocations: 7.641 kB / 0.5634 GB, free: 17.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4268, allocations: 0 / 0.5634 GB, free: 17.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.427, allocations: 202.5 kB / 0.5635 GB, free: 16.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.4271, allocations: 11.22 kB / 0.5636 GB, free: 16.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.4276, allocations: 19.75 kB / 0.5636 GB, free: 16.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.4277, allocations: 23.5 kB / 0.5636 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007814/0.4284, allocations: 0.7574 MB / 0.5643 GB, free: 16.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006392/0.4291, allocations: 0.9453 MB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002458/0.4293, allocations: 251 kB / 0.5655 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000982/0.4303, allocations: 0.9878 MB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Backend: time 6.91e-07/0.4303, allocations: 0 / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.4326, allocations: 1.322 MB / 0.5678 GB, free: 14.42 MB / 414.1 MB Notification: Performance of SimCode: time 0.004148/0.4368, allocations: 3.701 MB / 0.5714 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Templates: time 0.02371/0.4605, allocations: 14.88 MB / 0.5859 GB, free: 12.87 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches