Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.22 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9774/0.9774, allocations: 158.6 MB / 185.7 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1367/0.1367, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.834e-05, allocations: 2.312 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006105/0.006133, allocations: 8.875 MB / 356.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005216/0.01135, allocations: 2.647 MB / 359.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.01278, allocations: 43.88 kB / 359.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.01466, allocations: 1.405 MB / 360.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.01603, allocations: 0.6058 MB / 361.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.017, allocations: 458.9 kB / 361.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.01849, allocations: 1.287 MB / 363 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.01983, allocations: 1.133 MB / 364.1 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.02117, allocations: 0.9664 MB / 365.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.02226, allocations: 0.7868 MB / 365.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.02252, allocations: 124 kB / 366 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008151/0.02334, allocations: 0.5693 MB / 366.6 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.02393, allocations: 0.857 MB / 367.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005734/0.02451, allocations: 0.5216 MB / 368 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.02651, allocations: 1.903 MB / 369.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.02652, allocations: 8 kB / 369.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02652, allocations: 0 / 369.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.313e-05/0.02659, allocations: 0 / 369.9 MB, free: 3.152 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.003082/0.02967, allocations: 2.504 MB / 372.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.02971, allocations: 8.031 kB / 372.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008542/0.03057, allocations: 471 kB / 372.8 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.03151, allocations: 0.7644 MB / 373.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.03157, allocations: 107.1 kB / 373.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.03174, allocations: 152.4 kB / 373.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003926/0.03567, allocations: 3.086 MB / 376.9 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.0357, allocations: 11.88 kB / 376.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.0358, allocations: 63.94 kB / 377 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000928/0.03673, allocations: 0.9483 MB / 378 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.04035, allocations: 1.82 MB / 379.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01354/0.05389, allocations: 16.76 MB / 396.5 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.05648, allocations: 0.9633 MB / 397.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.05682, allocations: 292.3 kB / 397.8 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002686/0.0595, allocations: 2.546 MB / 400.3 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.05953, allocations: 45.33 kB / 400.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.935e-06/0.05954, allocations: 0 / 400.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.003509/0.06305, allocations: 1.504 MB / 401.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.0631, allocations: 110.8 kB / 402 MB, free: 1.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.06446, allocations: 1.416 MB / 403.4 MB, free: 460 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.06449, allocations: 37.7 kB / 403.4 MB, free: 416 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007333/0.06522, allocations: 1.532 MB / 405 MB, free: 14.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.06534, allocations: 194.7 kB / 405.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.0657, allocations: 494.2 kB / 405.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.06584, allocations: 0.516 MB / 406.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.06616, allocations: 208.5 kB / 406.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.06754, allocations: 2.499 MB / 408.9 MB, free: 9.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.06955, allocations: 2.975 MB / 411.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-05/0.06958, allocations: 16 kB / 411.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002092/0.07167, allocations: 1.966 MB / 413.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.07171, allocations: 32 kB / 413.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-05/0.07175, allocations: 52 kB / 413.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.533e-05/0.07181, allocations: 76 kB / 414 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.07268, allocations: 0.5465 MB / 414.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-05/0.07274, allocations: 119.5 kB / 414.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/0.07356, allocations: 317.7 kB / 415 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.07367, allocations: 148 kB / 415.1 MB, free: 2.559 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.0004946/0.07417, allocations: 375.1 kB / 415.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.0743, allocations: 135.3 kB / 415.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.07441, allocations: 124 kB / 415.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.07442, allocations: 11.92 kB / 415.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.07443, allocations: 11.94 kB / 415.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.07443, allocations: 0 / 415.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.07699, allocations: 2.723 MB / 418.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.077, allocations: 12 kB / 418.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.07717, allocations: 107.8 kB / 418.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.07719, allocations: 12 kB / 418.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.07721, allocations: 28.69 kB / 418.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.07722, allocations: 23.86 kB / 418.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.07723, allocations: 23.94 kB / 418.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006529/0.07788, allocations: 0.8748 MB / 419.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.078, allocations: 139 kB / 419.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.07807, allocations: 27.94 kB / 419.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.07828, allocations: 23.98 kB / 419.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.07834, allocations: 75.62 kB / 419.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.07836, allocations: 28 kB / 419.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000564/0.07893, allocations: 0.6537 MB / 420.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07893, allocations: 0 / 420.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001215/0.08014, allocations: 0.4984 MB / 421 MB, free: 12.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.0001654/0.08031, allocations: 138.9 kB / 421.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.08151, allocations: 0.9681 MB / 422.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.08152, allocations: 0 / 422.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.08173, allocations: 171.8 kB / 422.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.08245, allocations: 151.4 kB / 422.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.08683, allocations: 3.372 MB / 425.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.08738, allocations: 0.5131 MB / 426.3 MB, free: 6.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008032/0.08819, allocations: 0.5465 MB / 426.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.08831, allocations: 92.48 kB / 426.9 MB, free: 5.867 MB / 362.7 MB Notification: Performance of SimCode: time 2.454e-06/0.08831, allocations: 3.938 kB / 426.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of Templates: time 0.01636/0.1047, allocations: 8.643 MB / 435.6 MB, free: 13.33 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.559481871780008]