Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002392/0.002392, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002834/0.002834, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 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 1.351/1.351, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.1984/0.1984, allocations: 32.38 MB / 270 MB, free: 14.77 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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.591e-05, allocations: 10.31 kB / 346.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01287/0.0129, allocations: 13.34 MB / 360.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009758/0.02265, allocations: 4.116 MB / 364.4 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.0245, allocations: 83.69 kB / 364.5 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004521/0.02902, allocations: 1.954 MB / 366.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004823/0.03384, allocations: 1.991 MB / 368.4 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.03527, allocations: 0.6119 MB / 369 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005811/0.04108, allocations: 4.308 MB / 373.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.04452, allocations: 2.665 MB / 376 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.04769, allocations: 2.186 MB / 378.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.05108, allocations: 2.194 MB / 380.4 MB, free: 8.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008725/0.05196, allocations: 300 kB / 380.7 MB, free: 7.891 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.05403, allocations: 0.975 MB / 381.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002097/0.05613, allocations: 1.928 MB / 383.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.05785, allocations: 1.195 MB / 384.8 MB, free: 3.781 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.06811, allocations: 7.085 MB / 391.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.06811, allocations: 0 / 391.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06811, allocations: 0 / 391.9 MB, free: 12.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001824/0.0683, allocations: 0 / 391.9 MB, free: 12.67 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01223/0.08053, allocations: 5.579 MB / 397.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.08058, allocations: 8.031 kB / 397.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.09346, allocations: 3.73 MB / 401.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/0.09993, allocations: 1.992 MB / 403.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.1002, allocations: 214 kB / 403.4 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009955/0.1012, allocations: 296.1 kB / 403.7 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.1171, allocations: 6.276 MB / 410 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.1172, allocations: 35.7 kB / 410 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004869/0.1177, allocations: 143.8 kB / 410.1 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005464/0.1231, allocations: 2.699 MB / 412.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.138, allocations: 4.09 MB / 416.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2283/0.3663, allocations: 45.29 MB / 462.2 MB, free: 73.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006665/0.373, allocations: 1.857 MB / 464.1 MB, free: 73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.3744, allocations: 0.7206 MB / 464.8 MB, free: 72.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006639/0.375, allocations: 416.8 kB / 465.2 MB, free: 72.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3751, allocations: 53.14 kB / 465.2 MB, free: 72.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=242): time 4.849e-06/0.3751, allocations: 3.781 kB / 465.2 MB, free: 72.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=254): time 0.02985/0.4049, allocations: 10.41 MB / 475.7 MB, free: 71.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.405, allocations: 75.77 kB / 475.7 MB, free: 71.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.4082, allocations: 3.254 MB / 479 MB, free: 71.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.4084, allocations: 55.8 kB / 479 MB, free: 71.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.4097, allocations: 3.251 MB / 482.3 MB, free: 69.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008218/0.4105, allocations: 1.067 MB / 483.4 MB, free: 68.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.4119, allocations: 1.354 MB / 484.7 MB, free: 67.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.412, allocations: 480.9 kB / 485.2 MB, free: 67.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.4134, allocations: 0.7573 MB / 485.9 MB, free: 66.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002722/0.4161, allocations: 5.331 MB / 491.3 MB, free: 59.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005014/0.4211, allocations: 6.757 MB / 498 MB, free: 50.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.446e-05/0.4212, allocations: 32 kB / 498.1 MB, free: 50.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.009187/0.4304, allocations: 5.35 MB / 0.4916 GB, free: 45.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.4305, allocations: 48 kB / 0.4917 GB, free: 45.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-05/0.4305, allocations: 107.6 kB / 0.4918 GB, free: 45.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.4329, allocations: 0.6655 MB / 0.4924 GB, free: 44.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/0.4364, allocations: 1.244 MB / 0.4936 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.4402, allocations: 3.235 MB / 0.4968 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/0.4435, allocations: 335.7 kB / 0.4971 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/0.4438, allocations: 316 kB / 0.4974 GB, free: 39.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (669): * Single equations (assignments): 662 * 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.001514/0.4453, allocations: 0.7043 MB / 0.4981 GB, free: 38.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.4458, allocations: 346.1 kB / 0.4984 GB, free: 38.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005758/0.4516, allocations: 2.812 MB / 0.5012 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-05/0.4516, allocations: 47.98 kB / 0.5012 GB, free: 35.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4516, allocations: 4 kB / 0.5012 GB, free: 35.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.4517, allocations: 11.95 kB / 0.5012 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.4676, allocations: 8.201 MB / 0.5092 GB, free: 26.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.4677, allocations: 16.31 kB / 0.5093 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.4692, allocations: 395.4 kB / 0.5096 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.4713, allocations: 0.5144 MB / 0.5101 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.4714, allocations: 55.98 kB / 0.5102 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.4747, allocations: 2.654 MB / 0.5128 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.4747, allocations: 19.88 kB / 0.5128 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/0.4812, allocations: 3.455 MB / 0.5162 GB, free: 19.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/0.4832, allocations: 0.5721 MB / 0.5167 GB, free: 18.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/0.4837, allocations: 44 kB / 0.5168 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.4852, allocations: 187 kB / 0.5169 GB, free: 18.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/0.4855, allocations: 156.8 kB / 0.5171 GB, free: 18.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.4857, allocations: 75.98 kB / 0.5172 GB, free: 18.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001971/0.4877, allocations: 1.325 MB / 0.5185 GB, free: 17.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4877, allocations: 0 / 0.5185 GB, free: 17.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004738/0.4924, allocations: 1.081 MB / 0.5195 GB, free: 15.96 MB / 378.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.0005991/0.493, allocations: 210.1 kB / 0.5197 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005506/0.4985, allocations: 3.309 MB / 0.523 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/0.4985, allocations: 4.062 kB / 0.523 GB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.5006, allocations: 1.108 MB / 0.524 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.5032, allocations: 310.1 kB / 0.5243 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5147, allocations: 8.578 MB / 0.5327 GB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/0.5175, allocations: 2.56 MB / 0.5352 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004314/0.5218, allocations: 1.613 MB / 0.5368 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007867/0.5226, allocations: 216.5 kB / 0.537 GB, free: 13.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5226, allocations: 0 / 0.537 GB, free: 13.77 MB / 394.7 MB Notification: Performance of Templates: time 0.06582/0.5884, allocations: 28.07 MB / 0.5644 GB, free: 1.824 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.586139943101443]