Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.001011/0.001011, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001501/0.001501, allocations: 172.4 kB / 25.61 MB, free: 8.902 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.9005/0.9005, allocations: 177.2 MB / 206.1 MB, free: 4.5 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.1703/0.1703, allocations: 32.8 MB / 295.4 MB, free: 15.36 MB / 282.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.984 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.263e-05, allocations: 6.141 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.00739/0.007403, allocations: 12.68 MB / 390 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.01244, allocations: 4.059 MB / 394 MB, free: 8.746 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006699/0.01311, allocations: 79.69 kB / 394.1 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.01477, allocations: 1.927 MB / 396 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.01657, allocations: 1.925 MB / 397.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.01718, allocations: 0.6079 MB / 398.6 MB, free: 4.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.01916, allocations: 4.262 MB / 402.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.02084, allocations: 2.618 MB / 405.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.02239, allocations: 2.167 MB / 407.6 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.02394, allocations: 2.108 MB / 409.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.02419, allocations: 288 kB / 410 MB, free: 8.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009336/0.02512, allocations: 0.9516 MB / 410.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009695/0.02609, allocations: 1.858 MB / 412.8 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.02684, allocations: 1.137 MB / 413.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.02972, allocations: 4.416 MB / 418.4 MB, free: 296 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.02972, allocations: 0 / 418.4 MB, free: 296 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02972, allocations: 0 / 418.4 MB, free: 296 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.939e-05/0.02975, allocations: 3.938 kB / 418.4 MB, free: 292 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.00443/0.03418, allocations: 4.84 MB / 423.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.03421, allocations: 15.98 kB / 423.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/0.03842, allocations: 1.91 MB / 425.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.04006, allocations: 1.737 MB / 426.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.04017, allocations: 213.8 kB / 427.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.04051, allocations: 296.1 kB / 427.4 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005065/0.04557, allocations: 5.116 MB / 432.5 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.04563, allocations: 31.69 kB / 432.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.04588, allocations: 131.8 kB / 432.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001854/0.04773, allocations: 2.238 MB / 434.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004081/0.05182, allocations: 2.671 MB / 437.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03389/0.08571, allocations: 35.37 MB / 472.9 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.08937, allocations: 1.455 MB / 474.4 MB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.09007, allocations: 445.4 kB / 474.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006776/0.09685, allocations: 4.02 MB / 478.8 MB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.09689, allocations: 50.69 kB / 478.9 MB, free: 1.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=180): time 4.779e-06/0.09689, allocations: 0 / 478.9 MB, free: 1.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=187): time 0.01102/0.1079, allocations: 5.515 MB / 484.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.108, allocations: 64.72 kB / 484.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.1106, allocations: 2.759 MB / 487.2 MB, free: 9.422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.1107, allocations: 49.7 kB / 487.3 MB, free: 9.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002376/0.1131, allocations: 3.226 MB / 490.5 MB, free: 6.109 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007405/0.1138, allocations: 0.7638 MB / 491.2 MB, free: 5.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.1149, allocations: 1.164 MB / 492.4 MB, free: 4.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.115, allocations: 480.8 kB / 492.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009187/0.1159, allocations: 0.5139 MB / 493.4 MB, free: 3.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.189/0.305, allocations: 5.087 MB / 498.5 MB, free: 105.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.3098, allocations: 6.148 MB / 0.4928 GB, free: 99.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.3099, allocations: 31.88 kB / 0.4928 GB, free: 99.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.00645/0.3164, allocations: 4.141 MB / 0.4969 GB, free: 98.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.3164, allocations: 48.34 kB / 0.4969 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.3165, allocations: 108.4 kB / 0.497 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.3168, allocations: 191 kB / 0.4972 GB, free: 98.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.3187, allocations: 1.142 MB / 0.4983 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009807/0.3197, allocations: 1.985 MB / 0.5003 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.3219, allocations: 205 kB / 0.5005 GB, free: 97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.3222, allocations: 274 kB / 0.5007 GB, free: 97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 491 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (654): * Single equations (assignments): 647 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00138/0.3236, allocations: 0.5835 MB / 0.5013 GB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.324, allocations: 309.4 kB / 0.5016 GB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.3252, allocations: 1.093 MB / 0.5026 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/0.3252, allocations: 27.89 kB / 0.5027 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3252, allocations: 3.562 kB / 0.5027 GB, free: 96.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.3253, allocations: 10.22 kB / 0.5027 GB, free: 96.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/0.3314, allocations: 4.946 MB / 0.5075 GB, free: 94.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.3314, allocations: 8 kB / 0.5075 GB, free: 94.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.332, allocations: 229.8 kB / 0.5077 GB, free: 94.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001861/0.3322, allocations: 48.12 kB / 0.5078 GB, free: 94.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.673e-05/0.3323, allocations: 42.11 kB / 0.5078 GB, free: 94.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008213/0.3331, allocations: 1.794 MB / 0.5096 GB, free: 92.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3331, allocations: 12 kB / 0.5096 GB, free: 92.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.335, allocations: 1.841 MB / 0.5114 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.3356, allocations: 245.5 kB / 0.5116 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.3358, allocations: 38.34 kB / 0.5117 GB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/0.3362, allocations: 33.7 kB / 0.5117 GB, free: 90.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3364, allocations: 119.6 kB / 0.5118 GB, free: 90.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-05/0.3365, allocations: 47.44 kB / 0.5119 GB, free: 90.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.3376, allocations: 1.088 MB / 0.5129 GB, free: 89.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3376, allocations: 4 kB / 0.5129 GB, free: 89.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003359/0.3409, allocations: 0.9072 MB / 0.5138 GB, free: 89.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004464/0.3414, allocations: 195.3 kB / 0.514 GB, free: 88.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003764/0.3451, allocations: 2.43 MB / 0.5164 GB, free: 86.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.3451, allocations: 128 / 0.5164 GB, free: 86.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.3459, allocations: 0.6678 MB / 0.517 GB, free: 86.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.3476, allocations: 318 kB / 0.5173 GB, free: 86.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.3578, allocations: 7.721 MB / 0.5249 GB, free: 78.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.3588, allocations: 1.257 MB / 0.5261 GB, free: 77.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00114/0.36, allocations: 435.1 kB / 0.5265 GB, free: 77.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.3605, allocations: 498.1 kB / 0.527 GB, free: 76.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3605, allocations: 0 / 0.527 GB, free: 76.84 MB / 410.7 MB Notification: Performance of Templates: time 0.03917/0.3997, allocations: 23.69 MB / 0.5501 GB, free: 53.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.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: 4.210963381454349]