Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002649/0.002649, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.002854/0.002854, allocations: 165.3 kB / 24.27 MB, free: 132 kB / 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 1.632/1.632, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3924/0.3924, allocations: 34.26 MB / 295.3 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.836e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01811/0.01814, allocations: 12.94 MB / 390.2 MB, free: 5.926 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.02946, allocations: 4.084 MB / 394.3 MB, free: 1.832 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.03231, allocations: 79.69 kB / 394.4 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005328/0.03764, allocations: 1.942 MB / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00592/0.04356, allocations: 1.929 MB / 398.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.04537, allocations: 0.5963 MB / 398.9 MB, free: 13.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006977/0.05234, allocations: 4.264 MB / 403.1 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00545/0.05779, allocations: 2.614 MB / 405.7 MB, free: 6.328 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005456/0.06325, allocations: 2.116 MB / 407.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004871/0.06812, allocations: 2.167 MB / 410 MB, free: 2.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.06922, allocations: 292 kB / 410.3 MB, free: 1.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.07214, allocations: 0.9633 MB / 411.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002942/0.07509, allocations: 1.866 MB / 413.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003207/0.07829, allocations: 1.152 MB / 414.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.08852, allocations: 6.895 MB / 421.2 MB, free: 6.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.08853, allocations: 4 kB / 421.2 MB, free: 6.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08853, allocations: 4 kB / 421.2 MB, free: 6.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002089/0.08874, allocations: 0 / 421.2 MB, free: 6.832 MB / 394.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.01305/0.1018, allocations: 5.445 MB / 426.6 MB, free: 1.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.1018, allocations: 8.031 kB / 426.7 MB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/0.1151, allocations: 3.699 MB / 430.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006307/0.1214, allocations: 1.934 MB / 432.3 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002695/0.1217, allocations: 221.8 kB / 432.5 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.123, allocations: 288.1 kB / 432.8 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.1394, allocations: 6.157 MB / 438.9 MB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.1396, allocations: 23.77 kB / 439 MB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004465/0.14, allocations: 131.8 kB / 439.1 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005048/0.145, allocations: 2.62 MB / 441.7 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2205/0.3655, allocations: 4.053 MB / 445.8 MB, free: 91.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05652/0.4221, allocations: 44.34 MB / 490.1 MB, free: 62.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/0.4296, allocations: 1.857 MB / 492 MB, free: 61.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.4315, allocations: 0.7242 MB / 492.7 MB, free: 61.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000881/0.4323, allocations: 422.3 kB / 493.1 MB, free: 61.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.4324, allocations: 54.08 kB / 493.1 MB, free: 61.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 4.87e-06/0.4324, allocations: 1.531 kB / 493.2 MB, free: 61.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.03222/0.4646, allocations: 10.35 MB / 0.4917 GB, free: 59.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4647, allocations: 80.28 kB / 0.4918 GB, free: 59.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/0.4686, allocations: 3.148 MB / 0.4948 GB, free: 57.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002894/0.4688, allocations: 57.7 kB / 0.4949 GB, free: 57.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.4703, allocations: 3.162 MB / 0.498 GB, free: 54.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009201/0.4712, allocations: 1.063 MB / 0.499 GB, free: 53.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/0.473, allocations: 1.331 MB / 0.5003 GB, free: 52.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4731, allocations: 484.7 kB / 0.5008 GB, free: 51.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.4748, allocations: 0.7548 MB / 0.5015 GB, free: 51.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003429/0.4783, allocations: 5.211 MB / 0.5066 GB, free: 44.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005502/0.4838, allocations: 6.623 MB / 0.5131 GB, free: 35.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.865e-05/0.4838, allocations: 28 kB / 0.5131 GB, free: 35.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01073/0.4945, allocations: 5.258 MB / 0.5182 GB, free: 31.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.4946, allocations: 53.05 kB / 0.5183 GB, free: 31.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.4947, allocations: 100 kB / 0.5184 GB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.4973, allocations: 0.6621 MB / 0.519 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/0.5013, allocations: 1.221 MB / 0.5202 GB, free: 29.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004508/0.5058, allocations: 3.219 MB / 0.5234 GB, free: 26.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/0.5101, allocations: 323.3 kB / 0.5237 GB, free: 26.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009095/0.511, allocations: 316.6 kB / 0.524 GB, free: 25.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * 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 (657): * Single equations (assignments): 650 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003069/0.5141, allocations: 0.6927 MB / 0.5247 GB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008818/0.515, allocations: 341.6 kB / 0.525 GB, free: 24.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006469/0.5215, allocations: 2.809 MB / 0.5277 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.622e-05/0.5215, allocations: 54.88 kB / 0.5278 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5215, allocations: 0.875 kB / 0.5278 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.5215, allocations: 9.75 kB / 0.5278 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.5388, allocations: 8.162 MB / 0.5358 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.5388, allocations: 8 kB / 0.5358 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.5405, allocations: 400.7 kB / 0.5362 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.5426, allocations: 0.5261 MB / 0.5367 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/0.5429, allocations: 56 kB / 0.5367 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.5462, allocations: 2.65 MB / 0.5393 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.5462, allocations: 15.94 kB / 0.5393 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006853/0.5531, allocations: 3.453 MB / 0.5427 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009133/0.554, allocations: 258.1 kB / 0.5429 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006671/0.5546, allocations: 47.98 kB / 0.543 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.5564, allocations: 179.6 kB / 0.5432 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/0.5567, allocations: 160.8 kB / 0.5433 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.5569, allocations: 71.98 kB / 0.5434 GB, free: 7.262 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001975/0.5588, allocations: 1.292 MB / 0.5446 GB, free: 5.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5588, allocations: 0 / 0.5446 GB, free: 5.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004747/0.5636, allocations: 1.031 MB / 0.5457 GB, free: 4.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (196): * Single equations (assignments): 189 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005309/0.5641, allocations: 210.6 kB / 0.5459 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00598/0.5701, allocations: 3.256 MB / 0.549 GB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.5701, allocations: 4 kB / 0.549 GB, free: 1.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.5718, allocations: 1.109 MB / 0.5501 GB, free: 348 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.5741, allocations: 315 kB / 0.5504 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.5942, allocations: 8.396 MB / 0.5586 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005056/0.5993, allocations: 2.5 MB / 0.5611 GB, free: 4.855 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004461/0.6038, allocations: 1.613 MB / 0.5626 GB, free: 3.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/0.6046, allocations: 212.4 kB / 0.5628 GB, free: 3.023 MB / 426.7 MB Notification: Performance of SimCode: time 2.224e-06/0.6046, allocations: 0 / 0.5628 GB, free: 3.023 MB / 426.7 MB Notification: Performance of Templates: time 0.06904/0.6736, allocations: 27.77 MB / 0.59 GB, free: 7.637 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.909875649027526]