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.00111/0.00111, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.00159/0.00159, allocations: 165.5 kB / 24.91 MB, free: 8.758 MB / 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.949/0.949, allocations: 177 MB / 205.2 MB, free: 5.414 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.258/0.258, allocations: 34.87 MB / 296.6 MB, free: 432 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.573e-06/1.573e-06, allocations: 0 / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.363e-05, allocations: 4.391 kB / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.00757/0.007594, allocations: 7.684 MB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003981/0.01158, allocations: 2.662 MB / 336.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.01202, allocations: 39.88 kB / 336.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.01349, allocations: 1.37 MB / 337.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006807/0.01417, allocations: 0.4894 MB / 338.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.01481, allocations: 462.8 kB / 338.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009201/0.01573, allocations: 1.059 MB / 339.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007884/0.01652, allocations: 1.054 MB / 340.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.01719, allocations: 0.8224 MB / 341.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006833/0.01788, allocations: 0.6895 MB / 342.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.01799, allocations: 112 kB / 342.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.01853, allocations: 0.5731 MB / 342.9 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.01895, allocations: 0.7402 MB / 343.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.01929, allocations: 462.5 kB / 344.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.02049, allocations: 1.693 MB / 345.8 MB, free: 3.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.02049, allocations: 0 / 345.8 MB, free: 3.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02049, allocations: 0 / 345.8 MB, free: 3.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.02051, allocations: 0 / 345.8 MB, free: 3.113 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.001967/0.02248, allocations: 1.84 MB / 347.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.02251, allocations: 16.02 kB / 347.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004842/0.023, allocations: 256.6 kB / 347.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.02361, allocations: 0.6033 MB / 348.5 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.02365, allocations: 94.7 kB / 348.6 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.02382, allocations: 124.5 kB / 348.7 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.026, allocations: 2.041 MB / 350.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.02603, allocations: 15.86 kB / 350.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.02612, allocations: 55.95 kB / 350.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005652/0.02668, allocations: 0.6859 MB / 351.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.02837, allocations: 1.066 MB / 352.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007234/0.0356, allocations: 10.69 MB / 363.3 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.03764, allocations: 0.8697 MB / 364.2 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.03785, allocations: 174.3 kB / 364.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/0.03986, allocations: 1.766 MB / 366.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.03988, allocations: 34.89 kB / 366.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.03988, allocations: 0 / 366.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002877/0.04276, allocations: 1.266 MB / 367.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.04279, allocations: 63.41 kB / 367.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.0435, allocations: 1.109 MB / 368.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.04352, allocations: 29.7 kB / 368.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/0.04397, allocations: 1.187 MB / 369.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.04406, allocations: 178.8 kB / 370 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.04432, allocations: 423.2 kB / 370.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.0444, allocations: 341.8 kB / 370.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.04459, allocations: 195.1 kB / 370.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007464/0.04533, allocations: 1.573 MB / 372.5 MB, free: 6.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.04658, allocations: 2.055 MB / 374.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.0466, allocations: 16 kB / 374.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00132/0.04792, allocations: 1.443 MB / 376 MB, free: 2.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.04795, allocations: 28.06 kB / 376 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.04798, allocations: 52 kB / 376.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.506e-05/0.04802, allocations: 68 kB / 376.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/0.0487, allocations: 487 kB / 376.6 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-05/0.04875, allocations: 95.64 kB / 376.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.0494, allocations: 301.8 kB / 377 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.04948, allocations: 112 kB / 377.1 MB, free: 1.582 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.0003183/0.0498, allocations: 319.4 kB / 377.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.04987, allocations: 67.92 kB / 377.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.04997, allocations: 115.1 kB / 377.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.04997, allocations: 4 kB / 377.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.04997, allocations: 0 / 377.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.04998, allocations: 11.97 kB / 377.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.05151, allocations: 1.94 MB / 379.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.05151, allocations: 12 kB / 379.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.05166, allocations: 99.88 kB / 379.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.05167, allocations: 16 kB / 379.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.05169, allocations: 28 kB / 379.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.0517, allocations: 19.92 kB / 379.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.05171, allocations: 19.94 kB / 379.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.05221, allocations: 0.6941 MB / 380.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.0523, allocations: 119.1 kB / 380.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.05237, allocations: 31.98 kB / 380.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.05255, allocations: 20 kB / 380.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.0526, allocations: 79.5 kB / 380.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.05262, allocations: 24 kB / 380.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003027/0.05292, allocations: 429.9 kB / 381.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05292, allocations: 0 / 381.1 MB, free: 13.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008792/0.0538, allocations: 426.8 kB / 381.5 MB, free: 12.67 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.0001289/0.05393, allocations: 108.2 kB / 381.7 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.05456, allocations: 0.8068 MB / 382.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-05/0.0546, allocations: 36.34 kB / 382.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.05472, allocations: 156.9 kB / 382.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.05529, allocations: 177.1 kB / 382.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.05784, allocations: 2.888 MB / 385.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.05818, allocations: 443.3 kB / 386.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.05853, allocations: 180.8 kB / 386.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.05875, allocations: 231.3 kB / 386.5 MB, free: 7.414 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.05875, allocations: 0 / 386.5 MB, free: 7.414 MB / 362.7 MB Notification: Performance of Templates: time 0.01371/0.07246, allocations: 8.92 MB / 395.5 MB, free: 14.64 MB / 378.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.1265362040139735]