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.0009333/0.0009333, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009768/0.0009768, allocations: 161 kB / 24.56 MB, free: 16 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.9679/0.9679, allocations: 177.1 MB / 205 MB, free: 5.59 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.2647/0.2647, allocations: 34.25 MB / 295.7 MB, free: 0.7383 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.054e-06/2.054e-06, allocations: 0 / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.171e-05, allocations: 2.312 kB / 378 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007381/0.007412, allocations: 7.875 MB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.01191, allocations: 2.58 MB / 388.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.01273, allocations: 43.88 kB / 388.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.01446, allocations: 1.382 MB / 389.9 MB, free: 6.703 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008276/0.01529, allocations: 497.1 kB / 390.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.01599, allocations: 450.8 kB / 390.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009875/0.01698, allocations: 1.063 MB / 391.9 MB, free: 4.707 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009457/0.01792, allocations: 1.027 MB / 392.9 MB, free: 3.656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.01872, allocations: 0.756 MB / 393.7 MB, free: 2.898 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008836/0.01961, allocations: 0.7363 MB / 394.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.01977, allocations: 116 kB / 394.5 MB, free: 2.047 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007077/0.02048, allocations: 0.5965 MB / 395.1 MB, free: 1.449 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000492/0.02097, allocations: 0.748 MB / 395.9 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.02144, allocations: 474.4 kB / 396.4 MB, free: 240 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.02314, allocations: 1.716 MB / 398.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.02315, allocations: 0 / 398.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.02315, allocations: 8 kB / 398.1 MB, free: 14.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.02319, allocations: 0 / 398.1 MB, free: 14.5 MB / 378.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.002657/0.02585, allocations: 2.232 MB / 400.3 MB, free: 12.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.02589, allocations: 12.03 kB / 400.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000671/0.02656, allocations: 383.4 kB / 400.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008971/0.02746, allocations: 0.7332 MB / 401.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.02751, allocations: 86.69 kB / 401.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/0.02781, allocations: 120.5 kB / 401.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.03129, allocations: 2.776 MB / 404.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.03131, allocations: 11.88 kB / 404.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/0.03141, allocations: 55.94 kB / 404.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006205/0.03203, allocations: 0.721 MB / 405.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.03516, allocations: 1.675 MB / 406.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.04549, allocations: 14.73 MB / 421.6 MB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.04773, allocations: 0.8595 MB / 422.5 MB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.04807, allocations: 281.1 kB / 422.7 MB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/0.05074, allocations: 2.145 MB / 424.9 MB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.05077, allocations: 41.39 kB / 424.9 MB, free: 2.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/0.05077, allocations: 0 / 424.9 MB, free: 2.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.003464/0.05424, allocations: 1.535 MB / 426.5 MB, free: 1.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.05427, allocations: 63.39 kB / 426.5 MB, free: 1.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.05531, allocations: 1.291 MB / 427.8 MB, free: 15.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.05533, allocations: 37.7 kB / 427.8 MB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.05589, allocations: 1.295 MB / 429.1 MB, free: 14.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.056, allocations: 198.7 kB / 429.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.05634, allocations: 457.3 kB / 429.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.05646, allocations: 0.5159 MB / 430.3 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.0569, allocations: 208.1 kB / 430.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.05799, allocations: 2.237 MB / 432.7 MB, free: 9.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.05972, allocations: 2.713 MB / 435.4 MB, free: 6.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/0.05974, allocations: 12 kB / 435.5 MB, free: 6.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002027/0.06177, allocations: 1.815 MB / 437.3 MB, free: 4.387 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.0618, allocations: 26.03 kB / 437.3 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.06183, allocations: 52 kB / 437.4 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.932e-05/0.06188, allocations: 64 kB / 437.4 MB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/0.06265, allocations: 491 kB / 437.9 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.314e-05/0.0627, allocations: 95.64 kB / 438 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/0.06339, allocations: 289.9 kB / 438.3 MB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.06348, allocations: 131.9 kB / 438.4 MB, free: 3.262 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.0003968/0.06388, allocations: 367.5 kB / 438.8 MB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.06397, allocations: 123.2 kB / 438.9 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.06409, allocations: 119.3 kB / 439 MB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.06409, allocations: 4 kB / 439 MB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.0641, allocations: 3.984 kB / 439 MB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.0641, allocations: 0 / 439 MB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.06615, allocations: 2.022 MB / 441 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.06616, allocations: 8 kB / 441 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.06635, allocations: 103.8 kB / 441.1 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.06636, allocations: 15.94 kB / 441.1 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.06638, allocations: 24.69 kB / 441.2 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.06639, allocations: 15.94 kB / 441.2 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.0664, allocations: 15.94 kB / 441.2 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.06699, allocations: 0.8895 MB / 442.1 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.06711, allocations: 127 kB / 442.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.06717, allocations: 23.98 kB / 442.2 MB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.06739, allocations: 24 kB / 442.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.06745, allocations: 71.67 kB / 442.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.06747, allocations: 24 kB / 442.4 MB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006453/0.06812, allocations: 0.5958 MB / 443 MB, free: 14.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06812, allocations: 0 / 443 MB, free: 14.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001093/0.06921, allocations: 430.8 kB / 443.4 MB, free: 13.86 MB / 426.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.0001541/0.06937, allocations: 131 kB / 443.5 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009996/0.07037, allocations: 0.8994 MB / 444.4 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.07037, allocations: 4.375 kB / 444.4 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.07053, allocations: 170.1 kB / 444.6 MB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.07114, allocations: 177.2 kB / 444.7 MB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.07443, allocations: 2.837 MB / 447.6 MB, free: 9.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.07484, allocations: 447 kB / 448 MB, free: 8.973 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008727/0.07571, allocations: 494.5 kB / 448.5 MB, free: 8.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.07586, allocations: 88.48 kB / 448.6 MB, free: 8.398 MB / 426.7 MB Notification: Performance of SimCode: time 3.487e-06/0.07586, allocations: 4 kB / 448.6 MB, free: 8.395 MB / 426.7 MB Notification: Performance of Templates: time 0.1563/0.2321, allocations: 8.689 MB / 457.3 MB, free: 111.2 MB / 426.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 -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.7460960508324206]