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.001574/0.001574, allocations: 113.6 kB / 17.09 MB, free: 5.953 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.002064/0.002064, allocations: 198.1 kB / 18.03 MB, free: 5.035 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.461/1.461, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2221/0.2221, allocations: 43.53 MB / 314.8 MB, free: 456 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.001412/0.001412, allocations: 69.47 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1075, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01002/0.1176, allocations: 9.173 MB / 0.4975 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.1233, allocations: 2.697 MB / 0.5002 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009475/0.1243, allocations: 39.94 kB / 0.5002 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.1267, allocations: 1.304 MB / 0.5015 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1279, allocations: 0.5792 MB / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.1288, allocations: 415.1 kB / 0.5024 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.1301, allocations: 1.262 MB / 0.5037 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.1314, allocations: 1.277 MB / 0.5049 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.1321, allocations: 0.611 MB / 0.5055 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.1332, allocations: 0.8408 MB / 0.5063 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1334, allocations: 128 kB / 0.5065 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009042/0.1343, allocations: 0.5812 MB / 0.507 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006792/0.135, allocations: 0.8141 MB / 0.5078 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.1358, allocations: 0.9317 MB / 0.5087 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.1387, allocations: 2.847 MB / 0.5115 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1387, allocations: 8 kB / 0.5115 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1387, allocations: 0 / 0.5115 GB, free: 4.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.818e-05/0.1387, allocations: 0 / 0.5115 GB, free: 4.141 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.004193/0.1429, allocations: 2.423 MB / 0.5139 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.143, allocations: 15.89 kB / 0.5139 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.1441, allocations: 283.2 kB / 0.5142 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.1454, allocations: 0.8852 MB / 0.515 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.1455, allocations: 107.1 kB / 0.5151 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.1457, allocations: 144 kB / 0.5153 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007761/0.1535, allocations: 4.916 MB / 0.5201 GB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.1536, allocations: 11.88 kB / 0.5201 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.1537, allocations: 79.91 kB / 0.5202 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001633/0.1554, allocations: 0.995 MB / 0.5211 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/0.1629, allocations: 3.823 MB / 0.5249 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2358/0.3987, allocations: 16.5 MB / 0.541 GB, free: 30.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/0.4028, allocations: 1.264 MB / 0.5422 GB, free: 30.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008837/0.4037, allocations: 0.797 MB / 0.543 GB, free: 29.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005479/0.4092, allocations: 4.285 MB / 0.5472 GB, free: 27.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.4093, allocations: 44.17 kB / 0.5472 GB, free: 27.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.434e-06/0.4093, allocations: 0 / 0.5472 GB, free: 27.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006735/0.416, allocations: 1.975 MB / 0.5491 GB, free: 26.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.4161, allocations: 121.8 kB / 0.5493 GB, free: 26.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.4181, allocations: 1.605 MB / 0.5508 GB, free: 25.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.4181, allocations: 36.08 kB / 0.5509 GB, free: 25.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006515/0.4188, allocations: 1.438 MB / 0.5523 GB, free: 24.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.4189, allocations: 202 kB / 0.5525 GB, free: 24.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/0.4194, allocations: 484.6 kB / 0.5529 GB, free: 24.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4195, allocations: 354.3 kB / 0.5533 GB, free: 24.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009232/0.4205, allocations: 0.5728 MB / 0.5538 GB, free: 24.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.4219, allocations: 2.098 MB / 0.5559 GB, free: 21.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.4241, allocations: 2.892 MB / 0.5587 GB, free: 19.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/0.4241, allocations: 15.41 kB / 0.5587 GB, free: 19.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.003211/0.4273, allocations: 2.574 MB / 0.5612 GB, free: 18.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.4274, allocations: 28.19 kB / 0.5612 GB, free: 18.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-05/0.4274, allocations: 54.41 kB / 0.5613 GB, free: 18.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.581e-05/0.4275, allocations: 71.44 kB / 0.5614 GB, free: 18.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.4289, allocations: 0.5513 MB / 0.5619 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.128e-05/0.429, allocations: 110.8 kB / 0.562 GB, free: 17.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.4303, allocations: 344.8 kB / 0.5623 GB, free: 17.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.4304, allocations: 145.7 kB / 0.5625 GB, free: 17.7 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.0008861/0.4313, allocations: 0.8599 MB / 0.5633 GB, free: 17.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4315, allocations: 144.2 kB / 0.5635 GB, free: 17.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.4317, allocations: 158.6 kB / 0.5636 GB, free: 17.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.4317, allocations: 5.078 kB / 0.5636 GB, free: 17.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4317, allocations: 3.938 kB / 0.5636 GB, free: 17.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.4319, allocations: 205.5 kB / 0.5638 GB, free: 16.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.4321, allocations: 5.625 kB / 0.5638 GB, free: 16.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.4325, allocations: 23.5 kB / 0.5638 GB, free: 16.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.4326, allocations: 23.88 kB / 0.5639 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001038/0.4336, allocations: 0.7575 MB / 0.5646 GB, free: 16.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001114/0.4348, allocations: 0.9545 MB / 0.5655 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004062/0.4352, allocations: 244.7 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001586/0.4368, allocations: 0.9967 MB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Backend: time 5.81e-07/0.4368, allocations: 0 / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00348/0.4403, allocations: 1.324 MB / 0.568 GB, free: 14.35 MB / 414.1 MB Notification: Performance of SimCode: time 0.006112/0.4464, allocations: 3.757 MB / 0.5717 GB, free: 11.47 MB / 414.1 MB Notification: Performance of Templates: time 0.03967/0.4861, allocations: 14.83 MB / 0.5862 GB, free: 12.7 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