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.001044/0.001044, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009477/0.0009477, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.08/1.08, allocations: 177 MB / 205.2 MB, free: 5.602 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.3077/0.3077, allocations: 34.87 MB / 296.6 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.522e-06/1.522e-06, allocations: 0 / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.069e-05, allocations: 2.312 kB / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009992/0.01001, allocations: 12.97 MB / 391.7 MB, free: 5.348 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.01631, allocations: 4.096 MB / 395.8 MB, free: 1.238 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.01733, allocations: 79.69 kB / 395.9 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.01949, allocations: 1.931 MB / 397.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.02226, allocations: 1.929 MB / 399.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008659/0.02313, allocations: 0.5963 MB / 400.4 MB, free: 12.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003063/0.02619, allocations: 4.284 MB / 404.6 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.02851, allocations: 2.614 MB / 407.3 MB, free: 5.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.03041, allocations: 2.112 MB / 409.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.03245, allocations: 2.163 MB / 411.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003902/0.03284, allocations: 296 kB / 411.8 MB, free: 1.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.0341, allocations: 0.9633 MB / 412.8 MB, free: 200 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.03538, allocations: 1.866 MB / 414.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009118/0.03629, allocations: 1.148 MB / 415.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.03959, allocations: 4.448 MB / 420.2 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.0396, allocations: 0 / 420.2 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0396, allocations: 0 / 420.2 MB, free: 8.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.34e-05/0.03965, allocations: 0 / 420.2 MB, free: 8.703 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.004893/0.04455, allocations: 5.004 MB / 425.2 MB, free: 3.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.04459, allocations: 8.031 kB / 425.3 MB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006777/0.05137, allocations: 3.707 MB / 429 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.05345, allocations: 1.934 MB / 430.9 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.05355, allocations: 217.8 kB / 431.1 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.05391, allocations: 288.1 kB / 431.4 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006464/0.06038, allocations: 5.684 MB / 437.1 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.268e-05/0.06045, allocations: 31.75 kB / 437.1 MB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.06074, allocations: 135.8 kB / 437.2 MB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.06332, allocations: 2.62 MB / 439.9 MB, free: 4.352 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006893/0.07021, allocations: 3.503 MB / 443.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2032/0.2734, allocations: 35.61 MB / 479 MB, free: 69.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00555/0.2789, allocations: 1.825 MB / 480.8 MB, free: 68.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.2802, allocations: 0.7072 MB / 481.5 MB, free: 68.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005514/0.2807, allocations: 414.8 kB / 481.9 MB, free: 68.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2808, allocations: 54.05 kB / 482 MB, free: 68.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 5.23e-06/0.2808, allocations: 0 / 482 MB, free: 68.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.02575/0.3065, allocations: 10.18 MB / 492.1 MB, free: 66.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3066, allocations: 77.28 kB / 492.2 MB, free: 66.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.3101, allocations: 2.522 MB / 494.7 MB, free: 65.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.3102, allocations: 57.23 kB / 494.8 MB, free: 65.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.3118, allocations: 3.017 MB / 497.8 MB, free: 62.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.3126, allocations: 0.9961 MB / 498.8 MB, free: 62.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/0.3139, allocations: 1.138 MB / 499.9 MB, free: 61.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.314, allocations: 476.8 kB / 0.4887 GB, free: 61.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.3154, allocations: 0.702 MB / 0.4894 GB, free: 60.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.3182, allocations: 4.995 MB / 0.4942 GB, free: 55.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/0.3226, allocations: 6.333 MB / 0.5004 GB, free: 48.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.259e-05/0.3227, allocations: 27.78 kB / 0.5005 GB, free: 48.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.007876/0.3306, allocations: 5.149 MB / 0.5055 GB, free: 46.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.3306, allocations: 47.75 kB / 0.5055 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.3308, allocations: 99.47 kB / 0.5056 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.3324, allocations: 0.6539 MB / 0.5063 GB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002354/0.3348, allocations: 1.226 MB / 0.5075 GB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.3377, allocations: 3.122 MB / 0.5105 GB, free: 42.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.3405, allocations: 327 kB / 0.5108 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/0.3409, allocations: 307.2 kB / 0.5111 GB, free: 42.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * 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 (657): * Single equations (assignments): 650 * 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.001611/0.3425, allocations: 0.5824 MB / 0.5117 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000543/0.3431, allocations: 338.2 kB / 0.512 GB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.347, allocations: 2.626 MB / 0.5146 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/0.3471, allocations: 46.77 kB / 0.5146 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.3471, allocations: 4 kB / 0.5146 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.3471, allocations: 13.97 kB / 0.5146 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.3573, allocations: 6.938 MB / 0.5214 GB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.3573, allocations: 8.875 kB / 0.5214 GB, free: 32.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009523/0.3583, allocations: 402.6 kB / 0.5218 GB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.3595, allocations: 0.5063 MB / 0.5223 GB, free: 32.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.3597, allocations: 55.27 kB / 0.5223 GB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.362, allocations: 2.563 MB / 0.5248 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/0.362, allocations: 18.19 kB / 0.5249 GB, free: 29.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004466/0.3664, allocations: 3.29 MB / 0.5281 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/0.3673, allocations: 258.2 kB / 0.5283 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/0.3675, allocations: 47.12 kB / 0.5284 GB, free: 26.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007811/0.3683, allocations: 179.7 kB / 0.5285 GB, free: 26.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.3686, allocations: 156.8 kB / 0.5287 GB, free: 26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.3687, allocations: 72 kB / 0.5288 GB, free: 25.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001317/0.37, allocations: 1.077 MB / 0.5298 GB, free: 24.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.37, allocations: 0 / 0.5298 GB, free: 24.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003892/0.3739, allocations: 1.031 MB / 0.5308 GB, free: 23.81 MB / 410.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.0004616/0.3743, allocations: 210 kB / 0.531 GB, free: 23.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004859/0.3792, allocations: 3.014 MB / 0.534 GB, free: 20.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.3792, allocations: 0 / 0.534 GB, free: 20.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.3805, allocations: 1.026 MB / 0.535 GB, free: 19.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.3818, allocations: 316.8 kB / 0.5353 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.3935, allocations: 8.266 MB / 0.5433 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.3946, allocations: 1.264 MB / 0.5446 GB, free: 9.445 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002225/0.3968, allocations: 1.619 MB / 0.5462 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005088/0.3973, allocations: 208.5 kB / 0.5464 GB, free: 7.613 MB / 410.7 MB Notification: Performance of SimCode: time 2.154e-06/0.3973, allocations: 0 / 0.5464 GB, free: 7.613 MB / 410.7 MB Notification: Performance of Templates: time 0.04051/0.4378, allocations: 27.79 MB / 0.5735 GB, free: 12.21 MB / 442.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.431117967003956]