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.001311/0.001311, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001701/0.001701, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.9855/0.9855, allocations: 177 MB / 205.2 MB, free: 5.051 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.2803/0.2803, allocations: 34.87 MB / 296.6 MB, free: 480 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.512e-06/1.512e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.972e-05, allocations: 5.406 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009432/0.009451, allocations: 12.73 MB / 338.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006675/0.01613, allocations: 4.232 MB / 342.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.01727, allocations: 79.69 kB / 343 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.01929, allocations: 1.915 MB / 344.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.02222, allocations: 1.913 MB / 346.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.02349, allocations: 0.5963 MB / 347.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004893/0.02838, allocations: 4.269 MB / 351.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.03163, allocations: 2.575 MB / 354.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.03412, allocations: 2.144 MB / 356.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.03636, allocations: 2.003 MB / 358.4 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005002/0.03686, allocations: 292 kB / 358.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.03812, allocations: 0.975 MB / 359.7 MB, free: 5.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.03942, allocations: 1.854 MB / 361.5 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.0405, allocations: 1.141 MB / 362.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003888/0.04439, allocations: 4.409 MB / 367.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.04439, allocations: 0 / 367.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.0444, allocations: 0 / 367.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001515/0.04455, allocations: 0 / 367.1 MB, free: 13.81 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.004454/0.049, allocations: 4.221 MB / 371.3 MB, free: 9.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.04903, allocations: 12.03 kB / 371.3 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/0.05269, allocations: 1.444 MB / 372.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.05445, allocations: 1.569 MB / 374.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.05455, allocations: 217.8 kB / 374.5 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.05489, allocations: 280.2 kB / 374.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005195/0.06008, allocations: 4.786 MB / 379.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/0.06015, allocations: 27.81 kB / 379.6 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.06038, allocations: 131.8 kB / 379.8 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001846/0.06223, allocations: 2.242 MB / 382 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005453/0.06768, allocations: 2.712 MB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.09246, allocations: 26.84 MB / 411.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.09573, allocations: 1.479 MB / 413 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.09627, allocations: 366.7 kB / 413.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005625/0.1019, allocations: 3.803 MB / 417.2 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.1019, allocations: 51.81 kB / 417.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=180): time 4.278e-06/0.1019, allocations: 0 / 417.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=187): time 0.009771/0.1117, allocations: 4.97 MB / 422.2 MB, free: 5.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1117, allocations: 72.64 kB / 422.3 MB, free: 4.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.1135, allocations: 2.471 MB / 424.8 MB, free: 2.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/0.1135, allocations: 45.7 kB / 424.8 MB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.1149, allocations: 2.959 MB / 427.8 MB, free: 15.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/0.1154, allocations: 0.7246 MB / 428.5 MB, free: 14.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007773/0.1161, allocations: 0.9818 MB / 429.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.1162, allocations: 305.1 kB / 429.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009788/0.1172, allocations: 0.67 MB / 430.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.1196, allocations: 3.616 MB / 434.1 MB, free: 7.594 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.1231, allocations: 4.714 MB / 438.8 MB, free: 1.359 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.896e-05/0.1231, allocations: 28 kB / 438.8 MB, free: 1.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.003875/0.127, allocations: 3.487 MB / 442.3 MB, free: 13.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.1271, allocations: 55.83 kB / 442.3 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.798e-05/0.1271, allocations: 108 kB / 442.4 MB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.1274, allocations: 187.7 kB / 442.6 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.1294, allocations: 1.194 MB / 443.8 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.1306, allocations: 1.451 MB / 445.3 MB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.1323, allocations: 207.9 kB / 445.5 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.1325, allocations: 268 kB / 445.7 MB, free: 10.28 MB / 426.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.001157/0.1337, allocations: 0.5448 MB / 446.3 MB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.1339, allocations: 175.8 kB / 446.5 MB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.135, allocations: 0.9164 MB / 447.4 MB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.135, allocations: 20 kB / 447.4 MB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.135, allocations: 7.938 kB / 447.4 MB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.1351, allocations: 7.969 kB / 447.4 MB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/0.14, allocations: 4.064 MB / 451.5 MB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.14, allocations: 12.22 kB / 451.5 MB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.1409, allocations: 239.6 kB / 451.7 MB, free: 4.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.141, allocations: 55.64 kB / 451.8 MB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.1411, allocations: 32 kB / 451.8 MB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008237/0.1419, allocations: 1.389 MB / 453.2 MB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.1419, allocations: 15.94 kB / 453.2 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.1434, allocations: 1.463 MB / 454.7 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.1437, allocations: 246.2 kB / 454.9 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.1439, allocations: 35.98 kB / 454.9 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.1443, allocations: 28 kB / 455 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.1445, allocations: 120.6 kB / 455.1 MB, free: 488 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.1445, allocations: 47.98 kB / 455.1 MB, free: 440 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.1588/0.3033, allocations: 0.8606 MB / 456 MB, free: 120.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3033, allocations: 0 / 456 MB, free: 120.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00343/0.3068, allocations: 0.9132 MB / 456.9 MB, free: 120.5 MB / 426.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.0003534/0.3071, allocations: 171.6 kB / 457.1 MB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.3096, allocations: 2.193 MB / 459.3 MB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001233/0.3098, allocations: 61.62 kB / 459.3 MB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.3103, allocations: 0.5376 MB / 459.9 MB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.312, allocations: 0.5956 MB / 460.5 MB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008534/0.3205, allocations: 7.553 MB / 468 MB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.3216, allocations: 1.24 MB / 469.3 MB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.3226, allocations: 428.9 kB / 469.7 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/0.3233, allocations: 468.1 kB / 470.1 MB, free: 116.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.294e-06/0.3233, allocations: 4 kB / 470.1 MB, free: 116.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03366/0.3569, allocations: 23.11 MB / 493.2 MB, free: 97.11 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 -s gbode -gbm=radauIIA3 -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: 3.9191859918646514]