Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 213.3 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.231/0.231, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3592, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009832/0.369, allocations: 7.17 MB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005845/0.3748, allocations: 2.51 MB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.3758, allocations: 43.88 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.3784, allocations: 1.25 MB / 0.5726 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.3797, allocations: 469.7 kB / 0.573 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.3807, allocations: 411.1 kB / 0.5734 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.382, allocations: 1.04 MB / 0.5744 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.3832, allocations: 0.9919 MB / 0.5754 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006938/0.3839, allocations: 0.5333 MB / 0.5759 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.3851, allocations: 0.8177 MB / 0.5767 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000203/0.3853, allocations: 116 kB / 0.5768 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000962/0.3863, allocations: 0.5771 MB / 0.5774 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008044/0.3871, allocations: 0.7361 MB / 0.5781 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006249/0.3877, allocations: 0.5901 MB / 0.5787 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.3904, allocations: 2.527 MB / 0.5811 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3904, allocations: 0 / 0.5811 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3904, allocations: 0 / 0.5811 GB, free: 304 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.3904, allocations: 0 / 0.5811 GB, free: 304 kB / 414.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.004391/0.3948, allocations: 2.078 MB / 0.5832 GB, free: 14.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3949, allocations: 8.031 kB / 0.5832 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009328/0.3958, allocations: 279.4 kB / 0.5834 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.3975, allocations: 0.7742 MB / 0.5842 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.3976, allocations: 94.69 kB / 0.5843 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.3978, allocations: 124.1 kB / 0.5844 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007808/0.4056, allocations: 4.342 MB / 0.5886 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.4057, allocations: 11.88 kB / 0.5887 GB, free: 8.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.4058, allocations: 55.95 kB / 0.5887 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001103/0.4069, allocations: 0.7287 MB / 0.5894 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007451/0.4144, allocations: 3.504 MB / 0.5928 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.4331, allocations: 13.52 MB / 0.606 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.4374, allocations: 1.129 MB / 0.6072 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009748/0.4384, allocations: 0.6699 MB / 0.6078 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005963/0.4443, allocations: 2.875 MB / 0.6106 GB, free: 1.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.4444, allocations: 38.56 kB / 0.6106 GB, free: 1.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 2.795e-06/0.4444, allocations: 4 kB / 0.6107 GB, free: 1.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.007008/0.4514, allocations: 1.953 MB / 0.6126 GB, free: 15.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.4514, allocations: 59.34 kB / 0.6126 GB, free: 15.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.4534, allocations: 1.392 MB / 0.614 GB, free: 13.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.4535, allocations: 33.7 kB / 0.614 GB, free: 13.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.4545, allocations: 1.23 MB / 0.6152 GB, free: 12.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.4547, allocations: 194.6 kB / 0.6154 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005615/0.4552, allocations: 443.5 kB / 0.6158 GB, free: 11.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4554, allocations: 338 kB / 0.6161 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008344/0.4562, allocations: 0.535 MB / 0.6167 GB, free: 11.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.4583, allocations: 1.908 MB / 0.6185 GB, free: 8.473 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.4615, allocations: 2.665 MB / 0.6211 GB, free: 5.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/0.4615, allocations: 16 kB / 0.6211 GB, free: 5.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.003718/0.4652, allocations: 2.335 MB / 0.6234 GB, free: 2.758 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.4653, allocations: 24.19 kB / 0.6234 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/0.4653, allocations: 56 kB / 0.6235 GB, free: 2.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.669e-05/0.4654, allocations: 67.98 kB / 0.6236 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.4669, allocations: 491 kB / 0.624 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.16e-05/0.467, allocations: 99.58 kB / 0.6241 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.4685, allocations: 293.9 kB / 0.6244 GB, free: 1.746 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.4687, allocations: 128 kB / 0.6245 GB, free: 1.621 MB / 462.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 (269): * Single equations (assignments): 269 * 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.001289/0.47, allocations: 0.7581 MB / 0.6253 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.4702, allocations: 119.2 kB / 0.6254 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.4705, allocations: 135.3 kB / 0.6255 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.4705, allocations: 3.984 kB / 0.6255 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4705, allocations: 0 / 0.6255 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.4707, allocations: 99.12 kB / 0.6256 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.4708, allocations: 12 kB / 0.6256 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.4712, allocations: 19.97 kB / 0.6256 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.4712, allocations: 27.89 kB / 0.6257 GB, free: 448 kB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009323/0.4721, allocations: 0.5918 MB / 0.6262 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009091/0.4731, allocations: 0.7693 MB / 0.627 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003191/0.4734, allocations: 232.5 kB / 0.6272 GB, free: 14.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.4745, allocations: 0.7833 MB / 0.628 GB, free: 14.04 MB / 478.1 MB Notification: Performance of Backend: time 6.01e-07/0.4745, allocations: 0 / 0.628 GB, free: 14.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002524/0.477, allocations: 1.173 MB / 0.6291 GB, free: 12.87 MB / 478.1 MB Notification: Performance of SimCode: time 0.005004/0.482, allocations: 3.252 MB / 0.6323 GB, free: 9.57 MB / 478.1 MB Notification: Performance of Templates: time 0.02894/0.511, allocations: 14.81 MB / 0.6468 GB, free: 10.93 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.792961013998138]