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.0009553/0.0009553, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009855/0.0009855, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9501/0.9501, allocations: 177.1 MB / 205 MB, free: 5.629 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.2521/0.2521, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.693e-06/1.693e-06, allocations: 0 / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.046e-05, allocations: 5.969 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007278/0.007298, allocations: 7.856 MB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.01147, allocations: 2.587 MB / 388.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.01209, allocations: 43.88 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.01392, allocations: 1.39 MB / 389.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.01463, allocations: 489.2 kB / 390.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.01532, allocations: 458.8 kB / 390.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009339/0.01625, allocations: 1.063 MB / 391.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008692/0.01712, allocations: 1.015 MB / 392.9 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007759/0.0179, allocations: 0.8301 MB / 393.8 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000709/0.0186, allocations: 0.7207 MB / 394.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.01875, allocations: 112 kB / 394.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.01931, allocations: 0.5693 MB / 395.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004287/0.01974, allocations: 0.7518 MB / 395.9 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.02008, allocations: 466.4 kB / 396.4 MB, free: 208 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.02161, allocations: 1.685 MB / 398.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.02161, allocations: 0 / 398.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.02161, allocations: 0 / 398.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.02163, allocations: 3.938 kB / 398.1 MB, free: 14.51 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.002275/0.0239, allocations: 2.22 MB / 400.3 MB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.02394, allocations: 8.031 kB / 400.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/0.02452, allocations: 387.3 kB / 400.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.02524, allocations: 0.7062 MB / 401.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.02529, allocations: 90.7 kB / 401.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.02545, allocations: 132.4 kB / 401.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/0.02899, allocations: 2.756 MB / 404.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.02902, allocations: 11.88 kB / 404.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.121e-05/0.02911, allocations: 59.94 kB / 404.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005984/0.02971, allocations: 0.7249 MB / 405.1 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002992/0.0327, allocations: 1.671 MB / 406.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/0.04324, allocations: 14.63 MB / 421.4 MB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.04539, allocations: 0.9048 MB / 422.3 MB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.04569, allocations: 257.1 kB / 422.6 MB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002269/0.04796, allocations: 2.04 MB / 424.6 MB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.04799, allocations: 45.72 kB / 424.7 MB, free: 2.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 4.058e-06/0.04799, allocations: 0 / 424.7 MB, free: 2.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.003355/0.05135, allocations: 1.48 MB / 426.2 MB, free: 1.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.05139, allocations: 59.34 kB / 426.2 MB, free: 1.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.05252, allocations: 1.328 MB / 427.5 MB, free: 84 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.05255, allocations: 33.7 kB / 427.6 MB, free: 44 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007224/0.05327, allocations: 1.314 MB / 428.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.05338, allocations: 178.8 kB / 429.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.05379, allocations: 469.2 kB / 429.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.05392, allocations: 0.5121 MB / 430 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.0542, allocations: 196.1 kB / 430.2 MB, free: 13.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.05551, allocations: 2.274 MB / 432.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.05758, allocations: 2.724 MB / 435.2 MB, free: 6.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/0.0576, allocations: 16 kB / 435.2 MB, free: 6.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001916/0.05951, allocations: 1.806 MB / 437 MB, free: 4.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.05955, allocations: 28 kB / 437.1 MB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.845e-05/0.05959, allocations: 48 kB / 437.1 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-05/0.05964, allocations: 68.78 kB / 437.2 MB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.06042, allocations: 495 kB / 437.7 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.964e-05/0.06048, allocations: 99.64 kB / 437.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007414/0.06122, allocations: 297.9 kB / 438.1 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/0.06131, allocations: 132 kB / 438.2 MB, free: 3.418 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.0003965/0.06171, allocations: 359.2 kB / 438.5 MB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.06181, allocations: 127.2 kB / 438.7 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.06192, allocations: 123.1 kB / 438.8 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.06192, allocations: 8 kB / 438.8 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.06193, allocations: 0 / 438.8 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.06193, allocations: 3.938 kB / 438.8 MB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.06429, allocations: 2.288 MB / 441.1 MB, free: 248 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.0643, allocations: 12 kB / 441.1 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.06447, allocations: 99.77 kB / 441.2 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.06448, allocations: 16 kB / 441.2 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.06451, allocations: 24 kB / 441.2 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.06452, allocations: 20.5 kB / 441.3 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/0.06452, allocations: 15.94 kB / 441.3 MB, free: 60 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.06512, allocations: 0.8695 MB / 442.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.06523, allocations: 123.1 kB / 442.3 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.0653, allocations: 31.98 kB / 442.3 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.0655, allocations: 23.94 kB / 442.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.06557, allocations: 83.55 kB / 442.4 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.06559, allocations: 28 kB / 442.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.06613, allocations: 0.6083 MB / 443 MB, free: 14.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06613, allocations: 0 / 443 MB, free: 14.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001034/0.06716, allocations: 418.8 kB / 443.4 MB, free: 13.64 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.0001708/0.06733, allocations: 131 kB / 443.6 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009347/0.06827, allocations: 0.9031 MB / 444.5 MB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.06827, allocations: 0 / 444.5 MB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.06842, allocations: 175.8 kB / 444.6 MB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.06901, allocations: 176.3 kB / 444.8 MB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.07236, allocations: 2.908 MB / 447.7 MB, free: 9.086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.0727, allocations: 447.3 kB / 448.2 MB, free: 8.625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007043/0.07341, allocations: 0.4985 MB / 448.7 MB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.07352, allocations: 88.48 kB / 448.7 MB, free: 8.035 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/0.07353, allocations: 0 / 448.7 MB, free: 8.035 MB / 426.7 MB Notification: Performance of Templates: time 0.1517/0.2253, allocations: 8.63 MB / 457.4 MB, free: 108.1 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.3310102079994977]