Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00152/0.00152, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001669/0.001669, allocations: 172.6 kB / 24.82 MB, free: 9.266 MB / 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2951/0.2951, allocations: 32.81 MB / 294.6 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.854e-05, allocations: 2.312 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0106/0.01062, allocations: 12.69 MB / 389.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007672/0.01829, allocations: 4.068 MB / 393.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.0199, allocations: 75.75 kB / 393.3 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.02212, allocations: 1.919 MB / 395.2 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.025, allocations: 1.937 MB / 397.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.02586, allocations: 0.5963 MB / 397.8 MB, free: 15.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.02897, allocations: 4.263 MB / 402 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.03069, allocations: 2.614 MB / 404.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.03257, allocations: 2.179 MB / 406.8 MB, free: 5.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.03414, allocations: 2.1 MB / 408.9 MB, free: 3.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.03442, allocations: 288 kB / 409.2 MB, free: 3.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.03546, allocations: 0.9595 MB / 410.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.03647, allocations: 1.858 MB / 412 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008291/0.0373, allocations: 1.133 MB / 413.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.04068, allocations: 4.416 MB / 417.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.04069, allocations: 0 / 417.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.04069, allocations: 0 / 417.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.728e-05/0.04073, allocations: 0 / 417.6 MB, free: 11.12 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.004693/0.04543, allocations: 4.84 MB / 422.4 MB, free: 6.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.04547, allocations: 12.03 kB / 422.4 MB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/0.04958, allocations: 1.906 MB / 424.3 MB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.0514, allocations: 1.752 MB / 426.1 MB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.05152, allocations: 217.8 kB / 426.3 MB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.05187, allocations: 288.1 kB / 426.6 MB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/0.0576, allocations: 5.109 MB / 431.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.887e-05/0.05766, allocations: 27.77 kB / 431.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.05793, allocations: 135.8 kB / 431.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/0.05994, allocations: 2.246 MB / 434.1 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004429/0.06437, allocations: 2.675 MB / 436.8 MB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1931/0.2575, allocations: 35.37 MB / 472.1 MB, free: 67.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.2603, allocations: 1.44 MB / 473.6 MB, free: 67.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.2608, allocations: 450.4 kB / 474 MB, free: 67.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005155/0.266, allocations: 4.02 MB / 478 MB, free: 66.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.266, allocations: 48.61 kB / 478.1 MB, free: 66.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 2.915e-06/0.266, allocations: 3.25 kB / 478.1 MB, free: 66.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.009435/0.2754, allocations: 5.51 MB / 483.6 MB, free: 64.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2754, allocations: 64.81 kB / 483.7 MB, free: 64.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/0.2778, allocations: 2.757 MB / 486.4 MB, free: 64.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.2778, allocations: 47.98 kB / 486.5 MB, free: 64.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.2792, allocations: 3.225 MB / 489.7 MB, free: 61.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/0.2796, allocations: 0.7669 MB / 490.4 MB, free: 61.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009932/0.2806, allocations: 1.167 MB / 491.6 MB, free: 60.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.2807, allocations: 480.3 kB / 492.1 MB, free: 60.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008855/0.2815, allocations: 0.5126 MB / 492.6 MB, free: 59.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.2844, allocations: 5.093 MB / 497.7 MB, free: 53.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.2894, allocations: 6.15 MB / 0.492 GB, free: 47.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.594e-05/0.2895, allocations: 34.94 kB / 0.4921 GB, free: 47.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.006487/0.296, allocations: 4.134 MB / 0.4961 GB, free: 45.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.093e-05/0.296, allocations: 50.69 kB / 0.4962 GB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.2962, allocations: 108.2 kB / 0.4963 GB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/0.2965, allocations: 192.6 kB / 0.4964 GB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.2988, allocations: 1.145 MB / 0.4976 GB, free: 45.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.3, allocations: 1.987 MB / 0.4995 GB, free: 43.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.3021, allocations: 204.4 kB / 0.4997 GB, free: 43.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.3024, allocations: 274.5 kB / 0.5 GB, free: 43.57 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.001526/0.3039, allocations: 0.585 MB / 0.5005 GB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.3042, allocations: 308.3 kB / 0.5008 GB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.3056, allocations: 1.102 MB / 0.5019 GB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-05/0.3056, allocations: 18.16 kB / 0.5019 GB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3056, allocations: 2.469 kB / 0.5019 GB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.3056, allocations: 6.984 kB / 0.5019 GB, free: 42.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.3118, allocations: 4.955 MB / 0.5068 GB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.3118, allocations: 9.844 kB / 0.5068 GB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.3123, allocations: 224 kB / 0.507 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.3124, allocations: 52.23 kB / 0.507 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.3125, allocations: 42.22 kB / 0.5071 GB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005832/0.313, allocations: 1.788 MB / 0.5088 GB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3131, allocations: 11.72 kB / 0.5088 GB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.3145, allocations: 1.844 MB / 0.5106 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.3148, allocations: 244 kB / 0.5109 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.3149, allocations: 41.97 kB / 0.5109 GB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.3153, allocations: 39.3 kB / 0.5109 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3154, allocations: 112.9 kB / 0.511 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.3155, allocations: 51.86 kB / 0.5111 GB, free: 36.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007025/0.3162, allocations: 1.085 MB / 0.5122 GB, free: 36.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3162, allocations: 3.938 kB / 0.5122 GB, free: 36.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002174/0.3184, allocations: 0.9123 MB / 0.5131 GB, free: 36.38 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.0002829/0.3187, allocations: 189 kB / 0.5132 GB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002301/0.321, allocations: 2.434 MB / 0.5156 GB, free: 34.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.321, allocations: 0 / 0.5156 GB, free: 34.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005054/0.3215, allocations: 0.6696 MB / 0.5163 GB, free: 33.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008969/0.3224, allocations: 308.8 kB / 0.5166 GB, free: 33.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/0.3301, allocations: 7.729 MB / 0.5241 GB, free: 26.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.3314, allocations: 1.258 MB / 0.5253 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00103/0.3324, allocations: 430.1 kB / 0.5257 GB, free: 25.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006185/0.333, allocations: 497.3 kB / 0.5262 GB, free: 24.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.333, allocations: 0 / 0.5262 GB, free: 24.62 MB / 410.7 MB Notification: Performance of Templates: time 0.03484/0.3678, allocations: 23.17 MB / 0.5488 GB, free: 4.434 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.195531073957682]