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.0009604/0.0009604, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001102/0.001102, allocations: 161.3 kB / 24.91 MB, free: 8.762 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.9745/0.9745, allocations: 177 MB / 205.2 MB, free: 5.461 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.2942/0.2942, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 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.352e-06/1.352e-06, allocations: 0 / 326 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.748e-05, allocations: 4.141 kB / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006796/0.006823, allocations: 7.736 MB / 333.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004877/0.0117, allocations: 2.667 MB / 336.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.01266, allocations: 39.88 kB / 336.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.0145, allocations: 1.347 MB / 337.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009833/0.01549, allocations: 497.1 kB / 338.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.01621, allocations: 458.8 kB / 338.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.01725, allocations: 1.056 MB / 339.7 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009727/0.01822, allocations: 1.054 MB / 340.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007695/0.01899, allocations: 0.8262 MB / 341.6 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.01972, allocations: 0.674 MB / 342.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.01985, allocations: 112 kB / 342.4 MB, free: 6.582 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.02067, allocations: 0.5926 MB / 343 MB, free: 5.988 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.02111, allocations: 0.7401 MB / 343.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.02144, allocations: 470.4 kB / 344.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.02291, allocations: 1.681 MB / 345.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.02292, allocations: 0 / 345.9 MB, free: 3.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02292, allocations: 7.938 kB / 345.9 MB, free: 3.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.842e-05/0.02296, allocations: 0 / 345.9 MB, free: 3.09 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.002529/0.02548, allocations: 1.843 MB / 347.7 MB, free: 1.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.02552, allocations: 8.031 kB / 347.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005297/0.02605, allocations: 252.7 kB / 348 MB, free: 0.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.02674, allocations: 0.6072 MB / 348.6 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.0268, allocations: 90.7 kB / 348.7 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.02697, allocations: 128.5 kB / 348.8 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.02934, allocations: 2.041 MB / 350.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.02937, allocations: 7.938 kB / 350.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.02945, allocations: 59.94 kB / 350.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000554/0.03, allocations: 0.6936 MB / 351.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.03185, allocations: 1.066 MB / 352.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009024/0.04088, allocations: 10.69 MB / 363.4 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.04295, allocations: 0.8721 MB / 364.2 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.04316, allocations: 178.3 kB / 364.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/0.04528, allocations: 1.766 MB / 366.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.0453, allocations: 34.89 kB / 366.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/0.04531, allocations: 0 / 366.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003218/0.04852, allocations: 1.27 MB / 367.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002958/0.04882, allocations: 63.34 kB / 367.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.04967, allocations: 1.098 MB / 368.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.04969, allocations: 33.7 kB / 368.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.05018, allocations: 1.184 MB / 369.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.05027, allocations: 182.7 kB / 370 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.05056, allocations: 423.3 kB / 370.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.05065, allocations: 345.8 kB / 370.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.05084, allocations: 195.1 kB / 371 MB, free: 9.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/0.0517, allocations: 1.573 MB / 372.5 MB, free: 6.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.05328, allocations: 2.067 MB / 374.6 MB, free: 4.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/0.0533, allocations: 12 kB / 374.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001424/0.05472, allocations: 1.435 MB / 376.1 MB, free: 2.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.05475, allocations: 28 kB / 376.1 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.05479, allocations: 51.98 kB / 376.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.827e-05/0.05483, allocations: 71.94 kB / 376.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007801/0.05561, allocations: 499.1 kB / 376.7 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.218e-05/0.05567, allocations: 99.58 kB / 376.8 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.05647, allocations: 297.8 kB / 377.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.05656, allocations: 112.3 kB / 377.2 MB, free: 1.547 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.0004183/0.05698, allocations: 319.4 kB / 377.5 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.05706, allocations: 67.92 kB / 377.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.05717, allocations: 115.1 kB / 377.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.05718, allocations: 4 kB / 377.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.05718, allocations: 0 / 377.7 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.05718, allocations: 3.984 kB / 377.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.05898, allocations: 1.952 MB / 379.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.05898, allocations: 12 kB / 379.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.05917, allocations: 99.77 kB / 379.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.05918, allocations: 16 kB / 379.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.0592, allocations: 24 kB / 379.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.05921, allocations: 19.94 kB / 379.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.05922, allocations: 19.92 kB / 379.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007246/0.05995, allocations: 0.6942 MB / 380.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.06006, allocations: 119.1 kB / 380.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.06013, allocations: 27.98 kB / 380.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.06032, allocations: 24 kB / 380.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.06038, allocations: 79.55 kB / 380.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.0604, allocations: 31.98 kB / 380.8 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003074/0.06071, allocations: 429.9 kB / 381.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06071, allocations: 0 / 381.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001023/0.06173, allocations: 422.8 kB / 381.6 MB, free: 12.63 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.0001481/0.06188, allocations: 112.2 kB / 381.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007914/0.06267, allocations: 0.8069 MB / 382.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.525e-05/0.06272, allocations: 32.34 kB / 382.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.06285, allocations: 156.9 kB / 382.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.06343, allocations: 177 kB / 382.9 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.06649, allocations: 2.888 MB / 385.8 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.06684, allocations: 447.3 kB / 386.2 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.06725, allocations: 184.7 kB / 386.4 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.06749, allocations: 223.3 kB / 386.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.06749, allocations: 0 / 386.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of Templates: time 0.01523/0.08272, allocations: 8.932 MB / 395.6 MB, free: 14.59 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 -s gbode -gbm=radauIIA3 -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.1223029433749616]