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.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.001395/0.001395, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001166/0.001166, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9117/0.9117, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1363/0.1363, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] 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.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.[0-9,]+.|rRod2_ib.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.|jointUPS.frame_b.r_0.[0-9,]+.|jointUPS.frame_b.f.[0-9,]+.|jointUPS.frame_b.t.[0-9,]+.|jointUPS.frame_ia.r_0.[0-9,]+.|jointUPS.frame_ia.f.[0-9,]+.|jointUPS.frame_ia.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rRod1_ia.[0-9,]+.|rRod2_ib.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.|jointUPS.frame_b.r_0.[0-9,]+.|jointUPS.frame_b.f.[0-9,]+.|jointUPS.frame_b.t.[0-9,]+.|jointUPS.frame_ia.r_0.[0-9,]+.|jointUPS.frame_ia.f.[0-9,]+.|jointUPS.frame_ia.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.023e-05, allocations: 5.688 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.005007/0.005027, allocations: 7.669 MB / 384.9 MB, free: 17.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.008757, allocations: 2.562 MB / 387.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.009423, allocations: 43.88 kB / 387.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.01078, allocations: 1.359 MB / 388.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006812/0.01146, allocations: 489.1 kB / 389.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.01205, allocations: 462.8 kB / 389.8 MB, free: 13 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007998/0.01285, allocations: 1.067 MB / 390.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007139/0.01356, allocations: 1.019 MB / 391.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006631/0.01423, allocations: 0.8341 MB / 392.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.01487, allocations: 0.709 MB / 393.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.01501, allocations: 116 kB / 393.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005926/0.0156, allocations: 0.5693 MB / 394.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.01595, allocations: 0.7363 MB / 394.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.01624, allocations: 470.4 kB / 395.3 MB, free: 7.453 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.0174, allocations: 1.689 MB / 397 MB, free: 5.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.0174, allocations: 0 / 397 MB, free: 5.758 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.0174, allocations: 0 / 397 MB, free: 5.758 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.01744, allocations: 0 / 397 MB, free: 5.758 MB / 314.7 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.002205/0.01964, allocations: 2.122 MB / 399.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.01968, allocations: 15.97 kB / 399.2 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/0.02027, allocations: 347.5 kB / 399.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.02102, allocations: 0.6516 MB / 400.2 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.02108, allocations: 82.7 kB / 400.2 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.02123, allocations: 132.4 kB / 400.4 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.02396, allocations: 2.284 MB / 402.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.02399, allocations: 11.88 kB / 402.7 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.02409, allocations: 55.94 kB / 402.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000614/0.02471, allocations: 0.6936 MB / 403.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.02713, allocations: 1.151 MB / 404.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00985/0.03698, allocations: 14.48 MB / 419.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.03913, allocations: 0.8544 MB / 419.9 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.03936, allocations: 221.1 kB / 420.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/0.04168, allocations: 1.923 MB / 422 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.04171, allocations: 41.72 kB / 422.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/0.04171, allocations: 0 / 422.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003401/0.04512, allocations: 1.425 MB / 423.5 MB, free: 10.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.04516, allocations: 63.33 kB / 423.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.04625, allocations: 1.327 MB / 424.9 MB, free: 8.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.04628, allocations: 37.69 kB / 424.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.04694, allocations: 1.322 MB / 426.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.04706, allocations: 186.7 kB / 426.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/0.0474, allocations: 473 kB / 426.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.04754, allocations: 0.5159 MB / 427.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.0477, allocations: 152.1 kB / 427.6 MB, free: 6.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.04882, allocations: 2.25 MB / 429.8 MB, free: 2.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.0507, allocations: 2.676 MB / 432.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.205e-05/0.05073, allocations: 12 kB / 432.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001764/0.05249, allocations: 1.693 MB / 434.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.05253, allocations: 28.06 kB / 434.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/0.05256, allocations: 52 kB / 434.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.652e-05/0.05261, allocations: 71.98 kB / 434.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.05334, allocations: 491 kB / 434.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.691e-05/0.05338, allocations: 91.66 kB / 434.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/0.05419, allocations: 289.8 kB / 435.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.05428, allocations: 112 kB / 435.3 MB, free: 12.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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.0005023/0.05478, allocations: 363.3 kB / 435.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.0549, allocations: 127.2 kB / 435.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.05502, allocations: 119.1 kB / 435.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.05503, allocations: 4 kB / 435.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.05503, allocations: 0 / 435.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.05504, allocations: 3.938 kB / 435.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.05729, allocations: 2.284 MB / 438.2 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.0573, allocations: 16 kB / 438.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.05747, allocations: 95.88 kB / 438.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.05748, allocations: 20 kB / 438.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.0575, allocations: 27.94 kB / 438.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/0.05751, allocations: 23.92 kB / 438.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.05752, allocations: 15.94 kB / 438.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.05808, allocations: 0.8616 MB / 439.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.05821, allocations: 127.1 kB / 439.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.05827, allocations: 20 kB / 439.4 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.05849, allocations: 20 kB / 439.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.05855, allocations: 83.55 kB / 439.5 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.05857, allocations: 24 kB / 439.5 MB, free: 7.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004227/0.05899, allocations: 0.569 MB / 440.1 MB, free: 7.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.05899, allocations: 4 kB / 440.1 MB, free: 7.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001159/0.06015, allocations: 422.8 kB / 440.5 MB, free: 6.777 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.0001585/0.06031, allocations: 123 kB / 440.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008466/0.06115, allocations: 0.8565 MB / 441.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.06116, allocations: 0 / 441.5 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.06129, allocations: 167.8 kB / 441.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.06188, allocations: 182 kB / 441.8 MB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.0646, allocations: 2.908 MB / 444.7 MB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.06494, allocations: 447.3 kB / 445.2 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.06533, allocations: 183.1 kB / 445.4 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.06558, allocations: 258.1 kB / 445.6 MB, free: 1.391 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.06558, allocations: 0 / 445.6 MB, free: 1.391 MB / 362.7 MB Notification: Performance of Templates: time 0.01493/0.08051, allocations: 9.106 MB / 454.7 MB, free: 8.465 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4877994577400386]