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.0009567/0.0009567, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001065/0.001065, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.582 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.2774/0.2774, allocations: 34.86 MB / 296.3 MB, free: 476 kB / 266.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 1.422e-06/1.422e-06, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.801e-05, allocations: 2.875 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01089/0.01092, allocations: 13.01 MB / 391.8 MB, free: 4.965 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007426/0.01834, allocations: 4.112 MB / 395.9 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.01942, allocations: 79.69 kB / 396 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.02158, allocations: 1.946 MB / 397.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.02426, allocations: 1.929 MB / 399.8 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.02515, allocations: 0.5963 MB / 400.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003704/0.02886, allocations: 4.27 MB / 404.7 MB, free: 7.996 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.03165, allocations: 2.626 MB / 407.3 MB, free: 5.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.03423, allocations: 2.175 MB / 409.5 MB, free: 3.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.03661, allocations: 2.108 MB / 411.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005983/0.03721, allocations: 288 kB / 411.9 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.03847, allocations: 0.9516 MB / 412.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.03953, allocations: 1.858 MB / 414.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.04078, allocations: 1.137 MB / 415.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00413/0.04491, allocations: 4.409 MB / 420.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.04492, allocations: 0 / 420.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.04492, allocations: 0 / 420.3 MB, free: 8.363 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002027/0.04512, allocations: 4 kB / 420.3 MB, free: 8.359 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.0058/0.05092, allocations: 4.993 MB / 425.3 MB, free: 3.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.05097, allocations: 8.031 kB / 425.3 MB, free: 3.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006002/0.05697, allocations: 3.695 MB / 429 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.0591, allocations: 1.948 MB / 430.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003917/0.05949, allocations: 217.8 kB / 431.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.05984, allocations: 284.2 kB / 431.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006379/0.06622, allocations: 5.676 MB / 437.1 MB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.273e-05/0.06629, allocations: 31.77 kB / 437.1 MB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.06655, allocations: 135.8 kB / 437.2 MB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002581/0.06913, allocations: 2.562 MB / 439.8 MB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00591/0.07504, allocations: 3.392 MB / 443.2 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2027/0.2777, allocations: 36.24 MB / 479.4 MB, free: 63.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.282, allocations: 1.607 MB / 481 MB, free: 63.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008806/0.2829, allocations: 0.5264 MB / 481.6 MB, free: 63.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007094/0.2899, allocations: 4.329 MB / 485.9 MB, free: 61.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.29, allocations: 45.95 kB / 485.9 MB, free: 61.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 4.178e-06/0.29, allocations: 3.125 kB / 485.9 MB, free: 61.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=187): time 0.01427/0.3042, allocations: 6.48 MB / 492.4 MB, free: 59.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3043, allocations: 70.34 kB / 492.5 MB, free: 59.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004313/0.3086, allocations: 2.754 MB / 495.2 MB, free: 58.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002587/0.3089, allocations: 49.31 kB / 495.3 MB, free: 58.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/0.3109, allocations: 3.206 MB / 498.5 MB, free: 56.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009308/0.3119, allocations: 0.7576 MB / 499.3 MB, free: 55.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.3134, allocations: 1.141 MB / 0.4887 GB, free: 55.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.3135, allocations: 477.9 kB / 0.4891 GB, free: 54.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.3148, allocations: 0.5849 MB / 0.4897 GB, free: 54.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/0.3177, allocations: 5.124 MB / 0.4947 GB, free: 48.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/0.3228, allocations: 6.318 MB / 0.5009 GB, free: 41.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/0.3229, allocations: 31.28 kB / 0.5009 GB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.006414/0.3293, allocations: 4.477 MB / 0.5053 GB, free: 39.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.3294, allocations: 53.28 kB / 0.5053 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001353/0.3295, allocations: 107 kB / 0.5054 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.3299, allocations: 187.4 kB / 0.5056 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.3319, allocations: 1.213 MB / 0.5068 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.333, allocations: 2.016 MB / 0.5088 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.3361, allocations: 318.2 kB / 0.5091 GB, free: 37.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004448/0.3365, allocations: 324.8 kB / 0.5094 GB, free: 37.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.001955/0.3385, allocations: 0.5807 MB / 0.5099 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/0.3389, allocations: 315 kB / 0.5102 GB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.3406, allocations: 1.203 MB / 0.5114 GB, free: 36.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.3406, allocations: 24.69 kB / 0.5114 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3406, allocations: 0.9375 kB / 0.5114 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3406, allocations: 10.22 kB / 0.5114 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007923/0.3485, allocations: 5.146 MB / 0.5165 GB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.3485, allocations: 8.969 kB / 0.5165 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/0.3492, allocations: 293.9 kB / 0.5168 GB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.3494, allocations: 56.25 kB / 0.5168 GB, free: 31.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/0.3495, allocations: 41.72 kB / 0.5169 GB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007559/0.3502, allocations: 1.821 MB / 0.5186 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3502, allocations: 8.609 kB / 0.5186 GB, free: 29.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.3527, allocations: 2 MB / 0.5206 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/0.3533, allocations: 249.2 kB / 0.5208 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.3535, allocations: 34.06 kB / 0.5209 GB, free: 27.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.3541, allocations: 130 kB / 0.521 GB, free: 27.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.3543, allocations: 128.6 kB / 0.5211 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.3544, allocations: 62.02 kB / 0.5212 GB, free: 27.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001767/0.3562, allocations: 1.159 MB / 0.5223 GB, free: 26.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3562, allocations: 0 / 0.5223 GB, free: 26.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003647/0.3598, allocations: 0.9192 MB / 0.5232 GB, free: 25.44 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.0004749/0.3603, allocations: 180.1 kB / 0.5234 GB, free: 25.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.3645, allocations: 2.611 MB / 0.5259 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.3645, allocations: 0 / 0.5259 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007385/0.3652, allocations: 0.7155 MB / 0.5266 GB, free: 22.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.3666, allocations: 295.9 kB / 0.5269 GB, free: 22.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.3781, allocations: 7.784 MB / 0.5345 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.3793, allocations: 1.258 MB / 0.5357 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002258/0.3816, allocations: 1.523 MB / 0.5372 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.382, allocations: 216.2 kB / 0.5374 GB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 2.575e-06/0.382, allocations: 0 / 0.5374 GB, free: 12.66 MB / 410.7 MB Notification: Performance of Templates: time 0.03583/0.4179, allocations: 21.53 MB / 0.5584 GB, free: 8.43 MB / 426.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.170384781900793]