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.001065/0.001065, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001233/0.001233, allocations: 168.1 kB / 24.82 MB, free: 8.871 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.3165/0.3165, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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 2.605e-06/2.605e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.729e-05, allocations: 6.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008277/0.008314, allocations: 7.673 MB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.01384, allocations: 2.56 MB / 388.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.01499, allocations: 35.94 kB / 388.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.01667, allocations: 1.367 MB / 390.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008486/0.01752, allocations: 497 kB / 390.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.01826, allocations: 458.8 kB / 391.1 MB, free: 5.742 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000999/0.01926, allocations: 1.059 MB / 392.1 MB, free: 4.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.02028, allocations: 1.019 MB / 393.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008613/0.02115, allocations: 0.8341 MB / 394 MB, free: 2.801 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.02189, allocations: 0.7129 MB / 394.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.02202, allocations: 112 kB / 394.8 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.02273, allocations: 0.577 MB / 395.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.02315, allocations: 0.744 MB / 396.1 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.0235, allocations: 458.5 kB / 396.6 MB, free: 208 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.02495, allocations: 1.693 MB / 398.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.02495, allocations: 4 kB / 398.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.02495, allocations: 0 / 398.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.02497, allocations: 0 / 398.3 MB, free: 14.5 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.002279/0.02725, allocations: 2.103 MB / 400.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.02729, allocations: 12.02 kB / 400.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/0.02783, allocations: 363.3 kB / 400.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.02847, allocations: 0.6554 MB / 401.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.02852, allocations: 90.7 kB / 401.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.02868, allocations: 124.5 kB / 401.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.03135, allocations: 2.284 MB / 403.9 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.03137, allocations: 11.88 kB / 403.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.03145, allocations: 55.95 kB / 404 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005621/0.03202, allocations: 0.6859 MB / 404.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.03413, allocations: 1.147 MB / 405.8 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.04429, allocations: 14.49 MB / 420.3 MB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.04697, allocations: 0.8546 MB / 421.1 MB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.04726, allocations: 217.1 kB / 421.4 MB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002604/0.04986, allocations: 1.943 MB / 423.3 MB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.04989, allocations: 41.72 kB / 423.3 MB, free: 4.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/0.04989, allocations: 0 / 423.3 MB, free: 4.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.004345/0.05424, allocations: 1.421 MB / 424.8 MB, free: 3.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.05427, allocations: 59.34 kB / 424.8 MB, free: 3.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.05557, allocations: 1.319 MB / 426.1 MB, free: 1.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.05559, allocations: 37.64 kB / 426.2 MB, free: 1.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.05635, allocations: 1.322 MB / 427.5 MB, free: 324 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.05648, allocations: 190.8 kB / 427.7 MB, free: 132 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004454/0.05693, allocations: 473 kB / 428.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.05708, allocations: 0.512 MB / 428.7 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.0573, allocations: 156.1 kB / 428.8 MB, free: 14.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.05859, allocations: 2.242 MB / 431.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.06059, allocations: 2.684 MB / 433.7 MB, free: 8.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.462e-05/0.06062, allocations: 16 kB / 433.8 MB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002176/0.06279, allocations: 1.693 MB / 435.4 MB, free: 6.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.06283, allocations: 28 kB / 435.5 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.63e-05/0.06288, allocations: 48.91 kB / 435.5 MB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.225e-05/0.06294, allocations: 75.94 kB / 435.6 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.06391, allocations: 487.1 kB / 436.1 MB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.193e-05/0.06397, allocations: 99.64 kB / 436.2 MB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009798/0.06495, allocations: 282 kB / 436.4 MB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.06506, allocations: 116 kB / 436.6 MB, free: 5.262 MB / 410.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.0004522/0.06551, allocations: 355.3 kB / 436.9 MB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.06564, allocations: 135.1 kB / 437 MB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.06577, allocations: 119.1 kB / 437.2 MB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.06578, allocations: 7.984 kB / 437.2 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.06578, allocations: 3.984 kB / 437.2 MB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.06579, allocations: 3.938 kB / 437.2 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.06832, allocations: 2.283 MB / 439.5 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.06833, allocations: 12 kB / 439.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.06854, allocations: 103.8 kB / 439.6 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.06856, allocations: 16 kB / 439.6 MB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.06858, allocations: 20.69 kB / 439.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.0686, allocations: 19.92 kB / 439.6 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/0.06861, allocations: 23.94 kB / 439.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.06929, allocations: 0.8421 MB / 440.5 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.06945, allocations: 127 kB / 440.6 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.06954, allocations: 31.98 kB / 440.6 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.06982, allocations: 20 kB / 440.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.06988, allocations: 75.56 kB / 440.7 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.06991, allocations: 27.98 kB / 440.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005365/0.07045, allocations: 0.569 MB / 441.3 MB, free: 15.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07045, allocations: 0 / 441.3 MB, free: 15.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001414/0.07186, allocations: 422.8 kB / 441.7 MB, free: 15.54 MB / 426.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.0001696/0.07203, allocations: 135 kB / 441.9 MB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.07313, allocations: 0.8519 MB / 442.7 MB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.07313, allocations: 4 kB / 442.7 MB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.07331, allocations: 171.7 kB / 442.9 MB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.07412, allocations: 189.9 kB / 443.1 MB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.07758, allocations: 2.905 MB / 446 MB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.07801, allocations: 447.3 kB / 446.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005056/0.07851, allocations: 183.2 kB / 446.6 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.0788, allocations: 246.2 kB / 446.8 MB, free: 10.15 MB / 426.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0788, allocations: 0 / 446.8 MB, free: 10.15 MB / 426.7 MB Notification: Performance of Templates: time 0.02116/0.09996, allocations: 8.92 MB / 455.8 MB, free: 1.324 MB / 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.970545413903892]