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.001074/0.001074, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001171/0.001171, allocations: 166 kB / 24.82 MB, free: 9.266 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2669/0.2669, allocations: 32.81 MB / 294.6 MB, free: 1.172 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 1.704e-06/1.704e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.889e-05, allocations: 6.25 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01561/0.01563, allocations: 7.673 MB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.02041, allocations: 2.56 MB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.02083, allocations: 39.88 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.02263, allocations: 1.37 MB / 388.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.02335, allocations: 485.1 kB / 388.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.02401, allocations: 466.8 kB / 389.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.02485, allocations: 1.063 MB / 390.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.02574, allocations: 1.019 MB / 391.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008006/0.02654, allocations: 0.834 MB / 392 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007411/0.02728, allocations: 0.7091 MB / 392.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.02742, allocations: 108 kB / 392.8 MB, free: 3.977 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.02807, allocations: 0.577 MB / 393.4 MB, free: 3.398 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.02882, allocations: 0.7362 MB / 394.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.0292, allocations: 470.5 kB / 394.6 MB, free: 2.199 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.0306, allocations: 1.689 MB / 396.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.03061, allocations: 0 / 396.3 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.03061, allocations: 4 kB / 396.3 MB, free: 0.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.03062, allocations: 0 / 396.3 MB, free: 0.5 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.002468/0.03309, allocations: 2.115 MB / 398.4 MB, free: 14.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.03312, allocations: 8.031 kB / 398.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.03375, allocations: 355.4 kB / 398.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.0345, allocations: 0.667 MB / 399.4 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.908e-05/0.03456, allocations: 86.7 kB / 399.5 MB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.03475, allocations: 128.5 kB / 399.6 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.0382, allocations: 2.28 MB / 401.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.03823, allocations: 15.88 kB / 401.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.03834, allocations: 55.94 kB / 402 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007518/0.03909, allocations: 0.6858 MB / 402.6 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.0416, allocations: 1.151 MB / 403.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.05206, allocations: 14.48 MB / 418.3 MB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.05483, allocations: 0.8468 MB / 419.1 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.05511, allocations: 217.1 kB / 419.3 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002838/0.05795, allocations: 1.939 MB / 421.3 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.05798, allocations: 41.66 kB / 421.3 MB, free: 6.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.05798, allocations: 4 kB / 421.3 MB, free: 6.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.005617/0.0636, allocations: 1.425 MB / 422.7 MB, free: 5.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.06364, allocations: 59.34 kB / 422.8 MB, free: 5.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.06503, allocations: 1.319 MB / 424.1 MB, free: 3.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.06506, allocations: 33.7 kB / 424.1 MB, free: 3.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008225/0.06588, allocations: 1.322 MB / 425.5 MB, free: 2.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.06602, allocations: 186.8 kB / 425.7 MB, free: 2.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/0.06653, allocations: 477 kB / 426.1 MB, free: 1.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.0667, allocations: 0.512 MB / 426.6 MB, free: 1.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.06696, allocations: 152.1 kB / 426.8 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.06871, allocations: 2.254 MB / 429 MB, free: 13.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.07075, allocations: 2.676 MB / 431.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.07078, allocations: 19.94 kB / 431.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002196/0.07297, allocations: 1.69 MB / 433.4 MB, free: 8.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.07301, allocations: 28 kB / 433.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-05/0.07306, allocations: 48 kB / 433.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.523e-05/0.07313, allocations: 72.06 kB / 433.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.07422, allocations: 491 kB / 434 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.13e-05/0.07429, allocations: 103.6 kB / 434.1 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.07533, allocations: 285.9 kB / 434.4 MB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.07546, allocations: 116 kB / 434.5 MB, free: 7.258 MB / 410.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.0007259/0.07618, allocations: 363.2 kB / 434.9 MB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.07632, allocations: 131.2 kB / 435 MB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.07647, allocations: 119.1 kB / 435.1 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.07648, allocations: 4 kB / 435.1 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.07648, allocations: 0 / 435.1 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.07649, allocations: 3.938 kB / 435.1 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.0792, allocations: 2.279 MB / 437.4 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.07921, allocations: 12 kB / 437.4 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.07946, allocations: 96.69 kB / 437.5 MB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.07948, allocations: 12 kB / 437.5 MB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.07951, allocations: 24 kB / 437.6 MB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.499e-05/0.07952, allocations: 27.92 kB / 437.6 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/0.07954, allocations: 23.88 kB / 437.6 MB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.08028, allocations: 0.8499 MB / 438.5 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.08044, allocations: 131 kB / 438.6 MB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.08053, allocations: 20 kB / 438.6 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.08089, allocations: 27.98 kB / 438.6 MB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.08097, allocations: 75.62 kB / 438.7 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.08099, allocations: 20 kB / 438.7 MB, free: 2.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006275/0.08162, allocations: 0.5729 MB / 439.3 MB, free: 1.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08162, allocations: 0 / 439.3 MB, free: 1.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001578/0.0832, allocations: 422.8 kB / 439.7 MB, free: 1.543 MB / 410.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.0001745/0.08337, allocations: 134.9 kB / 439.9 MB, free: 1.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.08447, allocations: 0.8553 MB / 440.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.08448, allocations: 4 kB / 440.7 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.08469, allocations: 163.8 kB / 440.9 MB, free: 388 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/0.08561, allocations: 192.3 kB / 441.1 MB, free: 208 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.08904, allocations: 2.9 MB / 444 MB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.08949, allocations: 447.3 kB / 444.4 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000361/0.08986, allocations: 187.1 kB / 444.6 MB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.09008, allocations: 250.1 kB / 444.8 MB, free: 12.15 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/0.09008, allocations: 4 kB / 444.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of Templates: time 0.01584/0.1059, allocations: 8.919 MB / 453.7 MB, free: 3.324 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.5109296748414636]