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.0009907/0.0009907, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009221/0.0009221, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9288/0.9288, allocations: 177.1 MB / 205 MB, free: 5.598 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.2928/0.2928, allocations: 32.8 MB / 294.3 MB, free: 1.25 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.553e-06/1.553e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.622e-05, allocations: 6.312 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007372/0.007399, allocations: 7.864 MB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005362/0.01276, allocations: 2.587 MB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.01392, allocations: 43.88 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.01579, allocations: 1.378 MB / 387.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009319/0.01672, allocations: 497 kB / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009295/0.01765, allocations: 462.8 kB / 388.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.01877, allocations: 1.059 MB / 389.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.01992, allocations: 1.023 MB / 390.9 MB, free: 5.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.02093, allocations: 0.8302 MB / 391.8 MB, free: 4.828 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000882/0.02181, allocations: 0.7129 MB / 392.5 MB, free: 4.113 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.02199, allocations: 112 kB / 392.6 MB, free: 4.004 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007134/0.02271, allocations: 0.5809 MB / 393.2 MB, free: 3.422 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.02322, allocations: 0.7518 MB / 393.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.02365, allocations: 458.5 kB / 394.4 MB, free: 2.219 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.02542, allocations: 1.693 MB / 396 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.02543, allocations: 0 / 396 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.02543, allocations: 0 / 396 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.949e-05/0.02547, allocations: 0 / 396 MB, free: 0.5195 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.0027/0.02817, allocations: 2.216 MB / 398.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.02821, allocations: 8.031 kB / 398.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006082/0.02881, allocations: 383.3 kB / 398.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.0296, allocations: 0.7179 MB / 399.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/0.02965, allocations: 94.69 kB / 399.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.02982, allocations: 120.5 kB / 399.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.03334, allocations: 2.768 MB / 402.3 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.03337, allocations: 7.938 kB / 402.3 MB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/0.03346, allocations: 59.94 kB / 402.4 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006136/0.03407, allocations: 0.7248 MB / 403.1 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.03716, allocations: 1.671 MB / 404.8 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.04879, allocations: 14.63 MB / 419.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.05176, allocations: 0.8898 MB / 420.3 MB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.05214, allocations: 253.1 kB / 420.6 MB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00297/0.05511, allocations: 2.048 MB / 422.6 MB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.05515, allocations: 45.7 kB / 422.7 MB, free: 4.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/0.05515, allocations: 4 kB / 422.7 MB, free: 4.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.00466/0.05981, allocations: 1.472 MB / 424.1 MB, free: 3.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.05984, allocations: 59.34 kB / 424.2 MB, free: 3.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.06111, allocations: 1.328 MB / 425.5 MB, free: 2.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.06114, allocations: 33.7 kB / 425.6 MB, free: 2.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000757/0.06189, allocations: 1.314 MB / 426.9 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.06202, allocations: 182.8 kB / 427 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/0.06245, allocations: 461.2 kB / 427.5 MB, free: 88 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.06261, allocations: 0.5238 MB / 428 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.06294, allocations: 192.1 kB / 428.2 MB, free: 15.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.06454, allocations: 2.274 MB / 430.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.0666, allocations: 2.727 MB / 433.2 MB, free: 8.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.06663, allocations: 16 kB / 433.2 MB, free: 8.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002468/0.0691, allocations: 1.798 MB / 435 MB, free: 6.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.06913, allocations: 28 kB / 435.1 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.236e-05/0.06917, allocations: 48 kB / 435.1 MB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.689e-05/0.06924, allocations: 71.98 kB / 435.2 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/0.07024, allocations: 495 kB / 435.7 MB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-05/0.07031, allocations: 100.2 kB / 435.8 MB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/0.07122, allocations: 297.9 kB / 436 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.07135, allocations: 132 kB / 436.2 MB, free: 5.43 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.000364/0.07171, allocations: 355.3 kB / 436.5 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.07183, allocations: 131.2 kB / 436.6 MB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.07196, allocations: 119.1 kB / 436.8 MB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.07197, allocations: 4 kB / 436.8 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.07198, allocations: 0 / 436.8 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.07198, allocations: 11.92 kB / 436.8 MB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.07438, allocations: 2.288 MB / 439.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.07439, allocations: 12 kB / 439.1 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.07461, allocations: 95.83 kB / 439.2 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.07463, allocations: 16 kB / 439.2 MB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.07465, allocations: 24 kB / 439.2 MB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-05/0.07467, allocations: 27.86 kB / 439.2 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.07468, allocations: 15.94 kB / 439.3 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007198/0.0754, allocations: 0.8659 MB / 440.1 MB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.07552, allocations: 127.1 kB / 440.2 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.07562, allocations: 27.98 kB / 440.3 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.07591, allocations: 27.98 kB / 440.3 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.07598, allocations: 75.62 kB / 440.4 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.07601, allocations: 28 kB / 440.4 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009219/0.07693, allocations: 0.6083 MB / 441 MB, free: 64 kB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07693, allocations: 3.938 kB / 441 MB, free: 60 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001316/0.07825, allocations: 422.8 kB / 441.4 MB, free: 15.64 MB / 426.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.0001657/0.07841, allocations: 131 kB / 441.6 MB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.07948, allocations: 0.8997 MB / 442.5 MB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.07949, allocations: 4 kB / 442.5 MB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.07968, allocations: 175.8 kB / 442.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007976/0.08048, allocations: 172.3 kB / 442.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.08378, allocations: 2.908 MB / 445.7 MB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.08421, allocations: 447.3 kB / 446.1 MB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009365/0.08514, allocations: 0.5063 MB / 446.6 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.08528, allocations: 80.5 kB / 446.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.08528, allocations: 0 / 446.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of Templates: time 0.01648/0.1018, allocations: 8.632 MB / 455.4 MB, free: 1.578 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.6916631190106273]