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.001506/0.001506, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001837/0.001837, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 0.8867/0.8867, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.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.15/0.15, allocations: 32.38 MB / 270.7 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 2.023e-06/2.023e-06, allocations: 0 / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.643e-05, allocations: 10.19 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009279/0.009305, allocations: 13.37 MB / 361.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007211/0.01652, allocations: 4.12 MB / 365.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.01836, allocations: 79.69 kB / 365.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.02093, allocations: 1.958 MB / 367.2 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.0244, allocations: 1.999 MB / 369.2 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.02541, allocations: 0.6002 MB / 369.8 MB, free: 3.543 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004191/0.0296, allocations: 4.308 MB / 374.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003465/0.03307, allocations: 2.669 MB / 376.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.03617, allocations: 2.186 MB / 379 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.03883, allocations: 2.194 MB / 381.2 MB, free: 8.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005576/0.03938, allocations: 304 kB / 381.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.04095, allocations: 0.9673 MB / 382.4 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00142/0.04237, allocations: 1.936 MB / 384.4 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00153/0.0439, allocations: 1.187 MB / 385.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005002/0.0489, allocations: 4.584 MB / 390.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.04891, allocations: 0 / 390.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.04891, allocations: 0 / 390.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001487/0.04906, allocations: 0 / 390.1 MB, free: 15.12 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.00602/0.05508, allocations: 5.134 MB / 395.3 MB, free: 9.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.05512, allocations: 12.03 kB / 395.3 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006979/0.0621, allocations: 3.73 MB / 399 MB, free: 6.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.06557, allocations: 1.98 MB / 401 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.06571, allocations: 221.9 kB / 401.2 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005762/0.06629, allocations: 292.1 kB / 401.5 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0086/0.07489, allocations: 5.808 MB / 407.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.463e-05/0.07497, allocations: 27.77 kB / 407.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/0.07526, allocations: 131.8 kB / 407.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/0.07806, allocations: 2.702 MB / 410.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009792/0.08785, allocations: 3.547 MB / 413.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03417/0.122, allocations: 36.45 MB / 450.2 MB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1613/0.2833, allocations: 1.811 MB / 452 MB, free: 82.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.2849, allocations: 0.7055 MB / 452.7 MB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006015/0.2855, allocations: 421.3 kB / 453.1 MB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2855, allocations: 52.58 kB / 453.1 MB, free: 82.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=242): time 4.939e-06/0.2855, allocations: 0 / 453.1 MB, free: 82.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=254): time 0.03078/0.3163, allocations: 10.24 MB / 463.4 MB, free: 81.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3164, allocations: 73.09 kB / 463.5 MB, free: 81.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.3203, allocations: 2.584 MB / 466 MB, free: 81.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004057/0.3207, allocations: 56.11 kB / 466.1 MB, free: 81.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/0.3224, allocations: 3.093 MB / 469.2 MB, free: 79.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00089/0.3233, allocations: 0.9998 MB / 470.2 MB, free: 78.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009228/0.3242, allocations: 1.152 MB / 471.3 MB, free: 78.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.3243, allocations: 480.7 kB / 471.8 MB, free: 78.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.3253, allocations: 0.7135 MB / 472.5 MB, free: 78.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.3275, allocations: 5.104 MB / 477.6 MB, free: 72.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/0.3315, allocations: 6.461 MB / 484.1 MB, free: 66.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.205e-05/0.3315, allocations: 31.34 kB / 484.1 MB, free: 66.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.00714/0.3387, allocations: 5.231 MB / 489.3 MB, free: 62.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.3387, allocations: 54.42 kB / 489.4 MB, free: 62.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.3388, allocations: 104 kB / 489.5 MB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.3403, allocations: 0.6507 MB / 490.2 MB, free: 62.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.3427, allocations: 1.255 MB / 491.4 MB, free: 61.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/0.3462, allocations: 3.11 MB / 494.5 MB, free: 58.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.3493, allocations: 338.4 kB / 494.8 MB, free: 58.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/0.3498, allocations: 311.8 kB / 495.2 MB, free: 57.8 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.001576/0.3513, allocations: 0.5962 MB / 495.7 MB, free: 57.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/0.3518, allocations: 338.1 kB / 496.1 MB, free: 56.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/0.3563, allocations: 2.639 MB / 498.7 MB, free: 54.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/0.3564, allocations: 50.72 kB / 498.8 MB, free: 54.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3564, allocations: 15.31 kB / 498.8 MB, free: 54.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.3564, allocations: 7.969 kB / 498.8 MB, free: 54.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.3673, allocations: 6.989 MB / 0.4939 GB, free: 47.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.3673, allocations: 8 kB / 0.4939 GB, free: 47.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.3685, allocations: 402.6 kB / 0.4943 GB, free: 47.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.37, allocations: 0.5179 MB / 0.4948 GB, free: 46.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.3701, allocations: 52 kB / 0.4949 GB, free: 46.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/0.3726, allocations: 2.564 MB / 0.4974 GB, free: 43.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/0.3726, allocations: 21.39 kB / 0.4974 GB, free: 43.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.3777, allocations: 3.292 MB / 0.5006 GB, free: 40.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.3788, allocations: 0.5605 MB / 0.5012 GB, free: 39.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.3791, allocations: 53.86 kB / 0.5012 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.3801, allocations: 179.4 kB / 0.5014 GB, free: 39.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.3804, allocations: 168.2 kB / 0.5015 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.3806, allocations: 68 kB / 0.5016 GB, free: 39.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001377/0.3819, allocations: 1.11 MB / 0.5027 GB, free: 38.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3819, allocations: 0 / 0.5027 GB, free: 38.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003801/0.3857, allocations: 1.075 MB / 0.5037 GB, free: 37.2 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.0004602/0.3862, allocations: 214.6 kB / 0.5039 GB, free: 36.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004744/0.391, allocations: 3.051 MB / 0.5069 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.391, allocations: 0 / 0.5069 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.3923, allocations: 1.028 MB / 0.5079 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.3938, allocations: 312.4 kB / 0.5082 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.4056, allocations: 8.431 MB / 0.5165 GB, free: 23.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/0.4067, allocations: 1.29 MB / 0.5177 GB, free: 22.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002417/0.4091, allocations: 1.621 MB / 0.5193 GB, free: 20.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.4097, allocations: 208.5 kB / 0.5195 GB, free: 20.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.345e-06/0.4097, allocations: 3.938 kB / 0.5195 GB, free: 20.77 MB / 378.7 MB Notification: Performance of Templates: time 0.03865/0.4483, allocations: 28.09 MB / 0.5469 GB, free: 8.824 MB / 394.7 MB " [Timeout remaining time 660] 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","",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.355796104064211]