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.001115/0.001115, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009847/0.0009847, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.9615/0.9615, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.139/0.139, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.713e-06/1.713e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.72e-05, allocations: 2.312 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01011/0.01014, allocations: 13.42 MB / 361.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007732/0.01787, allocations: 4.136 MB / 365.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.02028, allocations: 79.69 kB / 365.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.02304, allocations: 1.962 MB / 367.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.02737, allocations: 1.987 MB / 369.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.02858, allocations: 0.6118 MB / 369.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004799/0.03338, allocations: 4.304 MB / 374.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/0.03709, allocations: 2.669 MB / 376.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003909/0.041, allocations: 2.179 MB / 379 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.04403, allocations: 2.202 MB / 381.2 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005725/0.0446, allocations: 303.9 kB / 381.5 MB, free: 7.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.04627, allocations: 0.9712 MB / 382.5 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.04765, allocations: 1.932 MB / 384.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.04916, allocations: 1.187 MB / 385.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005685/0.05485, allocations: 4.58 MB / 390.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.05485, allocations: 0 / 390.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.05485, allocations: 0 / 390.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.05502, allocations: 0 / 390.2 MB, free: 14.73 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.00732/0.06234, allocations: 5.141 MB / 395.3 MB, free: 9.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.06238, allocations: 8.031 kB / 395.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006575/0.06896, allocations: 3.73 MB / 399.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/0.07226, allocations: 1.969 MB / 401 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.07238, allocations: 225.9 kB / 401.3 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000565/0.07294, allocations: 296.1 kB / 401.6 MB, free: 3.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00817/0.08111, allocations: 5.804 MB / 407.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.259e-05/0.08119, allocations: 35.75 kB / 407.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002926/0.08149, allocations: 135.8 kB / 407.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0026/0.08409, allocations: 2.695 MB / 410.2 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.09452, allocations: 3.532 MB / 413.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.1346, allocations: 36.47 MB / 450.2 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1677/0.3023, allocations: 1.814 MB / 452 MB, free: 96.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.3036, allocations: 0.7033 MB / 452.7 MB, free: 96.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/0.3041, allocations: 414.2 kB / 453.1 MB, free: 96.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3042, allocations: 54.08 kB / 453.2 MB, free: 96.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=242): time 4.519e-06/0.3042, allocations: 0 / 453.2 MB, free: 96.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=254): time 0.01946/0.3236, allocations: 10.25 MB / 463.5 MB, free: 95.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3237, allocations: 74.69 kB / 463.5 MB, free: 95.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.3263, allocations: 2.579 MB / 466.1 MB, free: 95.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.3264, allocations: 61.66 kB / 466.2 MB, free: 95.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.3276, allocations: 3.088 MB / 469.3 MB, free: 93.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006169/0.3282, allocations: 0.999 MB / 470.3 MB, free: 93.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009613/0.3291, allocations: 1.158 MB / 471.4 MB, free: 92.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.3292, allocations: 482.9 kB / 471.9 MB, free: 92.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.3302, allocations: 0.7093 MB / 472.6 MB, free: 91.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.3324, allocations: 5.109 MB / 477.7 MB, free: 84.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.3364, allocations: 6.458 MB / 484.2 MB, free: 76.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-05/0.3365, allocations: 32 kB / 484.2 MB, free: 76.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.006821/0.3433, allocations: 5.228 MB / 489.4 MB, free: 72.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.3433, allocations: 48.94 kB / 489.5 MB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-05/0.3434, allocations: 104 kB / 489.6 MB, free: 71.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.3448, allocations: 0.651 MB / 490.2 MB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.3471, allocations: 1.247 MB / 491.5 MB, free: 70.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.3497, allocations: 3.121 MB / 494.6 MB, free: 67.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.3525, allocations: 339.7 kB / 494.9 MB, free: 66.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/0.3529, allocations: 310.5 kB / 495.2 MB, free: 66.41 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.001564/0.3545, allocations: 0.5916 MB / 495.8 MB, free: 65.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/0.3551, allocations: 340.5 kB / 496.1 MB, free: 65.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.3583, allocations: 2.643 MB / 498.8 MB, free: 62.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/0.3584, allocations: 47.98 kB / 498.8 MB, free: 62.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3584, allocations: 11.62 kB / 498.8 MB, free: 62.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3584, allocations: 11.95 kB / 498.9 MB, free: 62.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/0.3676, allocations: 6.987 MB / 0.494 GB, free: 55.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3676, allocations: 10.73 kB / 0.494 GB, free: 55.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008842/0.3685, allocations: 396.3 kB / 0.4944 GB, free: 55.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.3697, allocations: 0.5191 MB / 0.4949 GB, free: 54.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.3698, allocations: 51.98 kB / 0.4949 GB, free: 54.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.3719, allocations: 2.564 MB / 0.4974 GB, free: 51.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.3719, allocations: 23.91 kB / 0.4975 GB, free: 51.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004067/0.3759, allocations: 3.29 MB / 0.5007 GB, free: 48.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009733/0.3769, allocations: 0.5701 MB / 0.5012 GB, free: 47.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.3771, allocations: 44 kB / 0.5013 GB, free: 47.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/0.3779, allocations: 183.7 kB / 0.5014 GB, free: 47.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.3781, allocations: 159.5 kB / 0.5016 GB, free: 47.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/0.3782, allocations: 79.61 kB / 0.5017 GB, free: 47.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001172/0.3794, allocations: 1.106 MB / 0.5028 GB, free: 46.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3794, allocations: 0 / 0.5028 GB, free: 46.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003065/0.3824, allocations: 1.073 MB / 0.5038 GB, free: 45.23 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.0004126/0.3828, allocations: 217.3 kB / 0.504 GB, free: 45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003895/0.3867, allocations: 3.048 MB / 0.507 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.3867, allocations: 4.047 kB / 0.507 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3878, allocations: 1.03 MB / 0.508 GB, free: 40.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3891, allocations: 311.3 kB / 0.5083 GB, free: 40.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009683/0.3988, allocations: 8.434 MB / 0.5165 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009214/0.3997, allocations: 1.29 MB / 0.5178 GB, free: 30.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002288/0.402, allocations: 1.617 MB / 0.5194 GB, free: 29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005445/0.4025, allocations: 216.5 kB / 0.5196 GB, free: 28.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.725e-06/0.4025, allocations: 0 / 0.5196 GB, free: 28.79 MB / 378.7 MB Notification: Performance of Templates: time 0.03774/0.4403, allocations: 28.09 MB / 0.547 GB, free: 0.8516 MB / 378.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.28231085697189]