Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00114/0.00114, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.00116/0.00116, allocations: 185.9 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 243.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3763, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009131/0.3855, allocations: 8.127 MB / 0.5275 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.3918, allocations: 2.59 MB / 0.5301 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.3931, allocations: 42.31 kB / 0.5301 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.3958, allocations: 1.278 MB / 0.5313 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.3971, allocations: 480.4 kB / 0.5318 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.398, allocations: 411.4 kB / 0.5322 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3992, allocations: 1.052 MB / 0.5332 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.4004, allocations: 1.207 MB / 0.5344 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.401, allocations: 0.5335 MB / 0.5349 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008884/0.4019, allocations: 0.7697 MB / 0.5357 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.4021, allocations: 116.4 kB / 0.5358 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008364/0.4029, allocations: 0.5821 MB / 0.5363 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.4035, allocations: 0.7176 MB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006989/0.4042, allocations: 0.7987 MB / 0.5378 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.4067, allocations: 2.511 MB / 0.5403 GB, free: 5.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4068, allocations: 0 / 0.5403 GB, free: 5.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4068, allocations: 0 / 0.5403 GB, free: 5.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.381e-05/0.4068, allocations: 1.094 kB / 0.5403 GB, free: 5.504 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004252/0.4111, allocations: 2.172 MB / 0.5424 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4111, allocations: 8.594 kB / 0.5424 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4121, allocations: 276.3 kB / 0.5427 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.4135, allocations: 0.843 MB / 0.5435 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.4136, allocations: 94.19 kB / 0.5436 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/0.4139, allocations: 123 kB / 0.5437 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007458/0.4213, allocations: 4.286 MB / 0.5479 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.4214, allocations: 11.88 kB / 0.5479 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4215, allocations: 59.95 kB / 0.548 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/0.4226, allocations: 0.7248 MB / 0.5487 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007008/0.4296, allocations: 3.516 MB / 0.5521 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.4466, allocations: 14.45 MB / 0.5662 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/0.4508, allocations: 1.203 MB / 0.5674 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009531/0.4518, allocations: 0.7872 MB / 0.5682 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005751/0.4576, allocations: 3.93 MB / 0.572 GB, free: 5.344 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4576, allocations: 42.5 kB / 0.572 GB, free: 5.293 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 2.886e-06/0.4576, allocations: 0 / 0.572 GB, free: 5.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=43): time 0.006807/0.4645, allocations: 1.964 MB / 0.574 GB, free: 3.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4645, allocations: 59.36 kB / 0.574 GB, free: 3.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.4667, allocations: 1.487 MB / 0.5755 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.4668, allocations: 33.7 kB / 0.5755 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008287/0.4676, allocations: 1.21 MB / 0.5767 GB, free: 492 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.4678, allocations: 194.6 kB / 0.5769 GB, free: 296 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005747/0.4684, allocations: 455.5 kB / 0.5773 GB, free: 15.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4686, allocations: 349.9 kB / 0.5776 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/0.4694, allocations: 0.539 MB / 0.5782 GB, free: 14.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.4711, allocations: 1.92 MB / 0.58 GB, free: 12.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/0.4739, allocations: 2.678 MB / 0.5826 GB, free: 8.953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/0.4739, allocations: 19.94 kB / 0.5827 GB, free: 8.934 MB / 446.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.003651/0.4776, allocations: 2.372 MB / 0.585 GB, free: 6.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.4777, allocations: 31.98 kB / 0.585 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.695e-05/0.4777, allocations: 51.94 kB / 0.5851 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.516e-05/0.4778, allocations: 64 kB / 0.5851 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.4792, allocations: 499 kB / 0.5856 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-05/0.4793, allocations: 95.64 kB / 0.5857 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.481, allocations: 313.7 kB / 0.586 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.4812, allocations: 132 kB / 0.5861 GB, free: 5.391 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 225 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (272): * Single equations (assignments): 272 * 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.001179/0.4824, allocations: 0.7582 MB / 0.5869 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.4826, allocations: 127.2 kB / 0.587 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.4829, allocations: 148.6 kB / 0.5871 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4829, allocations: 11.92 kB / 0.5871 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4829, allocations: 0 / 0.5871 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.4832, allocations: 196.2 kB / 0.5873 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.4834, allocations: 4 kB / 0.5873 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.4838, allocations: 27.91 kB / 0.5873 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.4839, allocations: 23.97 kB / 0.5874 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008577/0.4848, allocations: 0.5865 MB / 0.5879 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008744/0.4857, allocations: 0.7866 MB / 0.5887 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000318/0.486, allocations: 247.8 kB / 0.5889 GB, free: 2.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.4872, allocations: 0.9165 MB / 0.5898 GB, free: 1.512 MB / 446.1 MB Notification: Performance of Backend: time 4.81e-07/0.4872, allocations: 0 / 0.5898 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.4896, allocations: 1.238 MB / 0.5911 GB, free: 288 kB / 446.1 MB Notification: Performance of SimCode: time 0.005167/0.4948, allocations: 3.307 MB / 0.5943 GB, free: 12.92 MB / 462.1 MB Notification: Performance of Templates: time 0.02841/0.5232, allocations: 13.97 MB / 0.6079 GB, free: 15 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches