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.001017/0.001017, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001308/0.001308, allocations: 162.4 kB / 24.99 MB, free: 9.281 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.991/0.991, allocations: 177 MB / 205.2 MB, free: 5.621 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.369/0.369, allocations: 34.86 MB / 296.6 MB, free: 0.5742 MB / 266.7 MB " [Timeout remaining time 179] 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.312e-06/1.312e-06, allocations: 0 / 378.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.197e-05, allocations: 2.312 kB / 378.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007175/0.007197, allocations: 7.834 MB / 386.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00491/0.01211, allocations: 2.587 MB / 389.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.01301, allocations: 43.88 kB / 389.2 MB, free: 7.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.01474, allocations: 1.367 MB / 390.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009665/0.0157, allocations: 497.1 kB / 391.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.01645, allocations: 458.8 kB / 391.5 MB, free: 5.594 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.01747, allocations: 1.066 MB / 392.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009574/0.01843, allocations: 1.023 MB / 393.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.01953, allocations: 0.7638 MB / 394.4 MB, free: 2.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008491/0.02037, allocations: 0.7286 MB / 395.1 MB, free: 1.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.0205, allocations: 116 kB / 395.2 MB, free: 1.867 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.02113, allocations: 0.5887 MB / 395.8 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.02159, allocations: 0.7557 MB / 396.6 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.02193, allocations: 478.5 kB / 397 MB, free: 52 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.0233, allocations: 1.716 MB / 398.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0233, allocations: 0 / 398.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0233, allocations: 0 / 398.7 MB, free: 14.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.02332, allocations: 0 / 398.7 MB, free: 14.33 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.002589/0.02591, allocations: 2.236 MB / 401 MB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.02595, allocations: 8.031 kB / 401 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007162/0.02667, allocations: 391.4 kB / 401.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.02788, allocations: 0.7293 MB / 402.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.02794, allocations: 90.7 kB / 402.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.02811, allocations: 124.5 kB / 402.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/0.03178, allocations: 2.764 MB / 405.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.03181, allocations: 7.938 kB / 405.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.91e-05/0.0319, allocations: 55.95 kB / 405.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006682/0.03257, allocations: 0.7248 MB / 405.9 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.03586, allocations: 1.686 MB / 407.6 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.04697, allocations: 14.73 MB / 422.3 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.04965, allocations: 0.8636 MB / 423.1 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.05002, allocations: 277.1 kB / 423.4 MB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002647/0.05267, allocations: 2.149 MB / 425.6 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.0527, allocations: 41.39 kB / 425.6 MB, free: 2.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.496e-06/0.0527, allocations: 0 / 425.6 MB, free: 2.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.005416/0.05812, allocations: 1.539 MB / 427.1 MB, free: 1.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.05816, allocations: 55.41 kB / 427.2 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.05981, allocations: 1.291 MB / 428.5 MB, free: 15.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.05985, allocations: 41.64 kB / 428.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.06073, allocations: 1.287 MB / 429.8 MB, free: 14.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.06089, allocations: 194.7 kB / 430 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007704/0.06166, allocations: 461.3 kB / 430.5 MB, free: 13.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.06182, allocations: 0.5159 MB / 431 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.06222, allocations: 208.1 kB / 431.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.06364, allocations: 2.237 MB / 433.4 MB, free: 9.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.06606, allocations: 2.697 MB / 436.1 MB, free: 6.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.048e-05/0.06609, allocations: 16 kB / 436.1 MB, free: 6.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002497/0.06859, allocations: 1.823 MB / 437.9 MB, free: 4.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.06863, allocations: 27.94 kB / 438 MB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-05/0.06867, allocations: 55.98 kB / 438 MB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.338e-05/0.06874, allocations: 64 kB / 438.1 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.06981, allocations: 491 kB / 438.6 MB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.77e-05/0.06988, allocations: 96.17 kB / 438.7 MB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.07092, allocations: 286 kB / 438.9 MB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.07104, allocations: 135.9 kB / 439.1 MB, free: 3.074 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.0005106/0.07155, allocations: 359.3 kB / 439.4 MB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.07169, allocations: 127.2 kB / 439.5 MB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.07184, allocations: 119.3 kB / 439.7 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.07185, allocations: 11.97 kB / 439.7 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.07186, allocations: 0 / 439.7 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.07186, allocations: 4 kB / 439.7 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.07433, allocations: 2.019 MB / 441.7 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.07434, allocations: 8 kB / 441.7 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.07458, allocations: 99.83 kB / 441.8 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.0746, allocations: 19.97 kB / 441.8 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.07463, allocations: 24 kB / 441.8 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.07464, allocations: 15.94 kB / 441.9 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.07465, allocations: 11.94 kB / 441.9 MB, free: 44 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009729/0.07562, allocations: 0.8934 MB / 442.8 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.07576, allocations: 131 kB / 442.9 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.07585, allocations: 23.98 kB / 442.9 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.07617, allocations: 16 kB / 442.9 MB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.07624, allocations: 71.67 kB / 443 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.07627, allocations: 24 kB / 443 MB, free: 14.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006315/0.0769, allocations: 0.5958 MB / 443.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.0769, allocations: 0 / 443.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001384/0.07829, allocations: 438.7 kB / 444.1 MB, free: 13.67 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.0001677/0.07845, allocations: 127 kB / 444.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.07963, allocations: 0.9093 MB / 445.1 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.07963, allocations: 0 / 445.1 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.07984, allocations: 171 kB / 445.3 MB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.08066, allocations: 166.9 kB / 445.4 MB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.08396, allocations: 2.837 MB / 448.3 MB, free: 9.254 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.08438, allocations: 451 kB / 448.7 MB, free: 8.789 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009222/0.0853, allocations: 498.5 kB / 449.2 MB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.08545, allocations: 80.5 kB / 449.3 MB, free: 8.219 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.08545, allocations: 0 / 449.3 MB, free: 8.219 MB / 426.7 MB Notification: Performance of Templates: time 0.1626/0.248, allocations: 8.693 MB / 458 MB, free: 115.8 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.8304091719910502]