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.0008455/0.0008455, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0008389/0.0008389, allocations: 170.5 kB / 24.91 MB, free: 9.18 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.3097/0.3097, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 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.[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.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 4 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.233e-05, allocations: 3.188 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007123/0.007156, allocations: 7.733 MB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.0121, allocations: 2.659 MB / 335.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008868/0.01298, allocations: 39.94 kB / 335.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.01451, allocations: 1.355 MB / 337.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008617/0.01538, allocations: 0.4893 MB / 337.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.01611, allocations: 450.8 kB / 338 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01719, allocations: 1.06 MB / 339.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.0183, allocations: 1.051 MB / 340.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00093/0.01923, allocations: 0.8262 MB / 341 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007513/0.01998, allocations: 0.6818 MB / 341.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.02012, allocations: 116 kB / 341.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007336/0.02085, allocations: 0.5809 MB / 342.3 MB, free: 6.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.02132, allocations: 0.744 MB / 343.1 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.0217, allocations: 466.4 kB / 343.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.02322, allocations: 1.685 MB / 345.2 MB, free: 3.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.02323, allocations: 0 / 345.2 MB, free: 3.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02323, allocations: 0 / 345.2 MB, free: 3.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.662e-05/0.02325, allocations: 0 / 345.2 MB, free: 3.605 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.002119/0.02537, allocations: 1.847 MB / 347.1 MB, free: 1.723 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.02541, allocations: 15.97 kB / 347.1 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005445/0.02596, allocations: 248.7 kB / 347.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.02675, allocations: 0.6111 MB / 347.9 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.02681, allocations: 86.7 kB / 348 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.02696, allocations: 124.5 kB / 348.1 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.02947, allocations: 2.045 MB / 350.2 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.0295, allocations: 7.938 kB / 350.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/0.02958, allocations: 55.94 kB / 350.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005666/0.03015, allocations: 0.6897 MB / 350.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.03227, allocations: 1.073 MB / 352 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009065/0.04133, allocations: 10.69 MB / 362.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.04331, allocations: 0.875 MB / 363.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.0435, allocations: 166.3 kB / 363.7 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002088/0.04559, allocations: 1.77 MB / 365.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.04562, allocations: 38.89 kB / 365.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 2.535e-06/0.04562, allocations: 0 / 365.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003004/0.04862, allocations: 1.266 MB / 366.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.04865, allocations: 59.41 kB / 366.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/0.04941, allocations: 1.102 MB / 368 MB, free: 12.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.04943, allocations: 33.7 kB / 368 MB, free: 12.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/0.04993, allocations: 1.187 MB / 369.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.05002, allocations: 178.8 kB / 369.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.0503, allocations: 419.3 kB / 369.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.05039, allocations: 345.8 kB / 370.1 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.05059, allocations: 195.1 kB / 370.3 MB, free: 9.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.05138, allocations: 1.581 MB / 371.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.05276, allocations: 2.051 MB / 373.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/0.05279, allocations: 19.94 kB / 373.9 MB, free: 4.637 MB / 346.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00145/0.05424, allocations: 1.443 MB / 375.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.05427, allocations: 24 kB / 375.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.0543, allocations: 52 kB / 375.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.555e-05/0.05434, allocations: 72.06 kB / 375.5 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.05509, allocations: 499.1 kB / 376 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.245e-05/0.05514, allocations: 103.6 kB / 376.1 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007133/0.05585, allocations: 293.8 kB / 376.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.05593, allocations: 116 kB / 376.5 MB, free: 2.051 MB / 346.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.0003802/0.05631, allocations: 311.4 kB / 376.8 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.05639, allocations: 79.92 kB / 376.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.0565, allocations: 111.1 kB / 377 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.0565, allocations: 4 kB / 377 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.0565, allocations: 0 / 377 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.05651, allocations: 3.984 kB / 377 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.05823, allocations: 1.947 MB / 379 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.05824, allocations: 8 kB / 379 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.05841, allocations: 103.8 kB / 379.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.05842, allocations: 16.81 kB / 379.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.05844, allocations: 24 kB / 379.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.05846, allocations: 31.86 kB / 379.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.05847, allocations: 15.94 kB / 379.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.05892, allocations: 0.6902 MB / 379.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.05903, allocations: 127 kB / 380 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.05909, allocations: 27.98 kB / 380 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.05928, allocations: 16 kB / 380 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.05933, allocations: 79.61 kB / 380.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.05935, allocations: 24 kB / 380.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.05967, allocations: 430 kB / 380.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05967, allocations: 0 / 380.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001034/0.0607, allocations: 422.8 kB / 381 MB, free: 13.14 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.0001436/0.06085, allocations: 120.1 kB / 381.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.06157, allocations: 0.8018 MB / 381.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.008e-05/0.06162, allocations: 32.34 kB / 381.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.06175, allocations: 156.9 kB / 382.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.06229, allocations: 182.9 kB / 382.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.06542, allocations: 2.9 MB / 385.1 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.06579, allocations: 447.3 kB / 385.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004147/0.0662, allocations: 175.2 kB / 385.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.06645, allocations: 223.3 kB / 386 MB, free: 7.883 MB / 362.7 MB Notification: Performance of SimCode: time 2.625e-06/0.06645, allocations: 0 / 386 MB, free: 7.883 MB / 362.7 MB Notification: Performance of Templates: time 0.01517/0.08162, allocations: 8.927 MB / 394.9 MB, free: 15.09 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.21873210510239]