Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9791/0.9791, allocations: 177 MB / 204.8 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2702/0.2702, allocations: 34.86 MB / 296.3 MB, free: 448 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.419e-05, allocations: 2.312 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006554/0.006578, allocations: 7.854 MB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.01074, allocations: 2.591 MB / 389.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008223/0.01156, allocations: 43.88 kB / 389.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.01323, allocations: 1.378 MB / 390.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008765/0.01411, allocations: 489.1 kB / 391.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.01484, allocations: 466.8 kB / 391.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.01587, allocations: 1.063 MB / 392.6 MB, free: 4.141 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009831/0.01686, allocations: 1.023 MB / 393.7 MB, free: 3.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009028/0.01776, allocations: 0.8341 MB / 394.5 MB, free: 2.254 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007743/0.01853, allocations: 0.7129 MB / 395.2 MB, free: 1.539 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.01881, allocations: 112 kB / 395.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.01948, allocations: 0.5731 MB / 395.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004913/0.01997, allocations: 0.7518 MB / 396.6 MB, free: 104 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.02054, allocations: 462.6 kB / 397.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.02213, allocations: 1.689 MB / 398.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.02213, allocations: 0 / 398.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.02213, allocations: 0 / 398.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.482e-05/0.02218, allocations: 0 / 398.8 MB, free: 13.95 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.003446/0.02562, allocations: 2.22 MB / 401 MB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.02567, allocations: 12.03 kB / 401 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007921/0.02646, allocations: 383.3 kB / 401.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009402/0.0274, allocations: 0.7062 MB / 402.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.02746, allocations: 94.64 kB / 402.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.02767, allocations: 128.5 kB / 402.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.03211, allocations: 2.76 MB / 405.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.03214, allocations: 7.938 kB / 405.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.03226, allocations: 59.95 kB / 405.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008215/0.03308, allocations: 0.7326 MB / 405.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004203/0.03729, allocations: 1.667 MB / 407.5 MB, free: 4.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.04925, allocations: 14.63 MB / 422.2 MB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.05225, allocations: 0.8917 MB / 423.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.05263, allocations: 257.1 kB / 423.3 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002813/0.05544, allocations: 2.048 MB / 425.4 MB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.05547, allocations: 45.66 kB / 425.4 MB, free: 2.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 3.015e-06/0.05548, allocations: 4 kB / 425.4 MB, free: 2.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.004701/0.06018, allocations: 1.476 MB / 426.9 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.06021, allocations: 63.28 kB / 426.9 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.06153, allocations: 1.324 MB / 428.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.06156, allocations: 33.7 kB / 428.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.06249, allocations: 1.314 MB / 429.6 MB, free: 14.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.06261, allocations: 182.8 kB / 429.8 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.06303, allocations: 465.2 kB / 430.3 MB, free: 13.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.06318, allocations: 0.516 MB / 430.8 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.06351, allocations: 196.1 kB / 431 MB, free: 12.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.06485, allocations: 2.274 MB / 433.2 MB, free: 9.527 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.06712, allocations: 2.716 MB / 435.9 MB, free: 5.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.7e-05/0.06715, allocations: 19.94 kB / 436 MB, free: 5.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002339/0.06949, allocations: 1.802 MB / 437.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.06952, allocations: 28 kB / 437.8 MB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/0.06957, allocations: 48 kB / 437.8 MB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.049e-05/0.06963, allocations: 68 kB / 437.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.07064, allocations: 491.7 kB / 438.4 MB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-05/0.07071, allocations: 103.6 kB / 438.5 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/0.07167, allocations: 297.9 kB / 438.8 MB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.07179, allocations: 132 kB / 438.9 MB, free: 2.863 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.0003969/0.07218, allocations: 359.2 kB / 439.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.0723, allocations: 131.2 kB / 439.4 MB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.07243, allocations: 115.1 kB / 439.5 MB, free: 2.254 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.07243, allocations: 4 kB / 439.5 MB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.07244, allocations: 4 kB / 439.5 MB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.07245, allocations: 11.86 kB / 439.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.0751, allocations: 2.288 MB / 441.8 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.07511, allocations: 15.98 kB / 441.8 MB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.07534, allocations: 91.84 kB / 441.9 MB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.07535, allocations: 16 kB / 441.9 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.07538, allocations: 27.98 kB / 442 MB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.07539, allocations: 23.92 kB / 442 MB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/0.07541, allocations: 19.88 kB / 442 MB, free: 15.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.07608, allocations: 0.8699 MB / 442.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.07621, allocations: 127.1 kB / 443 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.07631, allocations: 27.98 kB / 443 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.0766, allocations: 24 kB / 443 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.07667, allocations: 75.62 kB / 443.1 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.0767, allocations: 28 kB / 443.1 MB, free: 14.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006472/0.07735, allocations: 0.6122 MB / 443.8 MB, free: 13.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07735, allocations: 0 / 443.8 MB, free: 13.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001369/0.07872, allocations: 418.8 kB / 444.2 MB, free: 13.08 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.000156/0.07887, allocations: 130.9 kB / 444.3 MB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.07997, allocations: 0.8996 MB / 445.2 MB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.07998, allocations: 7.938 kB / 445.2 MB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.08017, allocations: 175.9 kB / 445.4 MB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/0.08094, allocations: 175.9 kB / 445.5 MB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.08416, allocations: 2.9 MB / 448.4 MB, free: 8.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/0.0848, allocations: 443.3 kB / 448.9 MB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007949/0.0856, allocations: 0.5063 MB / 449.4 MB, free: 7.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.0857, allocations: 88.48 kB / 449.5 MB, free: 7.473 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0857, allocations: 0 / 449.5 MB, free: 7.473 MB / 426.7 MB Notification: Performance of Templates: time 0.1465/0.2322, allocations: 8.625 MB / 458.1 MB, free: 107.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.6248072618618608]