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.001505/0.001505, 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.001018/0.001018, allocations: 173.3 kB / 24.91 MB, free: 9.199 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.041/1.041, 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.295/0.295, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.453e-06/1.453e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.297e-05, allocations: 3.406 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006467/0.00649, allocations: 7.731 MB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004702/0.01119, allocations: 2.666 MB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009443/0.01214, allocations: 43.88 kB / 333.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.01365, allocations: 1.347 MB / 335.1 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008413/0.01449, allocations: 493.1 kB / 335.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.01516, allocations: 454.8 kB / 336 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.01601, allocations: 1.062 MB / 337.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/0.01682, allocations: 1.058 MB / 338.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.01754, allocations: 0.8224 MB / 338.9 MB, free: 9.891 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.01823, allocations: 0.6817 MB / 339.6 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.01835, allocations: 112 kB / 339.7 MB, free: 9.098 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.01904, allocations: 0.5887 MB / 340.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.01948, allocations: 0.7363 MB / 341 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.0198, allocations: 474.4 kB / 341.5 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.02123, allocations: 1.693 MB / 343.2 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.02124, allocations: 0 / 343.2 MB, free: 5.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.02124, allocations: 0 / 343.2 MB, free: 5.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.02126, allocations: 0 / 343.2 MB, free: 5.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.002111/0.02337, allocations: 1.836 MB / 345 MB, free: 3.734 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.02341, allocations: 12.03 kB / 345.1 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005159/0.02393, allocations: 252.7 kB / 345.3 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.02461, allocations: 0.6072 MB / 345.9 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.02466, allocations: 94.69 kB / 346 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.02483, allocations: 120.5 kB / 346.1 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.02714, allocations: 2.052 MB / 348.2 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.02717, allocations: 7.938 kB / 348.2 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.02725, allocations: 59.94 kB / 348.2 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005416/0.02779, allocations: 0.6858 MB / 348.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.02958, allocations: 1.065 MB / 350 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007215/0.0368, allocations: 10.69 MB / 360.7 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.03877, allocations: 0.8685 MB / 361.5 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.03897, allocations: 166.3 kB / 361.7 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002037/0.04101, allocations: 1.77 MB / 363.5 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.04103, allocations: 34.89 kB / 363.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.04103, allocations: 4 kB / 363.5 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.00289/0.04392, allocations: 1.266 MB / 364.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.04395, allocations: 63.39 kB / 364.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007134/0.04466, allocations: 1.102 MB / 365.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.04468, allocations: 29.7 kB / 366 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.04519, allocations: 1.187 MB / 367.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.04528, allocations: 182.7 kB / 367.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.04557, allocations: 423.2 kB / 367.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.04567, allocations: 345.8 kB / 368.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.04587, allocations: 199.1 kB / 368.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009463/0.04681, allocations: 1.573 MB / 369.9 MB, free: 9.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.04829, allocations: 2.051 MB / 371.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.04831, allocations: 16 kB / 371.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00139/0.0497, allocations: 1.438 MB / 373.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.04974, allocations: 24 kB / 373.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/0.04978, allocations: 52 kB / 373.4 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.493e-05/0.04983, allocations: 68 kB / 373.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.05061, allocations: 0.4919 MB / 374 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-05/0.05066, allocations: 107.6 kB / 374.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/0.05141, allocations: 297.8 kB / 374.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-05/0.05149, allocations: 116 kB / 374.5 MB, free: 4.059 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.0006112/0.0521, allocations: 311.4 kB / 374.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.05219, allocations: 71.92 kB / 374.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.05231, allocations: 115.1 kB / 375 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.05232, allocations: 4 kB / 375 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.05232, allocations: 4 kB / 375 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.05233, allocations: 0 / 375 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.05424, allocations: 1.952 MB / 376.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.05425, allocations: 8 kB / 377 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.05444, allocations: 99.84 kB / 377.1 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.05445, allocations: 16 kB / 377.1 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.05447, allocations: 24 kB / 377.1 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.626e-05/0.05449, allocations: 27.86 kB / 377.1 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/0.0545, allocations: 15.94 kB / 377.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.05502, allocations: 0.6913 MB / 377.8 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.05513, allocations: 127 kB / 377.9 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.543e-05/0.0552, allocations: 27.98 kB / 378 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.0554, allocations: 24 kB / 378 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.05546, allocations: 71.62 kB / 378.1 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.05549, allocations: 27.98 kB / 378.1 MB, free: 0 / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003634/0.05585, allocations: 442 kB / 378.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05585, allocations: 3.938 kB / 378.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00122/0.05707, allocations: 418.8 kB / 378.9 MB, free: 15.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.0001825/0.05725, allocations: 113.3 kB / 379.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007653/0.05802, allocations: 0.8106 MB / 379.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.948e-05/0.05807, allocations: 31.84 kB / 379.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.05819, allocations: 153 kB / 380 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.05877, allocations: 183.5 kB / 380.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.06196, allocations: 2.892 MB / 383.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.06233, allocations: 447.3 kB / 383.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.06275, allocations: 183.2 kB / 383.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.06302, allocations: 227.3 kB / 384 MB, free: 9.879 MB / 362.7 MB Notification: Performance of SimCode: time 3.627e-06/0.06302, allocations: 0 / 384 MB, free: 9.879 MB / 362.7 MB Notification: Performance of Templates: time 0.01716/0.08018, allocations: 8.925 MB / 392.9 MB, free: 1.094 MB / 362.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 -s gbode -gbm=radauIIA3 -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.297667912207544]