Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.035/1.035, allocations: 177 MB / 205.9 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1762/0.1762, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.845e-05, allocations: 3.719 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009089/0.009128, allocations: 12.68 MB / 392.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006571/0.0157, allocations: 4.063 MB / 396.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.01704, allocations: 79.69 kB / 396.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.01892, allocations: 1.919 MB / 398.8 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.02129, allocations: 1.925 MB / 400.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.02206, allocations: 0.6001 MB / 401.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.02551, allocations: 4.266 MB / 405.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002532/0.02804, allocations: 2.618 MB / 408.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.03087, allocations: 2.171 MB / 410.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.03315, allocations: 2.108 MB / 412.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004894/0.03364, allocations: 288 kB / 412.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.03509, allocations: 0.9516 MB / 413.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.03639, allocations: 1.858 MB / 415.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.03785, allocations: 1.141 MB / 416.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004598/0.04245, allocations: 4.409 MB / 421.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.04246, allocations: 0 / 421.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.04246, allocations: 0 / 421.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001118/0.04257, allocations: 4 kB / 421.1 MB, free: 13.49 MB / 346.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.005928/0.0485, allocations: 4.848 MB / 425.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.04855, allocations: 8.031 kB / 425.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/0.05315, allocations: 1.906 MB / 427.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.05509, allocations: 1.737 MB / 429.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.05519, allocations: 221.8 kB / 429.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.05555, allocations: 292.1 kB / 430.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/0.0607, allocations: 5.117 MB / 435.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.428e-05/0.06076, allocations: 27.77 kB / 435.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/0.06102, allocations: 135.8 kB / 435.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001906/0.06293, allocations: 2.238 MB / 437.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/0.06708, allocations: 2.68 MB / 440.3 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0244/0.09148, allocations: 35.36 MB / 475.6 MB, free: 5.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/0.09436, allocations: 1.457 MB / 477.1 MB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.09488, allocations: 446.1 kB / 477.5 MB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005159/0.1, allocations: 4.022 MB / 481.6 MB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1001, allocations: 46.7 kB / 481.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 2.605e-06/0.1001, allocations: 8 kB / 481.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01003/0.1101, allocations: 5.511 MB / 487.1 MB, free: 9.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1102, allocations: 64.72 kB / 487.2 MB, free: 9.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.1126, allocations: 2.759 MB / 489.9 MB, free: 6.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.1126, allocations: 45.7 kB / 490 MB, free: 6.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.1146, allocations: 3.218 MB / 493.2 MB, free: 3.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005505/0.1151, allocations: 0.7637 MB / 494 MB, free: 2.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001091/0.1162, allocations: 1.164 MB / 495.1 MB, free: 1.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1164, allocations: 480.7 kB / 495.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007665/0.1171, allocations: 0.5216 MB / 496.1 MB, free: 376 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1907/0.3078, allocations: 5.085 MB / 0.4895 GB, free: 103.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004105/0.3119, allocations: 6.147 MB / 0.4955 GB, free: 97.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.687e-05/0.312, allocations: 34.05 kB / 0.4955 GB, free: 97.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.005837/0.3178, allocations: 4.145 MB / 0.4995 GB, free: 96.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.3179, allocations: 50.16 kB / 0.4996 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.828e-05/0.3179, allocations: 106.3 kB / 0.4997 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/0.3183, allocations: 180.4 kB / 0.4999 GB, free: 96.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.3201, allocations: 1.147 MB / 0.501 GB, free: 96.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008689/0.3209, allocations: 1.987 MB / 0.5029 GB, free: 94.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.3228, allocations: 204 kB / 0.5031 GB, free: 94.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.323, allocations: 277.8 kB / 0.5034 GB, free: 94.59 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.001075/0.3241, allocations: 0.5892 MB / 0.504 GB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.3243, allocations: 313.1 kB / 0.5043 GB, free: 94.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3256, allocations: 1.092 MB / 0.5053 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.3256, allocations: 22.56 kB / 0.5054 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3256, allocations: 0 / 0.5054 GB, free: 94.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.3256, allocations: 10.92 kB / 0.5054 GB, free: 94.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005216/0.3308, allocations: 4.937 MB / 0.5102 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3309, allocations: 8 kB / 0.5102 GB, free: 92.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.3314, allocations: 231.8 kB / 0.5104 GB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001336/0.3315, allocations: 55.31 kB / 0.5105 GB, free: 92.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.3315, allocations: 41.09 kB / 0.5105 GB, free: 92.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005759/0.3321, allocations: 1.784 MB / 0.5122 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.3321, allocations: 13.02 kB / 0.5123 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.3336, allocations: 1.855 MB / 0.5141 GB, free: 88.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.3338, allocations: 249 kB / 0.5143 GB, free: 88.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.334, allocations: 33.81 kB / 0.5143 GB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.3344, allocations: 30.88 kB / 0.5144 GB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3345, allocations: 120 kB / 0.5145 GB, free: 88.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.3346, allocations: 57.84 kB / 0.5145 GB, free: 88.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007504/0.3354, allocations: 1.079 MB / 0.5156 GB, free: 87.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3354, allocations: 0 / 0.5156 GB, free: 87.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002607/0.338, allocations: 0.9147 MB / 0.5165 GB, free: 86.63 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.0003251/0.3383, allocations: 188.1 kB / 0.5167 GB, free: 86.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.3406, allocations: 2.435 MB / 0.519 GB, free: 84.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3406, allocations: 4 kB / 0.519 GB, free: 84.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.3411, allocations: 0.6644 MB / 0.5197 GB, free: 83.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/0.3421, allocations: 311.4 kB / 0.52 GB, free: 83.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.3498, allocations: 7.719 MB / 0.5275 GB, free: 76.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009431/0.3507, allocations: 1.261 MB / 0.5288 GB, free: 75.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009365/0.3517, allocations: 426.8 kB / 0.5292 GB, free: 74.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/0.3522, allocations: 0.4903 MB / 0.5296 GB, free: 74.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3522, allocations: 0 / 0.5296 GB, free: 74.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03964/0.3918, allocations: 23.69 MB / 0.5528 GB, free: 51.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.605517372954637]