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.0009791/0.0009791, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001035/0.001035, allocations: 160.5 kB / 24.55 MB, free: 16 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 1.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.566 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.2685/0.2685, allocations: 34.86 MB / 296.3 MB, free: 484 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.533e-06/1.533e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.682e-05, allocations: 3.016 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006685/0.006712, allocations: 7.855 MB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.01068, allocations: 2.599 MB / 389.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.01115, allocations: 43.88 kB / 389.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.0127, allocations: 1.374 MB / 390.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006143/0.01332, allocations: 489.2 kB / 391.1 MB, free: 5.641 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005538/0.01387, allocations: 462.8 kB / 391.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006838/0.01455, allocations: 1.059 MB / 392.6 MB, free: 4.125 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007538/0.01531, allocations: 1.023 MB / 393.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005041/0.01581, allocations: 0.7639 MB / 394.4 MB, free: 2.309 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006862/0.0165, allocations: 0.7324 MB / 395.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.01661, allocations: 116 kB / 395.3 MB, free: 1.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.01714, allocations: 0.5887 MB / 395.9 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.01757, allocations: 0.7557 MB / 396.6 MB, free: 116 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.0179, allocations: 470.5 kB / 397.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.0191, allocations: 1.724 MB / 398.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01911, allocations: 0 / 398.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01911, allocations: 0 / 398.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.01912, allocations: 0 / 398.8 MB, free: 13.92 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.002328/0.02145, allocations: 2.236 MB / 401 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.02149, allocations: 8.031 kB / 401 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005947/0.02208, allocations: 391.4 kB / 401.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007947/0.02287, allocations: 0.7332 MB / 402.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.02293, allocations: 90.7 kB / 402.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.02311, allocations: 120.5 kB / 402.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.02631, allocations: 2.764 MB / 405.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.02634, allocations: 11.88 kB / 405.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/0.02642, allocations: 55.95 kB / 405.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006208/0.02705, allocations: 0.7248 MB / 405.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.03053, allocations: 1.683 MB / 407.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.04337, allocations: 14.73 MB / 422.3 MB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.04551, allocations: 0.8558 MB / 423.2 MB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.04586, allocations: 279.9 kB / 423.5 MB, free: 4.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00274/0.0486, allocations: 2.157 MB / 425.6 MB, free: 2.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.04863, allocations: 37.33 kB / 425.7 MB, free: 2.145 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.385e-06/0.04863, allocations: 0 / 425.7 MB, free: 2.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.003521/0.05215, allocations: 1.54 MB / 427.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.05218, allocations: 59.41 kB / 427.3 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.05361, allocations: 1.287 MB / 428.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.05364, allocations: 29.7 kB / 428.6 MB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.05421, allocations: 1.295 MB / 429.9 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.05433, allocations: 194.7 kB / 430.1 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/0.05467, allocations: 461.3 kB / 430.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.0548, allocations: 0.5159 MB / 431 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.05509, allocations: 220 kB / 431.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.05633, allocations: 2.233 MB / 433.5 MB, free: 9.289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/0.05831, allocations: 2.701 MB / 436.2 MB, free: 5.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-05/0.05833, allocations: 16 kB / 436.2 MB, free: 5.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002018/0.06035, allocations: 1.811 MB / 438 MB, free: 3.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.06039, allocations: 28 kB / 438 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.06043, allocations: 51.98 kB / 438.1 MB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.098e-05/0.06048, allocations: 64 kB / 438.1 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.0613, allocations: 495 kB / 438.6 MB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-05/0.06136, allocations: 95.59 kB / 438.7 MB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008649/0.06222, allocations: 294.5 kB / 439 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.06233, allocations: 135.9 kB / 439.1 MB, free: 2.664 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.0004466/0.06278, allocations: 359.2 kB / 439.5 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.06289, allocations: 123.2 kB / 439.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.06301, allocations: 123.2 kB / 439.7 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.06302, allocations: 7.984 kB / 439.7 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.06303, allocations: 4 kB / 439.7 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.06303, allocations: 0 / 439.7 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.06548, allocations: 2.014 MB / 441.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.06549, allocations: 12.97 kB / 441.8 MB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.06569, allocations: 103.8 kB / 441.9 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.0657, allocations: 15.94 kB / 441.9 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.06572, allocations: 24 kB / 441.9 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/0.06573, allocations: 19.92 kB / 441.9 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.06574, allocations: 15.94 kB / 441.9 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.06636, allocations: 0.8817 MB / 442.8 MB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.06651, allocations: 131 kB / 443 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.06657, allocations: 27.98 kB / 443 MB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.0668, allocations: 20 kB / 443 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.06686, allocations: 67.67 kB / 443.1 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.06688, allocations: 28 kB / 443.1 MB, free: 14.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005308/0.06741, allocations: 0.5958 MB / 443.7 MB, free: 13.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06741, allocations: 0 / 443.7 MB, free: 13.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001276/0.06869, allocations: 430.8 kB / 444.1 MB, free: 13.27 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.0002111/0.0689, allocations: 131.1 kB / 444.2 MB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.07014, allocations: 0.9108 MB / 445.1 MB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.07015, allocations: 0 / 445.1 MB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.07032, allocations: 170.6 kB / 445.3 MB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006799/0.071, allocations: 158.8 kB / 445.5 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.07463, allocations: 2.837 MB / 448.3 MB, free: 8.852 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.07499, allocations: 451 kB / 448.7 MB, free: 8.387 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007324/0.07572, allocations: 0.4946 MB / 449.2 MB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.07585, allocations: 80.5 kB / 449.3 MB, free: 7.809 MB / 426.7 MB Notification: Performance of SimCode: time 1.853e-06/0.07586, allocations: 0 / 449.3 MB, free: 7.809 MB / 426.7 MB Notification: Performance of Templates: time 0.1521/0.228, allocations: 8.689 MB / 458 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.8472575871273875]