Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001258/0.001258, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00115/0.00115, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9333/0.9333, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2514/0.2514, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.651e-05, allocations: 2.312 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007948/0.007965, allocations: 7.844 MB / 385.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.01164, allocations: 2.576 MB / 388.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.01205, allocations: 47.88 kB / 388.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.01399, allocations: 1.382 MB / 389.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007277/0.01472, allocations: 489.1 kB / 390.4 MB, free: 6.586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.01537, allocations: 454.8 kB / 390.8 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009014/0.01627, allocations: 1.067 MB / 391.9 MB, free: 5.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009979/0.01727, allocations: 1.027 MB / 392.9 MB, free: 4.023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006872/0.01795, allocations: 0.7599 MB / 393.7 MB, free: 3.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008345/0.01879, allocations: 0.7324 MB / 394.4 MB, free: 2.527 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.01893, allocations: 116 kB / 394.5 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000635/0.01956, allocations: 0.5887 MB / 395.1 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005651/0.02013, allocations: 0.7558 MB / 395.8 MB, free: 1.066 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.02056, allocations: 470.4 kB / 396.3 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.02216, allocations: 1.72 MB / 398 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.02216, allocations: 4 kB / 398 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02216, allocations: 0 / 398 MB, free: 14.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.02218, allocations: 0 / 398 MB, free: 14.88 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.003087/0.02526, allocations: 2.228 MB / 400.3 MB, free: 12.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.0253, allocations: 12.03 kB / 400.3 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.02613, allocations: 391.4 kB / 400.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.02715, allocations: 0.7293 MB / 401.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.02722, allocations: 90.69 kB / 401.5 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.02743, allocations: 120.5 kB / 401.6 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/0.03194, allocations: 2.772 MB / 404.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.03197, allocations: 11.88 kB / 404.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.03209, allocations: 63.88 kB / 404.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000873/0.03296, allocations: 0.7248 MB / 405.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004062/0.03703, allocations: 1.663 MB / 406.8 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.04834, allocations: 14.73 MB / 421.5 MB, free: 6.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.0515, allocations: 0.8519 MB / 422.4 MB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.05198, allocations: 277.1 kB / 422.7 MB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/0.0546, allocations: 2.153 MB / 424.8 MB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.05462, allocations: 45.38 kB / 424.9 MB, free: 3.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.856e-06/0.05463, allocations: 3.984 kB / 424.9 MB, free: 3.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.003591/0.05822, allocations: 1.535 MB / 426.4 MB, free: 1.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.05825, allocations: 63.41 kB / 426.5 MB, free: 1.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009619/0.05921, allocations: 1.287 MB / 427.8 MB, free: 192 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.05924, allocations: 33.7 kB / 427.8 MB, free: 152 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/0.05983, allocations: 1.299 MB / 429.1 MB, free: 14.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.05994, allocations: 198.7 kB / 429.3 MB, free: 14.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.06026, allocations: 457.3 kB / 429.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.06038, allocations: 0.5159 MB / 430.2 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.06066, allocations: 208.1 kB / 430.4 MB, free: 13.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.06175, allocations: 2.241 MB / 432.7 MB, free: 10.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.06329, allocations: 2.701 MB / 435.4 MB, free: 6.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.06331, allocations: 15.98 kB / 435.4 MB, free: 6.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001715/0.06502, allocations: 1.815 MB / 437.2 MB, free: 4.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.06505, allocations: 24 kB / 437.2 MB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.06508, allocations: 52 kB / 437.3 MB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.037e-05/0.06513, allocations: 64 kB / 437.4 MB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.06586, allocations: 491 kB / 437.8 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-05/0.06591, allocations: 95.64 kB / 437.9 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.06654, allocations: 290.5 kB / 438.2 MB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.06663, allocations: 135.9 kB / 438.3 MB, free: 3.625 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.0002911/0.06692, allocations: 359.3 kB / 438.7 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.06702, allocations: 127.2 kB / 438.8 MB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.06713, allocations: 123.3 kB / 438.9 MB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.06714, allocations: 4 kB / 438.9 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.06714, allocations: 0 / 438.9 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.06715, allocations: 4 kB / 439 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.06902, allocations: 2.01 MB / 441 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.06903, allocations: 9 kB / 441 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.06921, allocations: 99.83 kB / 441.1 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.06922, allocations: 19.94 kB / 441.1 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.06924, allocations: 24 kB / 441.1 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.06925, allocations: 15.94 kB / 441.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.06926, allocations: 15.88 kB / 441.1 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.06982, allocations: 0.8934 MB / 442 MB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.06992, allocations: 127 kB / 442.2 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.06999, allocations: 23.98 kB / 442.2 MB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.07021, allocations: 20 kB / 442.2 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.07028, allocations: 71.67 kB / 442.3 MB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.0703, allocations: 24 kB / 442.3 MB, free: 15.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005005/0.0708, allocations: 0.5958 MB / 442.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0708, allocations: 0 / 442.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009321/0.07173, allocations: 430.8 kB / 443.3 MB, free: 14.23 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.0001431/0.07187, allocations: 131 kB / 443.4 MB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008903/0.07276, allocations: 0.9033 MB / 444.3 MB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.07277, allocations: 4 kB / 444.3 MB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.07292, allocations: 166.6 kB / 444.5 MB, free: 13.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.07352, allocations: 176.7 kB / 444.7 MB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.07618, allocations: 2.841 MB / 447.5 MB, free: 9.805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.07652, allocations: 451 kB / 448 MB, free: 9.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007129/0.07723, allocations: 0.4908 MB / 448.5 MB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.07734, allocations: 80.5 kB / 448.5 MB, free: 8.766 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.07734, allocations: 0 / 448.5 MB, free: 8.766 MB / 426.7 MB Notification: Performance of Templates: time 0.01227/0.08961, allocations: 8.693 MB / 457.2 MB, free: 248 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.550302242860198]