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.001346/0.001346, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001034/0.001034, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.9261/0.9261, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2755/0.2755, allocations: 32.8 MB / 294.6 MB, free: 1.27 MB / 266.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 2.134e-06/2.134e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.865e-05/4.079e-05, allocations: 2.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006717/0.006758, allocations: 7.852 MB / 383.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004564/0.01132, allocations: 2.576 MB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008734/0.0122, allocations: 39.88 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.0139, allocations: 1.378 MB / 387.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008365/0.01474, allocations: 489.1 kB / 388.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.01548, allocations: 458.8 kB / 388.8 MB, free: 8.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009768/0.01646, allocations: 1.067 MB / 389.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008673/0.01732, allocations: 1.023 MB / 390.9 MB, free: 6.027 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000687/0.01801, allocations: 0.7638 MB / 391.6 MB, free: 5.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008768/0.01889, allocations: 0.7247 MB / 392.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.01903, allocations: 116 kB / 392.5 MB, free: 4.422 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006326/0.01966, allocations: 0.5965 MB / 393.1 MB, free: 3.824 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.02013, allocations: 0.7557 MB / 393.8 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.02052, allocations: 474.5 kB / 394.3 MB, free: 2.602 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.02201, allocations: 1.713 MB / 396 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.02202, allocations: 0 / 396 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02202, allocations: 0 / 396 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.542e-05/0.02206, allocations: 3.984 kB / 396 MB, free: 0.8789 MB / 362.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.002757/0.02481, allocations: 2.236 MB / 398.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.02486, allocations: 12.03 kB / 398.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006723/0.02553, allocations: 391.4 kB / 398.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008367/0.02637, allocations: 0.7254 MB / 399.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.02641, allocations: 90.7 kB / 399.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.02657, allocations: 128.4 kB / 399.6 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/0.02985, allocations: 2.772 MB / 402.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.02988, allocations: 11.88 kB / 402.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.02996, allocations: 55.95 kB / 402.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005925/0.03056, allocations: 0.721 MB / 403.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.03351, allocations: 1.671 MB / 404.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.04414, allocations: 14.73 MB / 419.5 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.04649, allocations: 0.852 MB / 420.4 MB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.04683, allocations: 277.1 kB / 420.7 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/0.04937, allocations: 2.153 MB / 422.8 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.0494, allocations: 37.39 kB / 422.8 MB, free: 5.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.0494, allocations: 0 / 422.8 MB, free: 5.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.003946/0.05335, allocations: 1.546 MB / 424.4 MB, free: 3.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.05339, allocations: 59.41 kB / 424.4 MB, free: 3.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.0546, allocations: 1.287 MB / 425.7 MB, free: 2.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.05463, allocations: 33.7 kB / 425.8 MB, free: 2.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008942/0.05552, allocations: 1.287 MB / 427.1 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.05564, allocations: 202.7 kB / 427.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003498/0.05599, allocations: 457.3 kB / 427.7 MB, free: 192 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.05614, allocations: 0.5159 MB / 428.2 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.05643, allocations: 208.1 kB / 428.4 MB, free: 15.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.05757, allocations: 2.249 MB / 430.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.05966, allocations: 2.705 MB / 433.4 MB, free: 8.586 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/0.05968, allocations: 12 kB / 433.4 MB, free: 8.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.0022/0.06188, allocations: 1.815 MB / 435.2 MB, free: 6.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.06192, allocations: 28 kB / 435.2 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.105e-05/0.06196, allocations: 48 kB / 435.3 MB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.109e-05/0.06202, allocations: 64 kB / 435.3 MB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/0.06285, allocations: 491 kB / 435.8 MB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-05/0.06292, allocations: 99.58 kB / 435.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/0.06383, allocations: 290.5 kB / 436.2 MB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/0.06393, allocations: 139.9 kB / 436.3 MB, free: 5.617 MB / 410.7 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.0005066/0.06444, allocations: 355.4 kB / 436.7 MB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.06457, allocations: 127.2 kB / 436.8 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.06469, allocations: 119.3 kB / 436.9 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.06469, allocations: 4 kB / 436.9 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.0647, allocations: 0 / 436.9 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.0647, allocations: 7.984 kB / 436.9 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.06686, allocations: 2.018 MB / 439 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.06687, allocations: 9 kB / 439 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.06706, allocations: 95.84 kB / 439.1 MB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.06707, allocations: 27.92 kB / 439.1 MB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.06709, allocations: 20 kB / 439.1 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.0671, allocations: 15.94 kB / 439.1 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003044/0.06741, allocations: 15.94 kB / 439.1 MB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.06812, allocations: 0.8895 MB / 440 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.06827, allocations: 123 kB / 440.1 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.06834, allocations: 20 kB / 440.2 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.06857, allocations: 27.98 kB / 440.2 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.06864, allocations: 63.69 kB / 440.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.06866, allocations: 24 kB / 440.3 MB, free: 1.258 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005466/0.0692, allocations: 0.5997 MB / 440.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.0692, allocations: 0 / 440.9 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001295/0.0705, allocations: 434.7 kB / 441.3 MB, free: 232 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (55): * Single equations (assignments): 55 * 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.0001957/0.07069, allocations: 138.9 kB / 441.4 MB, free: 80 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.07184, allocations: 0.8956 MB / 442.3 MB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.07184, allocations: 4 kB / 442.3 MB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.07201, allocations: 174.5 kB / 442.5 MB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.07263, allocations: 168.3 kB / 442.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.07568, allocations: 2.833 MB / 445.5 MB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.07602, allocations: 451 kB / 445.9 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009808/0.077, allocations: 0.4946 MB / 446.4 MB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.07712, allocations: 80.5 kB / 446.5 MB, free: 10.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.07712, allocations: 0 / 446.5 MB, free: 10.76 MB / 426.7 MB Notification: Performance of Templates: time 0.03229/0.1094, allocations: 8.699 MB / 455.2 MB, free: 2.23 MB / 426.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.5997036120388657]