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.0009658/0.0009658, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.001061/0.001061, allocations: 173.8 kB / 25.61 MB, free: 8.898 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.9819/0.9819, allocations: 177.1 MB / 206 MB, free: 4.5 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.1424/0.1424, allocations: 34.25 MB / 296.8 MB, free: 13.95 MB / 282.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.663e-06/1.663e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.616e-05, allocations: 2.312 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.005492/0.005508, allocations: 7.673 MB / 387 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.008967, allocations: 2.554 MB / 389.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006308/0.009598, allocations: 39.94 kB / 389.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.0109, allocations: 1.367 MB / 390.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.01154, allocations: 493.1 kB / 391.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.01215, allocations: 454.9 kB / 391.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.01293, allocations: 1.062 MB / 392.9 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/0.01367, allocations: 1.031 MB / 393.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008452/0.01452, allocations: 0.8301 MB / 394.8 MB, free: 7.848 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006524/0.01517, allocations: 0.7052 MB / 395.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.01529, allocations: 115.9 kB / 395.6 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005189/0.01581, allocations: 0.5654 MB / 396.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.01624, allocations: 0.7479 MB / 396.9 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.01651, allocations: 470.4 kB / 397.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.01758, allocations: 1.685 MB / 399.1 MB, free: 3.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01759, allocations: 3.938 kB / 399.1 MB, free: 3.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01759, allocations: 0 / 399.1 MB, free: 3.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.336e-05/0.01762, allocations: 0 / 399.1 MB, free: 3.555 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.001992/0.01961, allocations: 2.115 MB / 401.2 MB, free: 1.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.01965, allocations: 15.97 kB / 401.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.02015, allocations: 351.5 kB / 401.5 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.02068, allocations: 0.6555 MB / 402.2 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.02072, allocations: 90.7 kB / 402.3 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.02085, allocations: 128.5 kB / 402.4 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.02353, allocations: 2.284 MB / 404.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.02356, allocations: 11.88 kB / 404.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/0.02365, allocations: 59.94 kB / 404.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005941/0.02424, allocations: 0.682 MB / 405.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.02634, allocations: 1.143 MB / 406.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008775/0.03512, allocations: 14.49 MB / 421.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.03717, allocations: 0.8499 MB / 421.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.0374, allocations: 225 kB / 422.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002029/0.03942, allocations: 1.935 MB / 424.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.03945, allocations: 41.72 kB / 424.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/0.03945, allocations: 0 / 424.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003178/0.04263, allocations: 1.425 MB / 425.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.04266, allocations: 59.34 kB / 425.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009215/0.04358, allocations: 1.327 MB / 426.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.0436, allocations: 29.7 kB / 427 MB, free: 6.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005949/0.0442, allocations: 1.33 MB / 428.3 MB, free: 5.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.04429, allocations: 186.7 kB / 428.5 MB, free: 5.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.04463, allocations: 473 kB / 428.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.04477, allocations: 0.5159 MB / 429.4 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.04494, allocations: 152.1 kB / 429.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.04603, allocations: 2.242 MB / 431.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.0477, allocations: 2.68 MB / 434.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/0.04772, allocations: 16 kB / 434.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001736/0.04946, allocations: 1.693 MB / 436.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.04949, allocations: 30.34 kB / 436.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.04952, allocations: 52 kB / 436.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.182e-05/0.04956, allocations: 68.06 kB / 436.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.05024, allocations: 487 kB / 436.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.374e-05/0.05028, allocations: 95.66 kB / 436.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.05094, allocations: 293.8 kB / 437.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.05102, allocations: 116 kB / 437.3 MB, free: 10.3 MB / 362.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.0003012/0.05132, allocations: 363.3 kB / 437.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.05156, allocations: 139.2 kB / 437.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.05166, allocations: 111.1 kB / 437.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.05166, allocations: 4 kB / 437.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.05167, allocations: 0 / 437.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.05167, allocations: 3.938 kB / 438 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/0.05341, allocations: 2.279 MB / 440.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.05342, allocations: 12 kB / 440.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.05356, allocations: 100.6 kB / 440.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.05357, allocations: 16 kB / 440.4 MB, free: 7.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.05359, allocations: 24 kB / 440.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.05361, allocations: 27.92 kB / 440.4 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.05362, allocations: 15.94 kB / 440.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000897/0.05451, allocations: 0.8461 MB / 441.3 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.05461, allocations: 127.1 kB / 441.4 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.236e-05/0.05467, allocations: 28 kB / 441.4 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.05487, allocations: 16 kB / 441.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.05493, allocations: 83.55 kB / 441.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.05494, allocations: 24 kB / 441.5 MB, free: 5.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003798/0.05532, allocations: 0.5729 MB / 442.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05532, allocations: 0 / 442.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009362/0.05626, allocations: 422.8 kB / 442.5 MB, free: 4.582 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.0001278/0.05639, allocations: 131 kB / 442.7 MB, free: 4.445 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007023/0.05709, allocations: 0.8514 MB / 443.5 MB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.05709, allocations: 4 kB / 443.5 MB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.05722, allocations: 167.8 kB / 443.7 MB, free: 3.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000562/0.05778, allocations: 180.8 kB / 443.8 MB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.06032, allocations: 2.911 MB / 446.8 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.06066, allocations: 447.3 kB / 447.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003617/0.06102, allocations: 179.2 kB / 447.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.06125, allocations: 254.1 kB / 447.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.06125, allocations: 4 kB / 447.6 MB, free: 15.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01517/0.07641, allocations: 9.093 MB / 456.7 MB, free: 6.277 MB / 378.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.299616643693298]