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.001045/0.001045, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.002125, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008055/0.0008055, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009808/0.001786, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8975/0.8975, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09445/0.9919, allocations: 53.86 MB / 243.8 MB, free: 14.91 MB / 250.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.242/0.242, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0238/0.2658, allocations: 13.22 MB / 292.6 MB, free: 6.461 MB / 282.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.212e-06/1.212e-06, allocations: 0 / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.307e-06/1.052e-05, allocations: 2.312 kB / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006477/0.006488, allocations: 7.771 MB / 301.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003818/0.01031, allocations: 2.685 MB / 304.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.01068, allocations: 43.88 kB / 304.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.01228, allocations: 1.312 MB / 305.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.01297, allocations: 477.2 kB / 306.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.01355, allocations: 422.9 kB / 306.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008323/0.01438, allocations: 1.048 MB / 307.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008723/0.01525, allocations: 1.004 MB / 308.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.01607, allocations: 0.8917 MB / 309.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/0.01676, allocations: 0.6701 MB / 310.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.0169, allocations: 112 kB / 310.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.01753, allocations: 0.5887 MB / 310.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004998/0.01803, allocations: 0.6623 MB / 311.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.01845, allocations: 374.8 kB / 311.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.01978, allocations: 1.561 MB / 313.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.0198, allocations: 0 / 313.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0198, allocations: 0 / 313.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.01982, allocations: 0 / 313.5 MB, free: 1.477 MB / 298.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.002695/0.02251, allocations: 2.227 MB / 315.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.02254, allocations: 12.92 kB / 315.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005764/0.02312, allocations: 256.6 kB / 316 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007146/0.02383, allocations: 0.611 MB / 316.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.02389, allocations: 86.7 kB / 316.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.02408, allocations: 128.5 kB / 316.8 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.02699, allocations: 2.037 MB / 318.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.02702, allocations: 11.88 kB / 318.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.02713, allocations: 59.94 kB / 318.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000728/0.02786, allocations: 0.682 MB / 319.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.03001, allocations: 1.074 MB / 320.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008564/0.03857, allocations: 10.69 MB / 331.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/0.04136, allocations: 0.8488 MB / 332.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.0416, allocations: 178.3 kB / 332.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/0.04386, allocations: 1.735 MB / 334.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.04389, allocations: 38.89 kB / 334.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.04389, allocations: 0 / 334.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.003842/0.04773, allocations: 1.234 MB / 335.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.04776, allocations: 55.41 kB / 335.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008435/0.04861, allocations: 1.094 MB / 336.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.04863, allocations: 41.64 kB / 336.6 MB, free: 9.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005735/0.04921, allocations: 1.18 MB / 337.7 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.04931, allocations: 186.7 kB / 337.9 MB, free: 8.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.04967, allocations: 419.3 kB / 338.3 MB, free: 7.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.04976, allocations: 345.8 kB / 338.7 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.05024, allocations: 199.1 kB / 338.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009111/0.05115, allocations: 1.573 MB / 340.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.05263, allocations: 2.056 MB / 342.5 MB, free: 2.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.05265, allocations: 12 kB / 342.5 MB, free: 2.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001639/0.05428, allocations: 1.434 MB / 343.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.05432, allocations: 32.92 kB / 344 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/0.05436, allocations: 48 kB / 344 MB, free: 0.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.096e-05/0.05441, allocations: 71.94 kB / 344.1 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.05563, allocations: 0.5264 MB / 344.6 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.065e-05/0.0557, allocations: 99.69 kB / 344.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/0.05654, allocations: 285.8 kB / 345 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.05665, allocations: 112 kB / 345.1 MB, free: 15.58 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.0003272/0.05697, allocations: 319.3 kB / 345.4 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.05706, allocations: 75.86 kB / 345.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.05719, allocations: 115.1 kB / 345.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.0572, allocations: 4 kB / 345.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.0572, allocations: 4 kB / 345.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.0572, allocations: 3.984 kB / 345.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.05904, allocations: 1.948 MB / 347.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.05905, allocations: 12 kB / 347.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.05928, allocations: 111.8 kB / 347.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.05939, allocations: 123.1 kB / 347.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.0594, allocations: 12.72 kB / 347.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.05943, allocations: 24 kB / 347.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.05944, allocations: 27.94 kB / 347.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.05946, allocations: 19.88 kB / 347.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.05993, allocations: 0.6903 MB / 348.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.462e-05/0.06001, allocations: 23.98 kB / 348.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.06028, allocations: 20 kB / 348.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.06035, allocations: 83.55 kB / 348.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.06037, allocations: 24 kB / 348.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003826/0.06076, allocations: 433.9 kB / 349.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06076, allocations: 0 / 349.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001159/0.06191, allocations: 422.8 kB / 349.6 MB, free: 10.65 MB / 346.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.0001317/0.06205, allocations: 116.2 kB / 349.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007983/0.06284, allocations: 0.8063 MB / 350.5 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-05/0.06291, allocations: 36.33 kB / 350.5 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.06306, allocations: 156.9 kB / 350.7 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007721/0.06383, allocations: 257.4 kB / 350.9 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.06771, allocations: 3.026 MB / 353.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.06815, allocations: 443.3 kB / 354.4 MB, free: 5.586 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.06861, allocations: 179.2 kB / 354.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.06888, allocations: 227.3 kB / 354.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.06888, allocations: 0 / 354.8 MB, free: 5.184 MB / 346.7 MB Notification: Performance of Templates: time 0.01335/0.08224, allocations: 9.099 MB / 363.9 MB, free: 12.23 MB / 362.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 -ignoreHideResult -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.066868156194687]