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.001419/0.001419, allocations: 110.5 kB / 18.45 MB, free: 4.598 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.001446/0.001446, allocations: 187.2 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.352/1.352, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2164/0.2164, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 64.03 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3331, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008489/0.3416, allocations: 8.128 MB / 0.5275 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.3474, allocations: 2.593 MB / 0.5301 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.3487, allocations: 38.91 kB / 0.5301 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.3514, allocations: 1.278 MB / 0.5313 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.353, allocations: 479.6 kB / 0.5318 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3541, allocations: 412.1 kB / 0.5322 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.3556, allocations: 1.051 MB / 0.5332 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.3574, allocations: 1.212 MB / 0.5344 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009512/0.3584, allocations: 0.533 MB / 0.5349 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.3598, allocations: 0.7659 MB / 0.5357 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.3602, allocations: 116.3 kB / 0.5358 GB, free: 8.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3615, allocations: 0.586 MB / 0.5364 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009834/0.3625, allocations: 0.7175 MB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.3644, allocations: 0.7943 MB / 0.5378 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.3685, allocations: 2.511 MB / 0.5403 GB, free: 5.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3686, allocations: 0 / 0.5403 GB, free: 5.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3686, allocations: 5.188 kB / 0.5403 GB, free: 5.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001225/0.3687, allocations: 0 / 0.5403 GB, free: 5.496 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.006454/0.3752, allocations: 2.165 MB / 0.5424 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3752, allocations: 7.812 kB / 0.5424 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.3762, allocations: 276.5 kB / 0.5427 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3778, allocations: 0.8503 MB / 0.5435 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.3779, allocations: 90.89 kB / 0.5436 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.3782, allocations: 122.7 kB / 0.5437 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007051/0.3853, allocations: 4.287 MB / 0.5479 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.3853, allocations: 11.88 kB / 0.5479 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.3855, allocations: 55.94 kB / 0.548 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009619/0.3864, allocations: 0.7287 MB / 0.5487 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00658/0.393, allocations: 3.516 MB / 0.5521 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.4096, allocations: 14.44 MB / 0.5662 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003902/0.4135, allocations: 1.211 MB / 0.5674 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000994/0.4145, allocations: 0.7872 MB / 0.5682 GB, free: 9.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005796/0.4204, allocations: 3.933 MB / 0.572 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4204, allocations: 38.5 kB / 0.572 GB, free: 5.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/0.4204, allocations: 0 / 0.572 GB, free: 5.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=43): time 0.006553/0.427, allocations: 1.968 MB / 0.574 GB, free: 3.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.427, allocations: 63.36 kB / 0.574 GB, free: 3.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/0.4295, allocations: 1.487 MB / 0.5755 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.4296, allocations: 33.7 kB / 0.5755 GB, free: 1.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009199/0.4305, allocations: 1.21 MB / 0.5767 GB, free: 448 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.4307, allocations: 190.6 kB / 0.5769 GB, free: 256 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006581/0.4314, allocations: 447.5 kB / 0.5773 GB, free: 15.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4316, allocations: 357.9 kB / 0.5776 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009083/0.4325, allocations: 0.5351 MB / 0.5782 GB, free: 14.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.4343, allocations: 1.924 MB / 0.58 GB, free: 12.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.4372, allocations: 2.678 MB / 0.5827 GB, free: 8.914 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-05/0.4372, allocations: 16 kB / 0.5827 GB, free: 8.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.004218/0.4415, allocations: 2.376 MB / 0.585 GB, free: 6.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.4416, allocations: 28.03 kB / 0.585 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.4417, allocations: 52 kB / 0.5851 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.4418, allocations: 64 kB / 0.5851 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.4435, allocations: 0.4912 MB / 0.5856 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001218/0.4436, allocations: 95.64 kB / 0.5857 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.4455, allocations: 309.7 kB / 0.586 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.4457, allocations: 128 kB / 0.5861 GB, free: 5.359 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.001235/0.447, allocations: 0.7659 MB / 0.5869 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.4472, allocations: 127.2 kB / 0.587 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.4476, allocations: 148.6 kB / 0.5871 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4476, allocations: 3.938 kB / 0.5871 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4476, allocations: 3.984 kB / 0.5871 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.448, allocations: 196.2 kB / 0.5873 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.4482, allocations: 11.98 kB / 0.5873 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.4486, allocations: 15.98 kB / 0.5873 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.4487, allocations: 31.91 kB / 0.5874 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001008/0.4497, allocations: 0.5865 MB / 0.5879 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001035/0.4508, allocations: 0.7866 MB / 0.5887 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00034/0.4511, allocations: 247.7 kB / 0.589 GB, free: 2.391 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.4525, allocations: 0.9165 MB / 0.5898 GB, free: 1.473 MB / 446.1 MB Notification: Performance of Backend: time 6.71e-07/0.4526, allocations: 0 / 0.5898 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.4554, allocations: 1.241 MB / 0.5911 GB, free: 248 kB / 446.1 MB Notification: Performance of SimCode: time 0.005445/0.4609, allocations: 3.289 MB / 0.5943 GB, free: 12.89 MB / 462.1 MB Notification: Performance of Templates: time 0.02769/0.4886, allocations: 13.98 MB / 0.6079 GB, free: 14.96 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