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.0007916/0.0007916, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.001995, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0007156/0.0007156, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009835/0.001699, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8544/0.8544, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1822/1.037, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.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.1558/0.1558, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03141/0.1872, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.853e-06/1.853e-06, allocations: 0 / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.88e-05, allocations: 6.25 kB / 267.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.00921/0.009239, allocations: 8.762 MB / 276.2 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.01335, allocations: 2.763 MB / 278.9 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.01391, allocations: 39.94 kB / 279 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.0152, allocations: 1.327 MB / 280.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007865/0.01599, allocations: 0.5942 MB / 280.9 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.0166, allocations: 426.8 kB / 281.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000965/0.01756, allocations: 1.277 MB / 282.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008868/0.01845, allocations: 1.098 MB / 283.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009559/0.0194, allocations: 1.001 MB / 284.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007949/0.0202, allocations: 0.744 MB / 285.4 MB, free: 420 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.02036, allocations: 124 kB / 285.6 MB, free: 296 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1196/0.1399, allocations: 0.578 MB / 286.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007403/0.1407, allocations: 0.7662 MB / 286.9 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.1412, allocations: 435.4 kB / 287.3 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.1429, allocations: 1.771 MB / 289.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.1429, allocations: 0 / 289.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1429, allocations: 0 / 289.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.064e-05/0.143, allocations: 0 / 289.1 MB, free: 3.906 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.003137/0.1461, allocations: 2.544 MB / 291.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1462, allocations: 11.69 kB / 291.6 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.1469, allocations: 303.1 kB / 291.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007649/0.1477, allocations: 0.6631 MB / 292.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/0.1478, allocations: 114.6 kB / 292.7 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.148, allocations: 143.7 kB / 292.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00299/0.151, allocations: 2.308 MB / 295.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.151, allocations: 11.78 kB / 295.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.1511, allocations: 74 kB / 295.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008267/0.1519, allocations: 0.8427 MB / 296.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.1539, allocations: 1.212 MB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008973/0.1628, allocations: 12.36 MB / 309.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.1649, allocations: 0.9104 MB / 310.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.1651, allocations: 189.6 kB / 310.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/0.1671, allocations: 2.061 MB / 312.8 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1671, allocations: 44.78 kB / 312.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 2.835e-06/0.1671, allocations: 1.469 kB / 312.9 MB, free: 8.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.003009/0.1701, allocations: 1.251 MB / 314.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1702, allocations: 109.4 kB / 314.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007657/0.1709, allocations: 1.184 MB / 315.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1709, allocations: 33.7 kB / 315.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005464/0.1715, allocations: 1.416 MB / 316.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.1716, allocations: 179.8 kB / 317 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.1719, allocations: 454.1 kB / 317.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.187e-05/0.172, allocations: 352.1 kB / 317.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.1722, allocations: 211.8 kB / 318 MB, free: 3.969 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/0.1731, allocations: 1.729 MB / 319.8 MB, free: 1.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.1749, allocations: 2.416 MB / 322.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.22e-05/0.175, allocations: 16 kB / 322.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001481/0.1764, allocations: 1.567 MB / 323.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.1765, allocations: 31.94 kB / 323.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.1765, allocations: 59.94 kB / 323.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.912e-05/0.1766, allocations: 72 kB / 323.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.1775, allocations: 0.6051 MB / 324.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.439e-05/0.1775, allocations: 107.6 kB / 324.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000838/0.1784, allocations: 316.6 kB / 324.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/0.1785, allocations: 131.9 kB / 325.1 MB, free: 12 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.0005285/0.179, allocations: 333.6 kB / 325.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.1791, allocations: 73.05 kB / 325.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.1792, allocations: 128 kB / 325.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1792, allocations: 4 kB / 325.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1792, allocations: 4 kB / 325.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1792, allocations: 0 / 325.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.1812, allocations: 2.376 MB / 328 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.1812, allocations: 12 kB / 328 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.1814, allocations: 108.7 kB / 328.1 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1815, allocations: 132.4 kB / 328.2 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.1815, allocations: 20 kB / 328.2 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1815, allocations: 24 kB / 328.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.1816, allocations: 27.86 kB / 328.3 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.1816, allocations: 19.88 kB / 328.3 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.182, allocations: 0.718 MB / 329 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.1821, allocations: 27.98 kB / 329 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.1823, allocations: 24 kB / 329.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1823, allocations: 75.61 kB / 329.1 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1823, allocations: 24 kB / 329.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.1827, allocations: 465.2 kB / 329.6 MB, free: 7.273 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1827, allocations: 0 / 329.6 MB, free: 7.273 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001214/0.1839, allocations: 0.5023 MB / 330.1 MB, free: 6.77 MB / 314.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.000143/0.1841, allocations: 122.7 kB / 330.2 MB, free: 6.645 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.1848, allocations: 0.9311 MB / 331.2 MB, free: 5.758 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.185e-05/0.1849, allocations: 35.84 kB / 331.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.1853, allocations: 421.2 kB / 331.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/0.1861, allocations: 0.8138 MB / 332.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/0.1902, allocations: 3.402 MB / 335.8 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1907, allocations: 0.5131 MB / 336.3 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.1911, allocations: 200.2 kB / 336.5 MB, free: 44 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.1913, allocations: 223.3 kB / 336.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.1913, allocations: 0 / 336.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01483/0.2061, allocations: 7.03 MB / 343.8 MB, free: 8.852 MB / 330.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1165716545656323]