Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001376/0.001376, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001517/0.001517, allocations: 172 kB / 24.91 MB, free: 9.145 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.9402/0.9402, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2577/0.2577, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.986e-05, allocations: 4.984 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008838/0.008868, allocations: 7.679 MB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004864/0.01373, allocations: 2.662 MB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009563/0.01469, allocations: 43.88 kB / 333.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.01632, allocations: 1.378 MB / 335 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.01714, allocations: 0.4893 MB / 335.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.01783, allocations: 454.8 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008216/0.01865, allocations: 1.067 MB / 337 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.01944, allocations: 1.051 MB / 338 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.02014, allocations: 0.8263 MB / 338.9 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.0208, allocations: 0.6817 MB / 339.6 MB, free: 9.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.02092, allocations: 112 kB / 339.7 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005923/0.02151, allocations: 0.577 MB / 340.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.02195, allocations: 0.7401 MB / 341 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.02228, allocations: 462.5 kB / 341.4 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.02354, allocations: 1.693 MB / 343.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.02354, allocations: 0 / 343.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02354, allocations: 0 / 343.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.02356, allocations: 0 / 343.1 MB, free: 5.688 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.001899/0.02546, allocations: 1.839 MB / 345 MB, free: 3.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.0255, allocations: 12.03 kB / 345 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/0.026, allocations: 256.7 kB / 345.2 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.02659, allocations: 0.6032 MB / 345.8 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.02664, allocations: 94.69 kB / 345.9 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.02679, allocations: 120.5 kB / 346 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.02891, allocations: 2.056 MB / 348.1 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.02894, allocations: 7.938 kB / 348.1 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/0.02902, allocations: 59.95 kB / 348.2 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005601/0.02958, allocations: 0.6897 MB / 348.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.03125, allocations: 1.062 MB / 349.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007089/0.03834, allocations: 10.69 MB / 360.6 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.04021, allocations: 0.871 MB / 361.5 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.04039, allocations: 174.2 kB / 361.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.04224, allocations: 1.762 MB / 363.4 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.04227, allocations: 38.89 kB / 363.4 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.796e-06/0.04227, allocations: 3.938 kB / 363.4 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.002804/0.04508, allocations: 1.262 MB / 364.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.04511, allocations: 63.33 kB / 364.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.04578, allocations: 1.102 MB / 365.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.04581, allocations: 33.7 kB / 365.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.04629, allocations: 1.187 MB / 367.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.68e-05/0.04638, allocations: 174.8 kB / 367.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.04666, allocations: 427.2 kB / 367.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.04675, allocations: 345.8 kB / 368 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.04694, allocations: 199.1 kB / 368.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.0477, allocations: 1.569 MB / 369.8 MB, free: 9.508 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.04893, allocations: 2.055 MB / 371.8 MB, free: 6.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.04895, allocations: 12 kB / 371.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00123/0.05018, allocations: 1.438 MB / 373.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.05021, allocations: 28 kB / 373.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.05024, allocations: 52.88 kB / 373.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.12e-05/0.05028, allocations: 67.94 kB / 373.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.05096, allocations: 487.1 kB / 373.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.737e-05/0.05101, allocations: 107.5 kB / 374 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.05164, allocations: 289.8 kB / 374.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.05172, allocations: 116 kB / 374.4 MB, free: 4.156 MB / 346.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.0003281/0.05205, allocations: 311.4 kB / 374.7 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.05212, allocations: 71.92 kB / 374.8 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.812e-05/0.05222, allocations: 115.1 kB / 374.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.05222, allocations: 11.94 kB / 374.9 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.05222, allocations: 0 / 374.9 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.05223, allocations: 4 kB / 374.9 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.05385, allocations: 1.952 MB / 376.9 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.05386, allocations: 12 kB / 376.9 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.05401, allocations: 99.78 kB / 377 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.05402, allocations: 16 kB / 377 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.05404, allocations: 24.66 kB / 377 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.05405, allocations: 23.92 kB / 377 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/0.05406, allocations: 19.94 kB / 377.1 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.05451, allocations: 0.687 MB / 377.7 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.05461, allocations: 131 kB / 377.9 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.05467, allocations: 27.98 kB / 377.9 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.05487, allocations: 16 kB / 377.9 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.05492, allocations: 79.56 kB / 378 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.05494, allocations: 28 kB / 378 MB, free: 84 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000314/0.05526, allocations: 429.9 kB / 378.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.05526, allocations: 0 / 378.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009495/0.05621, allocations: 418.8 kB / 378.8 MB, free: 15.25 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.0001349/0.05634, allocations: 124.1 kB / 379 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006347/0.05698, allocations: 0.8023 MB / 379.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-05/0.05702, allocations: 31.84 kB / 379.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.05713, allocations: 157 kB / 379.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.05764, allocations: 181.9 kB / 380.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.06036, allocations: 2.893 MB / 383 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.06068, allocations: 451.3 kB / 383.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.06104, allocations: 179.2 kB / 383.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.06125, allocations: 227.3 kB / 383.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.06125, allocations: 0 / 383.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of Templates: time 0.01359/0.07484, allocations: 8.923 MB / 392.8 MB, free: 1.191 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1018152870237827]