Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001627/0.001627, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2258/0.2258, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00366/0.00366, allocations: 80.2 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3478, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01049/0.3583, allocations: 8.158 MB / 0.5692 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.3638, allocations: 2.668 MB / 0.5718 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008329/0.3647, allocations: 39.94 kB / 0.5718 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.3672, allocations: 1.304 MB / 0.5731 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.3683, allocations: 477.7 kB / 0.5736 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.3693, allocations: 411.1 kB / 0.5739 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3705, allocations: 1.04 MB / 0.575 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.3716, allocations: 0.8904 MB / 0.5758 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.3722, allocations: 0.5333 MB / 0.5764 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.3732, allocations: 0.8098 MB / 0.5771 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.3734, allocations: 120 kB / 0.5773 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009107/0.3743, allocations: 0.6084 MB / 0.5779 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006915/0.375, allocations: 0.7244 MB / 0.5786 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007176/0.3757, allocations: 0.7921 MB / 0.5793 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.3783, allocations: 2.49 MB / 0.5818 GB, free: 15.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3783, allocations: 3.938 kB / 0.5818 GB, free: 15.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3783, allocations: 0 / 0.5818 GB, free: 15.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.3784, allocations: 3.938 kB / 0.5818 GB, free: 15.86 MB / 430.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.004105/0.3825, allocations: 2.161 MB / 0.5839 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3825, allocations: 11.97 kB / 0.5839 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.3834, allocations: 271.4 kB / 0.5842 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.385, allocations: 0.8385 MB / 0.585 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/0.3851, allocations: 94.69 kB / 0.5851 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.3853, allocations: 124 kB / 0.5852 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007258/0.3926, allocations: 4.291 MB / 0.5894 GB, free: 7.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.3926, allocations: 15.88 kB / 0.5894 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.3928, allocations: 55.95 kB / 0.5894 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/0.3938, allocations: 0.7209 MB / 0.5901 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00728/0.4011, allocations: 3.512 MB / 0.5936 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0199/0.421, allocations: 14.45 MB / 0.6077 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.4251, allocations: 1.141 MB / 0.6088 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009701/0.4261, allocations: 0.6701 MB / 0.6095 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006513/0.4326, allocations: 3.933 MB / 0.6133 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4327, allocations: 42.56 kB / 0.6133 GB, free: 14.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.4327, allocations: 0 / 0.6133 GB, free: 14.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.006902/0.4396, allocations: 1.96 MB / 0.6153 GB, free: 12.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.4396, allocations: 55.41 kB / 0.6153 GB, free: 12.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.4417, allocations: 1.483 MB / 0.6168 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.4418, allocations: 37.7 kB / 0.6168 GB, free: 10.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009767/0.4428, allocations: 1.214 MB / 0.618 GB, free: 9.711 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.443, allocations: 190.6 kB / 0.6182 GB, free: 9.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.4435, allocations: 451.5 kB / 0.6186 GB, free: 9.074 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4437, allocations: 345.9 kB / 0.6189 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007796/0.4444, allocations: 0.539 MB / 0.6194 GB, free: 8.188 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.4464, allocations: 1.928 MB / 0.6213 GB, free: 5.559 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/0.4494, allocations: 2.67 MB / 0.6239 GB, free: 2.191 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.457e-05/0.4494, allocations: 12 kB / 0.6239 GB, free: 2.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.003732/0.4531, allocations: 2.379 MB / 0.6263 GB, free: 15.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.4532, allocations: 24 kB / 0.6263 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-05/0.4532, allocations: 52 kB / 0.6263 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.128e-05/0.4533, allocations: 64 kB / 0.6264 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.4547, allocations: 0.4996 MB / 0.6269 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.752e-05/0.4548, allocations: 95.64 kB / 0.627 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.4562, allocations: 309.7 kB / 0.6273 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.4564, allocations: 132 kB / 0.6274 GB, free: 14.62 MB / 478.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.001104/0.4575, allocations: 0.762 MB / 0.6281 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.4577, allocations: 127.2 kB / 0.6283 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.4579, allocations: 144.6 kB / 0.6284 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4579, allocations: 11.92 kB / 0.6284 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4579, allocations: 0 / 0.6284 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002693/0.4582, allocations: 192.2 kB / 0.6286 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4583, allocations: 12 kB / 0.6286 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.4587, allocations: 15.98 kB / 0.6286 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.4587, allocations: 27.95 kB / 0.6287 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009366/0.4597, allocations: 0.5927 MB / 0.6292 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009241/0.4606, allocations: 0.7813 MB / 0.63 GB, free: 11.92 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003482/0.4609, allocations: 219.8 kB / 0.6302 GB, free: 11.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00124/0.4622, allocations: 0.9085 MB / 0.6311 GB, free: 10.79 MB / 478.1 MB Notification: Performance of Backend: time 3.41e-07/0.4622, allocations: 0 / 0.6311 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.4648, allocations: 1.194 MB / 0.6323 GB, free: 9.605 MB / 478.1 MB Notification: Performance of SimCode: time 0.006659/0.4715, allocations: 3.301 MB / 0.6355 GB, free: 6.258 MB / 478.1 MB Notification: Performance of Templates: time 0.02889/0.5004, allocations: 14.66 MB / 0.6498 GB, free: 7.641 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.421060418710113]