Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001526/0.001526, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001575/0.001575, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9654/0.9654, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1384/0.1384, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.44e-05, allocations: 2.312 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.1378/0.1378, allocations: 8.684 MB / 307.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005723/0.1436, allocations: 2.751 MB / 310.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.1449, allocations: 44.62 kB / 310.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.147, allocations: 1.376 MB / 312 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.1486, allocations: 0.6044 MB / 312.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.15, allocations: 449.2 kB / 313 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.1516, allocations: 1.284 MB / 314.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.1529, allocations: 1.167 MB / 315.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.1543, allocations: 0.9477 MB / 316.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.1555, allocations: 0.7541 MB / 317.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.1559, allocations: 122 kB / 317.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.1569, allocations: 0.5777 MB / 317.9 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006178/0.1575, allocations: 0.8608 MB / 318.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.1581, allocations: 0.5203 MB / 319.3 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.16, allocations: 1.9 MB / 321.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.16, allocations: 0 / 321.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.16, allocations: 0 / 321.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.247e-05/0.16, allocations: 0 / 321.2 MB, free: 8.062 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.002515/0.1626, allocations: 2.11 MB / 323.3 MB, free: 5.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1626, allocations: 12.03 kB / 323.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008676/0.1635, allocations: 296.6 kB / 323.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007343/0.1642, allocations: 0.6652 MB / 324.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.1642, allocations: 109.2 kB / 324.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.1644, allocations: 152.4 kB / 324.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002851/0.1673, allocations: 2.304 MB / 326.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/0.1673, allocations: 11.88 kB / 326.8 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.1674, allocations: 67.94 kB / 326.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007619/0.1682, allocations: 0.9014 MB / 327.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.1702, allocations: 1.213 MB / 329 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.1802, allocations: 12.35 MB / 341.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.1823, allocations: 0.9365 MB / 342.3 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.1825, allocations: 188.1 kB / 342.4 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.1847, allocations: 2.081 MB / 344.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1847, allocations: 42.5 kB / 344.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 3.106e-06/0.1847, allocations: 0 / 344.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002921/0.1876, allocations: 1.282 MB / 345.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1877, allocations: 114.8 kB / 346 MB, free: 14.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.1885, allocations: 1.192 MB / 347.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1885, allocations: 29.7 kB / 347.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.1891, allocations: 1.413 MB / 348.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/0.1892, allocations: 182.7 kB / 348.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.1896, allocations: 452.2 kB / 349.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.1896, allocations: 349.9 kB / 349.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.1899, allocations: 211.8 kB / 349.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.1907, allocations: 1.734 MB / 351.5 MB, free: 8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.1923, allocations: 2.231 MB / 353.7 MB, free: 4.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.1923, allocations: 19.94 kB / 353.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001545/0.1938, allocations: 1.568 MB / 355.3 MB, free: 3.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.1939, allocations: 28 kB / 355.3 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/0.1939, allocations: 60.12 kB / 355.4 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.301e-05/0.194, allocations: 72 kB / 355.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.1949, allocations: 0.5622 MB / 356 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.443e-05/0.1949, allocations: 110.1 kB / 356.1 MB, free: 2.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.1958, allocations: 321.6 kB / 356.5 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.566e-05/0.1958, allocations: 128 kB / 356.6 MB, free: 2.129 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.0004617/0.1963, allocations: 337.7 kB / 356.9 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.1964, allocations: 75.92 kB / 357 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1965, allocations: 120 kB / 357.1 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1965, allocations: 4 kB / 357.1 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1965, allocations: 5.109 kB / 357.1 MB, free: 1.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1965, allocations: 7.938 kB / 357.1 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.1985, allocations: 2.376 MB / 359.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.1986, allocations: 16.06 kB / 359.5 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1987, allocations: 107.8 kB / 359.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.1987, allocations: 16 kB / 359.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1987, allocations: 24 kB / 359.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.238e-05/0.1988, allocations: 27.23 kB / 359.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.1988, allocations: 19.88 kB / 359.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.1992, allocations: 0.7167 MB / 360.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1993, allocations: 127.1 kB / 360.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.1994, allocations: 30.42 kB / 360.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1996, allocations: 27.94 kB / 360.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1997, allocations: 75.61 kB / 360.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1997, allocations: 24 kB / 360.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003376/0.2, allocations: 469.1 kB / 361.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2, allocations: 0 / 361.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001259/0.2013, allocations: 0.5023 MB / 361.7 MB, free: 12.55 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.0001438/0.2014, allocations: 116.1 kB / 361.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000831/0.2023, allocations: 0.8712 MB / 362.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.554e-05/0.2023, allocations: 35.84 kB / 362.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.2024, allocations: 164.9 kB / 362.8 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.2029, allocations: 146 kB / 363 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.2065, allocations: 3.368 MB / 366.4 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.207, allocations: 0.517 MB / 366.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.2074, allocations: 200.5 kB / 367.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.2076, allocations: 235.3 kB / 367.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.2076, allocations: 0 / 367.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of Templates: time 0.01586/0.2234, allocations: 8.94 MB / 376.2 MB, free: 13.79 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.024267383851111]