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.00109/0.00109, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00186/0.00295, allocations: 447.8 kB / 10.35 MB, free: 348 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.0008194/0.0008194, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009952/0.001815, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.032/1.032, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1874/1.22, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.136/0.136, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04808/0.1841, allocations: 12.29 MB / 265.9 MB, free: 7.836 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.102e-06/1.102e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.767e-05, allocations: 6.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006881/0.006899, allocations: 8.758 MB / 276 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.01179, allocations: 2.755 MB / 278.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.01281, allocations: 43.88 kB / 278.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.01432, allocations: 1.335 MB / 280.1 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.0154, allocations: 0.5942 MB / 280.7 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.01617, allocations: 418.8 kB / 281.1 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.01755, allocations: 1.281 MB / 282.4 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.01868, allocations: 1.098 MB / 283.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.01989, allocations: 1.005 MB / 284.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009813/0.02088, allocations: 0.744 MB / 285.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.02114, allocations: 124 kB / 285.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.02206, allocations: 0.581 MB / 285.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.02279, allocations: 0.7636 MB / 286.7 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005467/0.02333, allocations: 438.6 kB / 287.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.02523, allocations: 1.77 MB / 288.9 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.02525, allocations: 3.984 kB / 288.9 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02525, allocations: 0 / 288.9 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.378e-05/0.0253, allocations: 4 kB / 288.9 MB, free: 0.707 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.00339/0.02869, allocations: 2.547 MB / 291.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.02872, allocations: 8.031 kB / 291.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006975/0.02942, allocations: 308.5 kB / 291.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009095/0.03033, allocations: 0.6613 MB / 292.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.0304, allocations: 103.1 kB / 292.5 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.03062, allocations: 144.5 kB / 292.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002864/0.03348, allocations: 2.312 MB / 295 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.03351, allocations: 11.88 kB / 295 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.03362, allocations: 71.92 kB / 295.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008686/0.03449, allocations: 0.8936 MB / 296 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.0364, allocations: 1.218 MB / 297.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00936/0.04576, allocations: 12.34 MB / 309.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.04784, allocations: 0.9139 MB / 310.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.04808, allocations: 192.1 kB / 310.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002407/0.05048, allocations: 2.07 MB / 312.7 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.05051, allocations: 38.56 kB / 312.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.224e-06/0.05051, allocations: 0 / 312.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.002874/0.05339, allocations: 1.246 MB / 314 MB, free: 6.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.05343, allocations: 111.1 kB / 314.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/0.05427, allocations: 1.188 MB / 315.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.0543, allocations: 37.7 kB / 315.3 MB, free: 5.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.05485, allocations: 1.409 MB / 316.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.05495, allocations: 190.6 kB / 316.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.05525, allocations: 447.9 kB / 317.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.05534, allocations: 349.9 kB / 317.7 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.05554, allocations: 211.8 kB / 317.9 MB, free: 2.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.05645, allocations: 1.73 MB / 319.6 MB, free: 224 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.05813, allocations: 2.238 MB / 321.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.05815, allocations: 16 kB / 321.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001598/0.05974, allocations: 1.579 MB / 323.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.05979, allocations: 28 kB / 323.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-05/0.05983, allocations: 56 kB / 323.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.559e-05/0.05988, allocations: 72 kB / 323.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.06082, allocations: 0.5971 MB / 324.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.212e-05/0.06087, allocations: 115.5 kB / 324.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/0.0617, allocations: 313.7 kB / 324.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.0618, allocations: 128 kB / 324.8 MB, free: 10.3 MB / 330.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.0004583/0.06226, allocations: 327.3 kB / 325.1 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.06236, allocations: 75.91 kB / 325.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.06247, allocations: 120 kB / 325.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.06248, allocations: 4 kB / 325.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.06248, allocations: 4 kB / 325.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.06249, allocations: 11.92 kB / 325.3 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.06451, allocations: 2.375 MB / 327.7 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.06452, allocations: 8 kB / 327.7 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.06471, allocations: 111.8 kB / 327.8 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.06482, allocations: 131 kB / 327.9 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.06483, allocations: 16.66 kB / 327.9 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.06486, allocations: 27.94 kB / 327.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.06487, allocations: 27.92 kB / 328 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.06488, allocations: 15.94 kB / 328 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.06533, allocations: 0.7244 MB / 328.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.06541, allocations: 27.98 kB / 328.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.06561, allocations: 23.94 kB / 328.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.06567, allocations: 71.62 kB / 328.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.06569, allocations: 31.98 kB / 328.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003367/0.06603, allocations: 465.1 kB / 329.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.06603, allocations: 3.938 kB / 329.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001256/0.06728, allocations: 0.4945 MB / 329.8 MB, free: 4.727 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.0001683/0.06745, allocations: 112.2 kB / 329.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008717/0.06832, allocations: 0.8789 MB / 330.8 MB, free: 3.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.176e-05/0.06838, allocations: 35.84 kB / 330.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.0685, allocations: 160.9 kB / 331 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.06902, allocations: 241.4 kB / 331.2 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1587/0.2278, allocations: 3.494 MB / 334.7 MB, free: 48.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.2284, allocations: 0.5199 MB / 335.3 MB, free: 48.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006042/0.229, allocations: 197.8 kB / 335.4 MB, free: 48.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.2293, allocations: 229.7 kB / 335.7 MB, free: 48.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.854e-06/0.2293, allocations: 0 / 335.7 MB, free: 48.81 MB / 330.7 MB Notification: Performance of Templates: time 0.0163/0.2456, allocations: 9.116 MB / 344.8 MB, free: 46.73 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.326570985838771]